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

Side by Side Diff: ui/views/widget/native_widget_private.h

Issue 11367041: Adds View::GetNativeTheme() to get the NativeTheme. The interesting (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix include Created 8 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 | « ui/views/widget/native_widget_aura.cc ('k') | ui/views/widget/native_widget_win.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_VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_ 5 #ifndef UI_VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_
6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_ 6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_
7 7
8 #include "base/string16.h" 8 #include "base/string16.h"
9 #include "ui/base/ui_base_types.h" 9 #include "ui/base/ui_base_types.h"
10 #include "ui/gfx/native_widget_types.h" 10 #include "ui/gfx/native_widget_types.h"
11 #include "ui/views/ime/input_method_delegate.h" 11 #include "ui/views/ime/input_method_delegate.h"
12 #include "ui/views/widget/native_widget.h" 12 #include "ui/views/widget/native_widget.h"
13 13
14 namespace gfx { 14 namespace gfx {
15 class ImageSkia; 15 class ImageSkia;
16 class Rect; 16 class Rect;
17 } 17 }
18 18
19 namespace ui { 19 namespace ui {
20 class NativeTheme;
20 class OSExchangeData; 21 class OSExchangeData;
21 } 22 }
22 23
23 namespace views { 24 namespace views {
24 class InputMethod; 25 class InputMethod;
25 class TooltipManager; 26 class TooltipManager;
26 namespace internal { 27 namespace internal {
27 28
28 //////////////////////////////////////////////////////////////////////////////// 29 ////////////////////////////////////////////////////////////////////////////////
29 // NativeWidgetPrivate interface 30 // NativeWidgetPrivate interface
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 int operation) = 0; 208 int operation) = 0;
208 virtual void SchedulePaintInRect(const gfx::Rect& rect) = 0; 209 virtual void SchedulePaintInRect(const gfx::Rect& rect) = 0;
209 virtual void SetCursor(gfx::NativeCursor cursor) = 0; 210 virtual void SetCursor(gfx::NativeCursor cursor) = 0;
210 virtual void ClearNativeFocus() = 0; 211 virtual void ClearNativeFocus() = 0;
211 virtual gfx::Rect GetWorkAreaBoundsInScreen() const = 0; 212 virtual gfx::Rect GetWorkAreaBoundsInScreen() const = 0;
212 virtual void SetInactiveRenderingDisabled(bool value) = 0; 213 virtual void SetInactiveRenderingDisabled(bool value) = 0;
213 virtual Widget::MoveLoopResult RunMoveLoop( 214 virtual Widget::MoveLoopResult RunMoveLoop(
214 const gfx::Vector2d& drag_offset) = 0; 215 const gfx::Vector2d& drag_offset) = 0;
215 virtual void EndMoveLoop() = 0; 216 virtual void EndMoveLoop() = 0;
216 virtual void SetVisibilityChangedAnimationsEnabled(bool value) = 0; 217 virtual void SetVisibilityChangedAnimationsEnabled(bool value) = 0;
218 virtual ui::NativeTheme* GetNativeTheme() = 0;
217 219
218 // Overridden from NativeWidget: 220 // Overridden from NativeWidget:
219 virtual internal::NativeWidgetPrivate* AsNativeWidgetPrivate() OVERRIDE; 221 virtual internal::NativeWidgetPrivate* AsNativeWidgetPrivate() OVERRIDE;
220 }; 222 };
221 223
222 } // namespace internal 224 } // namespace internal
223 } // namespace views 225 } // namespace views
224 226
225 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_ 227 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_
OLDNEW
« no previous file with comments | « ui/views/widget/native_widget_aura.cc ('k') | ui/views/widget/native_widget_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698