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

Side by Side Diff: ui/views/widget/native_widget_win.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_private.h ('k') | ui/views/widget/native_widget_win.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_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ 5 #ifndef UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_
6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ 6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 int operation) OVERRIDE; 160 int operation) OVERRIDE;
161 virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE; 161 virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE;
162 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE; 162 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE;
163 virtual void ClearNativeFocus() OVERRIDE; 163 virtual void ClearNativeFocus() OVERRIDE;
164 virtual gfx::Rect GetWorkAreaBoundsInScreen() const OVERRIDE; 164 virtual gfx::Rect GetWorkAreaBoundsInScreen() const OVERRIDE;
165 virtual void SetInactiveRenderingDisabled(bool value) OVERRIDE; 165 virtual void SetInactiveRenderingDisabled(bool value) OVERRIDE;
166 virtual Widget::MoveLoopResult RunMoveLoop( 166 virtual Widget::MoveLoopResult RunMoveLoop(
167 const gfx::Vector2d& drag_offset) OVERRIDE; 167 const gfx::Vector2d& drag_offset) OVERRIDE;
168 virtual void EndMoveLoop() OVERRIDE; 168 virtual void EndMoveLoop() OVERRIDE;
169 virtual void SetVisibilityChangedAnimationsEnabled(bool value) OVERRIDE; 169 virtual void SetVisibilityChangedAnimationsEnabled(bool value) OVERRIDE;
170 virtual ui::NativeTheme* GetNativeTheme() OVERRIDE;
170 171
171 protected: 172 protected:
172 // Deletes this window as it is destroyed, override to provide different 173 // Deletes this window as it is destroyed, override to provide different
173 // behavior. 174 // behavior.
174 virtual void OnFinalMessage(HWND window); 175 virtual void OnFinalMessage(HWND window);
175 176
176 // Called when a MSAA screen reader client is detected. 177 // Called when a MSAA screen reader client is detected.
177 virtual void OnScreenReaderDetected(); 178 virtual void OnScreenReaderDetected();
178 179
179 HWNDMessageHandler* GetMessageHandler(); 180 HWNDMessageHandler* GetMessageHandler();
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 bool has_non_client_view_; 302 bool has_non_client_view_;
302 303
303 scoped_ptr<HWNDMessageHandler> message_handler_; 304 scoped_ptr<HWNDMessageHandler> message_handler_;
304 305
305 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin); 306 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin);
306 }; 307 };
307 308
308 } // namespace views 309 } // namespace views
309 310
310 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ 311 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_
OLDNEW
« no previous file with comments | « ui/views/widget/native_widget_private.h ('k') | ui/views/widget/native_widget_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698