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

Side by Side Diff: ui/gfx/native_widget_types.h

Issue 23486010: Adds a gfx_export.h to ui/gfx and converts all code in ui/gfx to (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix find and replace error. Created 7 years, 3 months 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 | « ui/gfx/insets_f.h ('k') | ui/gfx/pango_util.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_GFX_NATIVE_WIDGET_TYPES_H_ 5 #ifndef UI_GFX_NATIVE_WIDGET_TYPES_H_
6 #define UI_GFX_NATIVE_WIDGET_TYPES_H_ 6 #define UI_GFX_NATIVE_WIDGET_TYPES_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 9
10 #if defined(OS_ANDROID) 10 #if defined(OS_ANDROID)
11 #include <jni.h> 11 #include <jni.h>
12 #endif 12 #endif
13 13
14 #include "base/basictypes.h" 14 #include "base/basictypes.h"
15 #include "base/logging.h" 15 #include "base/logging.h"
16 #include "ui/base/ui_export.h" 16 #include "ui/gfx/gfx_export.h"
17 17
18 // This file provides cross platform typedefs for native widget types. 18 // This file provides cross platform typedefs for native widget types.
19 // NativeWindow: this is a handle to a native, top-level window 19 // NativeWindow: this is a handle to a native, top-level window
20 // NativeView: this is a handle to a native UI element. It may be the 20 // NativeView: this is a handle to a native UI element. It may be the
21 // same type as a NativeWindow on some platforms. 21 // same type as a NativeWindow on some platforms.
22 // NativeViewId: Often, in our cross process model, we need to pass around a 22 // NativeViewId: Often, in our cross process model, we need to pass around a
23 // reference to a "window". This reference will, say, be echoed back from a 23 // reference to a "window". This reference will, say, be echoed back from a
24 // renderer to the browser when it wishes to query its size. On Windows we 24 // renderer to the browser when it wishes to query its size. On Windows we
25 // use an HWND for this. 25 // use an HWND for this.
26 // 26 //
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 #elif defined(USE_OZONE) 321 #elif defined(USE_OZONE)
322 typedef intptr_t AcceleratedWidget; 322 typedef intptr_t AcceleratedWidget;
323 const AcceleratedWidget kNullAcceleratedWidget = 0; 323 const AcceleratedWidget kNullAcceleratedWidget = 0;
324 #else 324 #else
325 #error unknown platform 325 #error unknown platform
326 #endif 326 #endif
327 327
328 } // namespace gfx 328 } // namespace gfx
329 329
330 #endif // UI_GFX_NATIVE_WIDGET_TYPES_H_ 330 #endif // UI_GFX_NATIVE_WIDGET_TYPES_H_
OLDNEW
« no previous file with comments | « ui/gfx/insets_f.h ('k') | ui/gfx/pango_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698