diff options
author | Konstantin Tokarev <annulen@yandex.ru> | 2016-08-25 19:20:41 +0300 |
---|---|---|
committer | Konstantin Tokarev <annulen@yandex.ru> | 2017-02-02 12:30:55 +0000 |
commit | 6882a04fb36642862b11efe514251d32070c3d65 (patch) | |
tree | b7959826000b061fd5ccc7512035c7478742f7b0 /Source/WebKit2/Shared/LayerTreeContext.h | |
parent | ab6df191029eeeb0b0f16f127d553265659f739e (diff) |
Imported QtWebKit TP3 (git b57bc6801f1876c3220d5a4bfea33d620d477443)
Change-Id: I3b1d8a2808782c9f34d50240000e20cb38d3680f
Reviewed-by: Konstantin Tokarev <annulen@yandex.ru>
Diffstat (limited to 'Source/WebKit2/Shared/LayerTreeContext.h')
-rw-r--r-- | Source/WebKit2/Shared/LayerTreeContext.h | 28 |
1 files changed, 12 insertions, 16 deletions
diff --git a/Source/WebKit2/Shared/LayerTreeContext.h b/Source/WebKit2/Shared/LayerTreeContext.h index 9b8c66315..f39af10e8 100644 --- a/Source/WebKit2/Shared/LayerTreeContext.h +++ b/Source/WebKit2/Shared/LayerTreeContext.h @@ -28,17 +28,17 @@ #include <stdint.h> -namespace CoreIPC { - class ArgumentDecoder; - class ArgumentEncoder; +namespace IPC { +class ArgumentDecoder; +class ArgumentEncoder; } namespace WebKit { -enum LayerHostingMode { - LayerHostingModeDefault, -#if HAVE(LAYER_HOSTING_IN_WINDOW_SERVER) - LayerHostingModeInWindowServer +enum class LayerHostingMode { + InProcess, +#if HAVE(OUT_OF_PROCESS_LAYER_HOSTING) + OutOfProcess #endif }; @@ -47,19 +47,15 @@ public: LayerTreeContext(); ~LayerTreeContext(); - void encode(CoreIPC::ArgumentEncoder&) const; - static bool decode(CoreIPC::ArgumentDecoder&, LayerTreeContext&); + void encode(IPC::ArgumentEncoder&) const; + static bool decode(IPC::ArgumentDecoder&, LayerTreeContext&); bool isEmpty() const; -#if PLATFORM(MAC) - uint32_t contextID; -#elif PLATFORM(QT) - uint32_t coordinatedLayerID; -#elif PLATFORM(GTK) - uint64_t windowHandle; -#elif PLATFORM(EFL) +#if PLATFORM(QT) uint32_t coordinatedLayerID; +#else + uint64_t contextID; #endif }; |