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

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

Issue 2484863005: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Fix another conflict Created 4 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
« no previous file with comments | « ui/gfx/blit.h ('k') | ui/gfx/platform_font_linux.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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 21 matching lines...) Expand all
32 // NativeViewIds from the renderer and NativeViews. 32 // NativeViewIds from the renderer and NativeViews.
33 // 33 //
34 // NativeImage: The platform-specific image type used for drawing UI elements 34 // NativeImage: The platform-specific image type used for drawing UI elements
35 // in the browser. 35 // in the browser.
36 // 36 //
37 // The name 'View' here meshes with OS X where the UI elements are called 37 // The name 'View' here meshes with OS X where the UI elements are called
38 // 'views' and with our Chrome UI code where the elements are also called 38 // 'views' and with our Chrome UI code where the elements are also called
39 // 'views'. 39 // 'views'.
40 40
41 #if defined(USE_AURA) 41 #if defined(USE_AURA)
42 class SkRegion;
43 namespace aura { 42 namespace aura {
44 class Window; 43 class Window;
45 } 44 }
46 namespace ui { 45 namespace ui {
47 class Cursor; 46 class Cursor;
48 class Event; 47 class Event;
49 } 48 }
50 #endif // defined(USE_AURA) 49 #endif // defined(USE_AURA)
51 50
52 #if defined(OS_WIN) 51 #if defined(OS_WIN)
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 #elif defined(USE_OZONE) 202 #elif defined(USE_OZONE)
204 typedef int32_t AcceleratedWidget; 203 typedef int32_t AcceleratedWidget;
205 constexpr AcceleratedWidget kNullAcceleratedWidget = 0; 204 constexpr AcceleratedWidget kNullAcceleratedWidget = 0;
206 #else 205 #else
207 #error unknown platform 206 #error unknown platform
208 #endif 207 #endif
209 208
210 } // namespace gfx 209 } // namespace gfx
211 210
212 #endif // UI_GFX_NATIVE_WIDGET_TYPES_H_ 211 #endif // UI_GFX_NATIVE_WIDGET_TYPES_H_
OLDNEW
« no previous file with comments | « ui/gfx/blit.h ('k') | ui/gfx/platform_font_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698