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_WINDOW_TREE_HOST_WIN_H_ | 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ |
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ | 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ |
7 | 7 |
8 #include "ui/aura/window_tree_host.h" | 8 #include "ui/aura/window_tree_host.h" |
9 #include "ui/views/views_export.h" | 9 #include "ui/views/views_export.h" |
10 #include "ui/views/widget/desktop_aura/desktop_window_tree_host.h" | 10 #include "ui/views/widget/desktop_aura/desktop_window_tree_host.h" |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 virtual bool IsFullscreen() const OVERRIDE; | 96 virtual bool IsFullscreen() const OVERRIDE; |
97 virtual void SetOpacity(unsigned char opacity) OVERRIDE; | 97 virtual void SetOpacity(unsigned char opacity) OVERRIDE; |
98 virtual void SetWindowIcons(const gfx::ImageSkia& window_icon, | 98 virtual void SetWindowIcons(const gfx::ImageSkia& window_icon, |
99 const gfx::ImageSkia& app_icon) OVERRIDE; | 99 const gfx::ImageSkia& app_icon) OVERRIDE; |
100 virtual void InitModalType(ui::ModalType modal_type) OVERRIDE; | 100 virtual void InitModalType(ui::ModalType modal_type) OVERRIDE; |
101 virtual void FlashFrame(bool flash_frame) OVERRIDE; | 101 virtual void FlashFrame(bool flash_frame) OVERRIDE; |
102 virtual void OnRootViewLayout() OVERRIDE; | 102 virtual void OnRootViewLayout() OVERRIDE; |
103 virtual void OnNativeWidgetFocus() OVERRIDE; | 103 virtual void OnNativeWidgetFocus() OVERRIDE; |
104 virtual void OnNativeWidgetBlur() OVERRIDE; | 104 virtual void OnNativeWidgetBlur() OVERRIDE; |
105 virtual bool IsAnimatingClosed() const OVERRIDE; | 105 virtual bool IsAnimatingClosed() const OVERRIDE; |
| 106 virtual bool IsTranslucentWindowOpacitySupported() const OVERRIDE; |
106 | 107 |
107 // Overridden from aura::WindowTreeHost: | 108 // Overridden from aura::WindowTreeHost: |
108 virtual ui::EventSource* GetEventSource() OVERRIDE; | 109 virtual ui::EventSource* GetEventSource() OVERRIDE; |
109 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; | 110 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; |
110 virtual void Show() OVERRIDE; | 111 virtual void Show() OVERRIDE; |
111 virtual void Hide() OVERRIDE; | 112 virtual void Hide() OVERRIDE; |
112 virtual gfx::Rect GetBounds() const OVERRIDE; | 113 virtual gfx::Rect GetBounds() const OVERRIDE; |
113 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; | 114 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; |
114 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; | 115 virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE; |
115 virtual void SetCapture() OVERRIDE; | 116 virtual void SetCapture() OVERRIDE; |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
265 static bool is_cursor_visible_; | 266 static bool is_cursor_visible_; |
266 | 267 |
267 scoped_ptr<aura::client::ScopedTooltipDisabler> tooltip_disabler_; | 268 scoped_ptr<aura::client::ScopedTooltipDisabler> tooltip_disabler_; |
268 | 269 |
269 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin); | 270 DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin); |
270 }; | 271 }; |
271 | 272 |
272 } // namespace views | 273 } // namespace views |
273 | 274 |
274 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ | 275 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ |
OLD | NEW |