| 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 virtual void ClearNativeFocus() OVERRIDE; |
| 70 virtual Widget::MoveLoopResult RunMoveLoop( | 70 virtual Widget::MoveLoopResult RunMoveLoop( |
| 71 const gfx::Point& drag_offset) OVERRIDE; | 71 const gfx::Point& drag_offset) OVERRIDE; |
| 72 virtual void EndMoveLoop() OVERRIDE; | 72 virtual void EndMoveLoop() OVERRIDE; |
| 73 virtual void SetVisibilityChangedAnimationsEnabled(bool value) OVERRIDE; | 73 virtual void SetVisibilityChangedAnimationsEnabled(bool value) OVERRIDE; |
| 74 virtual bool ShouldUseNativeFrame() OVERRIDE; | 74 virtual bool ShouldUseNativeFrame() OVERRIDE; |
| 75 virtual void FrameTypeChanged() OVERRIDE; | 75 virtual void FrameTypeChanged() OVERRIDE; |
| 76 virtual NonClientFrameView* CreateNonClientFrameView() OVERRIDE; | 76 virtual NonClientFrameView* CreateNonClientFrameView() OVERRIDE; |
| 77 virtual void SetFullscreen(bool fullscreen) OVERRIDE; |
| 78 virtual bool IsFullscreen() const OVERRIDE; |
| 79 virtual void SetOpacity(unsigned char opacity) OVERRIDE; |
| 80 virtual void SetWindowIcons(const gfx::ImageSkia& window_icon, |
| 81 const gfx::ImageSkia& app_icon) OVERRIDE; |
| 82 virtual void SetAccessibleName(const string16& name) OVERRIDE; |
| 83 virtual void SetAccessibleRole(ui::AccessibilityTypes::Role role) OVERRIDE; |
| 84 virtual void SetAccessibleState(ui::AccessibilityTypes::State state) OVERRIDE; |
| 85 virtual void InitModalType(ui::ModalType modal_type) OVERRIDE; |
| 86 virtual void FlashFrame(bool flash_frame) OVERRIDE; |
| 77 | 87 |
| 78 // Overridden from aura::RootWindowHost: | 88 // Overridden from aura::RootWindowHost: |
| 79 virtual aura::RootWindow* GetRootWindow() OVERRIDE; | 89 virtual aura::RootWindow* GetRootWindow() OVERRIDE; |
| 80 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; | 90 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; |
| 81 virtual void Show() OVERRIDE; | 91 virtual void Show() OVERRIDE; |
| 82 virtual void Hide() OVERRIDE; | 92 virtual void Hide() OVERRIDE; |
| 83 virtual void ToggleFullScreen() OVERRIDE; | 93 virtual void ToggleFullScreen() OVERRIDE; |
| 84 virtual gfx::Rect GetBounds() const OVERRIDE; | 94 virtual gfx::Rect GetBounds() const OVERRIDE; |
| 85 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; | 95 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; |
| 86 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; | 96 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 | 207 |
| 198 // A simple cursor client which just forwards events to the RootWindow. | 208 // A simple cursor client which just forwards events to the RootWindow. |
| 199 scoped_ptr<aura::DesktopCursorClient> cursor_client_; | 209 scoped_ptr<aura::DesktopCursorClient> cursor_client_; |
| 200 | 210 |
| 201 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostWin); | 211 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostWin); |
| 202 }; | 212 }; |
| 203 | 213 |
| 204 } // namespace views | 214 } // namespace views |
| 205 | 215 |
| 206 #endif // UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_WIN_H_ | 216 #endif // UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_WIN_H_ |
| OLD | NEW |