| 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 20 matching lines...) Expand all Loading... |
| 31 private: | 31 private: |
| 32 // Overridden from DesktopRootWindowHost: | 32 // Overridden from DesktopRootWindowHost: |
| 33 virtual void Init(aura::Window* content_window, | 33 virtual void Init(aura::Window* content_window, |
| 34 const Widget::InitParams& params) OVERRIDE; | 34 const Widget::InitParams& params) OVERRIDE; |
| 35 virtual void Close() OVERRIDE; | 35 virtual void Close() OVERRIDE; |
| 36 virtual void CloseNow() OVERRIDE; | 36 virtual void CloseNow() OVERRIDE; |
| 37 virtual aura::RootWindowHost* AsRootWindowHost() OVERRIDE; | 37 virtual aura::RootWindowHost* AsRootWindowHost() OVERRIDE; |
| 38 virtual void ShowWindowWithState(ui::WindowShowState show_state) OVERRIDE; | 38 virtual void ShowWindowWithState(ui::WindowShowState show_state) OVERRIDE; |
| 39 virtual bool IsVisible() const OVERRIDE; | 39 virtual bool IsVisible() const OVERRIDE; |
| 40 virtual gfx::Rect GetClientAreaBoundsInScreen() const OVERRIDE; | 40 virtual gfx::Rect GetClientAreaBoundsInScreen() const OVERRIDE; |
| 41 virtual InputMethod* CreateInputMethod() OVERRIDE; |
| 42 virtual internal::InputMethodDelegate* GetInputMethodDelegate() OVERRIDE; |
| 41 | 43 |
| 42 // Overridden from aura::RootWindowHost: | 44 // Overridden from aura::RootWindowHost: |
| 43 virtual aura::RootWindow* GetRootWindow() OVERRIDE; | 45 virtual aura::RootWindow* GetRootWindow() OVERRIDE; |
| 44 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; | 46 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; |
| 45 virtual void Show() OVERRIDE; | 47 virtual void Show() OVERRIDE; |
| 46 virtual void Hide() OVERRIDE; | 48 virtual void Hide() OVERRIDE; |
| 47 virtual void ToggleFullScreen() OVERRIDE; | 49 virtual void ToggleFullScreen() OVERRIDE; |
| 48 virtual gfx::Rect GetBounds() const OVERRIDE; | 50 virtual gfx::Rect GetBounds() const OVERRIDE; |
| 49 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; | 51 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; |
| 50 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; | 52 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 | 153 |
| 152 aura::RootWindowHostDelegate* root_window_host_delegate_; | 154 aura::RootWindowHostDelegate* root_window_host_delegate_; |
| 153 aura::Window* content_window_; | 155 aura::Window* content_window_; |
| 154 | 156 |
| 155 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostWin); | 157 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostWin); |
| 156 }; | 158 }; |
| 157 | 159 |
| 158 } // namespace views | 160 } // namespace views |
| 159 | 161 |
| 160 #endif // UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_WIN_H_ | 162 #endif // UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_WIN_H_ |
| OLD | NEW |