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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/gpu_messages_internal.h ('k') | chrome/common/gpu_param_traits.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/gpu_native_window_handle.h
===================================================================
--- chrome/common/gpu_native_window_handle.h (revision 65168)
+++ chrome/common/gpu_native_window_handle.h (working copy)
@@ -1,42 +0,0 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_COMMON_GPU_NATIVE_WINDOW_HANDLE_H_
-#define CHROME_COMMON_GPU_NATIVE_WINDOW_HANDLE_H_
-#pragma once
-
-#include "build/build_config.h"
-
-// This file defines the window handle type used by the GPU process IPC layer.
-// This is different than gfx::NativeWindow[Id] since on X, this is an XID.
-// Normally, Chrome deals with either GTK window pointers, or magic window
-// IDs that the app generates. The GPU process needs to know the real XID.
-
-#if defined(OS_WIN)
-
-#include <windows.h>
-
-typedef HWND GpuNativeWindowHandle;
-
-#elif defined(OS_MACOSX)
-
-// The GPU process isn't supported on Mac yet. Defining this arbitrarily allows
-// us to not worry about the integration points not compiling.
-typedef int GpuNativeWindowHandle;
-
-#elif defined(USE_X11)
-
-// Forward declar XID ourselves to avoid pulling in all of the X headers, which
-// can cause compile problems for some parts of the project.
-typedef unsigned long XID;
-
-typedef XID GpuNativeWindowHandle;
-
-#else
-
-#error define GpuNativeWindowHandle
-
-#endif
-
-#endif // CHROME_COMMON_GPU_NATIVE_WINDOW_HANDLE_H_
« 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