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/client/animation_host.h" | 8 #include "ui/aura/client/animation_host.h" |
9 #include "ui/aura/root_window_host.h" | 9 #include "ui/aura/root_window_host.h" |
10 #include "ui/views/views_export.h" | 10 #include "ui/views/views_export.h" |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 virtual bool ShouldUseNativeFrame() OVERRIDE; | 86 virtual bool ShouldUseNativeFrame() OVERRIDE; |
87 virtual void FrameTypeChanged() OVERRIDE; | 87 virtual void FrameTypeChanged() OVERRIDE; |
88 virtual NonClientFrameView* CreateNonClientFrameView() OVERRIDE; | 88 virtual NonClientFrameView* CreateNonClientFrameView() OVERRIDE; |
89 virtual void SetFullscreen(bool fullscreen) OVERRIDE; | 89 virtual void SetFullscreen(bool fullscreen) OVERRIDE; |
90 virtual bool IsFullscreen() const OVERRIDE; | 90 virtual bool IsFullscreen() const OVERRIDE; |
91 virtual void SetOpacity(unsigned char opacity) OVERRIDE; | 91 virtual void SetOpacity(unsigned char opacity) OVERRIDE; |
92 virtual void SetWindowIcons(const gfx::ImageSkia& window_icon, | 92 virtual void SetWindowIcons(const gfx::ImageSkia& window_icon, |
93 const gfx::ImageSkia& app_icon) OVERRIDE; | 93 const gfx::ImageSkia& app_icon) OVERRIDE; |
94 virtual void InitModalType(ui::ModalType modal_type) OVERRIDE; | 94 virtual void InitModalType(ui::ModalType modal_type) OVERRIDE; |
95 virtual void FlashFrame(bool flash_frame) OVERRIDE; | 95 virtual void FlashFrame(bool flash_frame) OVERRIDE; |
96 virtual void OnNativeWidgetFocus() OVERRIDE; | |
97 virtual void OnNativeWidgetBlur() OVERRIDE; | |
98 | 96 |
99 // Overridden from aura::RootWindowHost: | 97 // Overridden from aura::RootWindowHost: |
100 virtual void SetDelegate(aura::RootWindowHostDelegate* delegate) OVERRIDE; | 98 virtual void SetDelegate(aura::RootWindowHostDelegate* delegate) OVERRIDE; |
101 virtual aura::RootWindow* GetRootWindow() OVERRIDE; | 99 virtual aura::RootWindow* GetRootWindow() OVERRIDE; |
102 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; | 100 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; |
103 virtual void Show() OVERRIDE; | 101 virtual void Show() OVERRIDE; |
104 virtual void Hide() OVERRIDE; | 102 virtual void Hide() OVERRIDE; |
105 virtual void ToggleFullScreen() OVERRIDE; | 103 virtual void ToggleFullScreen() OVERRIDE; |
106 virtual gfx::Rect GetBounds() const OVERRIDE; | 104 virtual gfx::Rect GetBounds() const OVERRIDE; |
107 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; | 105 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
255 // rather than asking the Widget for the non_client_view so that we know at | 253 // rather than asking the Widget for the non_client_view so that we know at |
256 // Init time, before the Widget has created the NonClientView. | 254 // Init time, before the Widget has created the NonClientView. |
257 bool has_non_client_view_; | 255 bool has_non_client_view_; |
258 | 256 |
259 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostWin); | 257 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostWin); |
260 }; | 258 }; |
261 | 259 |
262 } // namespace views | 260 } // namespace views |
263 | 261 |
264 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_WIN_H_ | 262 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_WIN_H_ |
OLD | NEW |