OLD | NEW |
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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 virtual TooltipManager* GetTooltipManager() const OVERRIDE; | 87 virtual TooltipManager* GetTooltipManager() const OVERRIDE; |
88 virtual void SetCapture() OVERRIDE; | 88 virtual void SetCapture() OVERRIDE; |
89 virtual void ReleaseCapture() OVERRIDE; | 89 virtual void ReleaseCapture() OVERRIDE; |
90 virtual bool HasCapture() const OVERRIDE; | 90 virtual bool HasCapture() const OVERRIDE; |
91 virtual InputMethod* CreateInputMethod() OVERRIDE; | 91 virtual InputMethod* CreateInputMethod() OVERRIDE; |
92 virtual internal::InputMethodDelegate* GetInputMethodDelegate() OVERRIDE; | 92 virtual internal::InputMethodDelegate* GetInputMethodDelegate() OVERRIDE; |
93 virtual void CenterWindow(const gfx::Size& size) OVERRIDE; | 93 virtual void CenterWindow(const gfx::Size& size) OVERRIDE; |
94 virtual void GetWindowPlacement( | 94 virtual void GetWindowPlacement( |
95 gfx::Rect* bounds, | 95 gfx::Rect* bounds, |
96 ui::WindowShowState* show_state) const OVERRIDE; | 96 ui::WindowShowState* show_state) const OVERRIDE; |
97 virtual bool SetWindowTitle(const string16& title) OVERRIDE; | 97 virtual bool SetWindowTitle(const base::string16& title) OVERRIDE; |
98 virtual void SetWindowIcons(const gfx::ImageSkia& window_icon, | 98 virtual void SetWindowIcons(const gfx::ImageSkia& window_icon, |
99 const gfx::ImageSkia& app_icon) OVERRIDE; | 99 const gfx::ImageSkia& app_icon) OVERRIDE; |
100 virtual void InitModalType(ui::ModalType modal_type) OVERRIDE; | 100 virtual void InitModalType(ui::ModalType modal_type) OVERRIDE; |
101 virtual gfx::Rect GetWindowBoundsInScreen() const OVERRIDE; | 101 virtual gfx::Rect GetWindowBoundsInScreen() const OVERRIDE; |
102 virtual gfx::Rect GetClientAreaBoundsInScreen() const OVERRIDE; | 102 virtual gfx::Rect GetClientAreaBoundsInScreen() const OVERRIDE; |
103 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; | 103 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; |
104 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; | 104 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; |
105 virtual void SetSize(const gfx::Size& size) OVERRIDE; | 105 virtual void SetSize(const gfx::Size& size) OVERRIDE; |
106 virtual void StackAbove(gfx::NativeView native_view) OVERRIDE; | 106 virtual void StackAbove(gfx::NativeView native_view) OVERRIDE; |
107 virtual void StackAtTop() OVERRIDE; | 107 virtual void StackAtTop() OVERRIDE; |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
268 bool has_non_client_view_; | 268 bool has_non_client_view_; |
269 | 269 |
270 scoped_ptr<HWNDMessageHandler> message_handler_; | 270 scoped_ptr<HWNDMessageHandler> message_handler_; |
271 | 271 |
272 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin); | 272 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWin); |
273 }; | 273 }; |
274 | 274 |
275 } // namespace views | 275 } // namespace views |
276 | 276 |
277 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ | 277 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_WIN_H_ |
OLD | NEW |