Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Side by Side Diff: chrome/common/gpu_native_window_handle.h

Issue 4399003: Deleted code associated with --enable-gpu-rendering and... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/gpu_messages_internal.h ('k') | chrome/common/gpu_param_traits.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_COMMON_GPU_NATIVE_WINDOW_HANDLE_H_
6 #define CHROME_COMMON_GPU_NATIVE_WINDOW_HANDLE_H_
7 #pragma once
8
9 #include "build/build_config.h"
10
11 // This file defines the window handle type used by the GPU process IPC layer.
12 // This is different than gfx::NativeWindow[Id] since on X, this is an XID.
13 // Normally, Chrome deals with either GTK window pointers, or magic window
14 // IDs that the app generates. The GPU process needs to know the real XID.
15
16 #if defined(OS_WIN)
17
18 #include <windows.h>
19
20 typedef HWND GpuNativeWindowHandle;
21
22 #elif defined(OS_MACOSX)
23
24 // The GPU process isn't supported on Mac yet. Defining this arbitrarily allows
25 // us to not worry about the integration points not compiling.
26 typedef int GpuNativeWindowHandle;
27
28 #elif defined(USE_X11)
29
30 // Forward declar XID ourselves to avoid pulling in all of the X headers, which
31 // can cause compile problems for some parts of the project.
32 typedef unsigned long XID;
33
34 typedef XID GpuNativeWindowHandle;
35
36 #else
37
38 #error define GpuNativeWindowHandle
39
40 #endif
41
42 #endif // CHROME_COMMON_GPU_NATIVE_WINDOW_HANDLE_H_
OLDNEW
« no previous file with comments | « chrome/common/gpu_messages_internal.h ('k') | chrome/common/gpu_param_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698