| 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_ROOT_WINDOW_HOST_WIN_H_ | 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_WIN_H_ |
| 6 #define UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_WIN_H_ | 6 #define UI_VIEWS_WIDGET_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/widget/desktop_root_window_host.h" | 9 #include "ui/views/widget/desktop_root_window_host.h" |
| 10 #include "ui/views/win/hwnd_message_handler_delegate.h" | 10 #include "ui/views/win/hwnd_message_handler_delegate.h" |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 virtual void Maximize() OVERRIDE; | 59 virtual void Maximize() OVERRIDE; |
| 60 virtual void Minimize() OVERRIDE; | 60 virtual void Minimize() OVERRIDE; |
| 61 virtual void Restore() OVERRIDE; | 61 virtual void Restore() OVERRIDE; |
| 62 virtual bool IsMaximized() const OVERRIDE; | 62 virtual bool IsMaximized() const OVERRIDE; |
| 63 virtual bool IsMinimized() const OVERRIDE; | 63 virtual bool IsMinimized() const OVERRIDE; |
| 64 virtual bool HasCapture() const OVERRIDE; | 64 virtual bool HasCapture() const OVERRIDE; |
| 65 virtual void SetAlwaysOnTop(bool always_on_top) OVERRIDE; | 65 virtual void SetAlwaysOnTop(bool always_on_top) OVERRIDE; |
| 66 virtual InputMethod* CreateInputMethod() OVERRIDE; | 66 virtual InputMethod* CreateInputMethod() OVERRIDE; |
| 67 virtual internal::InputMethodDelegate* GetInputMethodDelegate() OVERRIDE; | 67 virtual internal::InputMethodDelegate* GetInputMethodDelegate() OVERRIDE; |
| 68 virtual void SetWindowTitle(const string16& title) OVERRIDE; | 68 virtual void SetWindowTitle(const string16& title) OVERRIDE; |
| 69 virtual void ClearNativeFocus() OVERRIDE; |
| 69 | 70 |
| 70 // Overridden from aura::RootWindowHost: | 71 // Overridden from aura::RootWindowHost: |
| 71 virtual aura::RootWindow* GetRootWindow() OVERRIDE; | 72 virtual aura::RootWindow* GetRootWindow() OVERRIDE; |
| 72 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; | 73 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; |
| 73 virtual void Show() OVERRIDE; | 74 virtual void Show() OVERRIDE; |
| 74 virtual void Hide() OVERRIDE; | 75 virtual void Hide() OVERRIDE; |
| 75 virtual void ToggleFullScreen() OVERRIDE; | 76 virtual void ToggleFullScreen() OVERRIDE; |
| 76 virtual gfx::Rect GetBounds() const OVERRIDE; | 77 virtual gfx::Rect GetBounds() const OVERRIDE; |
| 77 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; | 78 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; |
| 78 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; | 79 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 | 190 |
| 190 // A simple cursor client which just forwards events to the RootWindow. | 191 // A simple cursor client which just forwards events to the RootWindow. |
| 191 scoped_ptr<aura::DesktopCursorClient> cursor_client_; | 192 scoped_ptr<aura::DesktopCursorClient> cursor_client_; |
| 192 | 193 |
| 193 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostWin); | 194 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostWin); |
| 194 }; | 195 }; |
| 195 | 196 |
| 196 } // namespace views | 197 } // namespace views |
| 197 | 198 |
| 198 #endif // UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_WIN_H_ | 199 #endif // UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_WIN_H_ |
| OLD | NEW |