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_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_WIN_H_ | 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_WIN_H_ |
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_WIN_H_ | 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_WIN_H_ |
7 | 7 |
8 #include "ui/aura/root_window_host.h" | 8 #include "ui/aura/root_window_host.h" |
9 #include "ui/views/views_export.h" | 9 #include "ui/views/views_export.h" |
10 #include "ui/views/widget/desktop_aura/desktop_root_window_host.h" | 10 #include "ui/views/widget/desktop_aura/desktop_root_window_host.h" |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 | 96 |
97 // Overridden from aura::RootWindowHost: | 97 // Overridden from aura::RootWindowHost: |
98 virtual void SetDelegate(aura::RootWindowHostDelegate* delegate) OVERRIDE; | 98 virtual void SetDelegate(aura::RootWindowHostDelegate* delegate) OVERRIDE; |
99 virtual aura::RootWindow* GetRootWindow() OVERRIDE; | 99 virtual aura::RootWindow* GetRootWindow() OVERRIDE; |
100 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; | 100 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; |
101 virtual void Show() OVERRIDE; | 101 virtual void Show() OVERRIDE; |
102 virtual void Hide() OVERRIDE; | 102 virtual void Hide() OVERRIDE; |
103 virtual void ToggleFullScreen() OVERRIDE; | 103 virtual void ToggleFullScreen() OVERRIDE; |
104 virtual gfx::Rect GetBounds() const OVERRIDE; | 104 virtual gfx::Rect GetBounds() const OVERRIDE; |
105 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; | 105 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; |
| 106 virtual gfx::Insets GetInsets() const OVERRIDE; |
| 107 virtual void SetInsets(const gfx::Insets& insets) OVERRIDE; |
106 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; | 108 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; |
107 virtual void SetCapture() OVERRIDE; | 109 virtual void SetCapture() OVERRIDE; |
108 virtual void ReleaseCapture() OVERRIDE; | 110 virtual void ReleaseCapture() OVERRIDE; |
109 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE; | 111 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE; |
110 virtual bool QueryMouseLocation(gfx::Point* location_return) OVERRIDE; | 112 virtual bool QueryMouseLocation(gfx::Point* location_return) OVERRIDE; |
111 virtual bool ConfineCursorToRootWindow() OVERRIDE; | 113 virtual bool ConfineCursorToRootWindow() OVERRIDE; |
112 virtual void UnConfineCursor() OVERRIDE; | 114 virtual void UnConfineCursor() OVERRIDE; |
113 virtual void OnCursorVisibilityChanged(bool show) OVERRIDE; | 115 virtual void OnCursorVisibilityChanged(bool show) OVERRIDE; |
114 virtual void MoveCursorTo(const gfx::Point& location) OVERRIDE; | 116 virtual void MoveCursorTo(const gfx::Point& location) OVERRIDE; |
115 virtual void SetFocusWhenShown(bool focus_when_shown) OVERRIDE; | 117 virtual void SetFocusWhenShown(bool focus_when_shown) OVERRIDE; |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
230 scoped_ptr<views::corewm::CursorManager> cursor_client_; | 232 scoped_ptr<views::corewm::CursorManager> cursor_client_; |
231 | 233 |
232 scoped_ptr<DesktopDragDropClientWin> drag_drop_client_; | 234 scoped_ptr<DesktopDragDropClientWin> drag_drop_client_; |
233 | 235 |
234 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostWin); | 236 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostWin); |
235 }; | 237 }; |
236 | 238 |
237 } // namespace views | 239 } // namespace views |
238 | 240 |
239 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_WIN_H_ | 241 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_WIN_H_ |
OLD | NEW |