diff options
author | rjkroege@chromium.org <rjkroege@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-24 06:55:56 +0000 |
---|---|---|
committer | rjkroege@chromium.org <rjkroege@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-24 06:55:56 +0000 |
commit | efcf2059d2fc17cd03bb821bcde2491ce5e330e6 (patch) | |
tree | 8dd00028a7be0b4ab603037c2d826a775b1a91fe /ui/gfx | |
parent | 4fea867474c9c8420ece786a381b662458bd010a (diff) | |
download | chromium_src-efcf2059d2fc17cd03bb821bcde2491ce5e330e6.zip chromium_src-efcf2059d2fc17cd03bb821bcde2491ce5e330e6.tar.gz chromium_src-efcf2059d2fc17cd03bb821bcde2491ce5e330e6.tar.bz2 |
Add a factory and defines for native Linux surfaces.
This CL is a first step towards supporting a build of the Aura
content shell on the native Linux framebuffer device. It sets up
the necessary defines such that an injected surface provider
dependency can vend a native surface.
BUG=178543
Review URL: https://chromiumcodereview.appspot.com/13886018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201996 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gfx')
-rw-r--r-- | ui/gfx/native_widget_types.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ui/gfx/native_widget_types.h b/ui/gfx/native_widget_types.h index 720e347..eb6dcb4 100644 --- a/ui/gfx/native_widget_types.h +++ b/ui/gfx/native_widget_types.h @@ -250,6 +250,9 @@ static inline NativeView NativeViewFromIdInBrowser(NativeViewId id) { #elif defined(OS_ANDROID) typedef uint64 PluginWindowHandle; const PluginWindowHandle kNullPluginWindow = 0; +#elif defined(USE_OZONE) + typedef intptr_t PluginWindowHandle; + const PluginWindowHandle kNullPluginWindow = 0; #else // On OS X we don't have windowed plugins. // We use a NULL/0 PluginWindowHandle in shared code to indicate there @@ -315,6 +318,9 @@ const AcceleratedWidget kNullAcceleratedWidget = 0; #elif defined(OS_ANDROID) typedef ANativeWindow* AcceleratedWidget; const AcceleratedWidget kNullAcceleratedWidget = 0; +#elif defined(USE_OZONE) +typedef intptr_t AcceleratedWidget; +const AcceleratedWidget kNullAcceleratedWidget = 0; #else #error unknown platform #endif |