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

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

Issue 23533057: Makes native_widget_types forward declare ui::Cursor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: git cl change 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/base/cursor/cursor_loader_win.cc ('k') | ui/keyboard/keyboard_controller.cc » ('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)
(...skipping 25 matching lines...) Expand all
36 // specific typedef. 36 // specific typedef.
37 // 37 //
38 // NativeImage: The platform-specific image type used for drawing UI elements 38 // NativeImage: The platform-specific image type used for drawing UI elements
39 // in the browser. 39 // in the browser.
40 // 40 //
41 // The name 'View' here meshes with OS X where the UI elements are called 41 // The name 'View' here meshes with OS X where the UI elements are called
42 // 'views' and with our Chrome UI code where the elements are also called 42 // 'views' and with our Chrome UI code where the elements are also called
43 // 'views'. 43 // 'views'.
44 44
45 #if defined(USE_AURA) 45 #if defined(USE_AURA)
46 #include "ui/base/cursor/cursor.h"
47
48 class SkRegion; 46 class SkRegion;
49 namespace aura { 47 namespace aura {
50 class Window; 48 class Window;
51 } 49 }
52 namespace ui { 50 namespace ui {
51 class Cursor;
53 class Event; 52 class Event;
54 } 53 }
55 #endif // defined(USE_AURA) 54 #endif // defined(USE_AURA)
56 55
57 #if defined(OS_WIN) 56 #if defined(OS_WIN)
58 #include <windows.h> // NOLINT 57 #include <windows.h> // NOLINT
59 typedef struct HFONT__* HFONT; 58 typedef struct HFONT__* HFONT;
60 struct IAccessible; 59 struct IAccessible;
61 #elif defined(OS_IOS) 60 #elif defined(OS_IOS)
62 struct CGContext; 61 struct CGContext;
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 #elif defined(USE_OZONE) 320 #elif defined(USE_OZONE)
322 typedef intptr_t AcceleratedWidget; 321 typedef intptr_t AcceleratedWidget;
323 const AcceleratedWidget kNullAcceleratedWidget = 0; 322 const AcceleratedWidget kNullAcceleratedWidget = 0;
324 #else 323 #else
325 #error unknown platform 324 #error unknown platform
326 #endif 325 #endif
327 326
328 } // namespace gfx 327 } // namespace gfx
329 328
330 #endif // UI_GFX_NATIVE_WIDGET_TYPES_H_ 329 #endif // UI_GFX_NATIVE_WIDGET_TYPES_H_
OLDNEW
« no previous file with comments | « ui/base/cursor/cursor_loader_win.cc ('k') | ui/keyboard/keyboard_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698