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_H_ | 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_H_ |
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_H_ | 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_H_ |
7 | 7 |
8 #include "ui/base/ui_base_types.h" | 8 #include "ui/base/ui_base_types.h" |
9 #include "ui/views/views_export.h" | 9 #include "ui/views/views_export.h" |
10 #include "ui/views/widget/widget.h" | 10 #include "ui/views/widget/widget.h" |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 virtual bool IsFullscreen() const = 0; | 101 virtual bool IsFullscreen() const = 0; |
102 | 102 |
103 virtual void SetOpacity(unsigned char opacity) = 0; | 103 virtual void SetOpacity(unsigned char opacity) = 0; |
104 | 104 |
105 virtual void SetWindowIcons(const gfx::ImageSkia& window_icon, | 105 virtual void SetWindowIcons(const gfx::ImageSkia& window_icon, |
106 const gfx::ImageSkia& app_icon) = 0; | 106 const gfx::ImageSkia& app_icon) = 0; |
107 | 107 |
108 virtual void InitModalType(ui::ModalType modal_type) = 0; | 108 virtual void InitModalType(ui::ModalType modal_type) = 0; |
109 | 109 |
110 virtual void FlashFrame(bool flash_frame) = 0; | 110 virtual void FlashFrame(bool flash_frame) = 0; |
| 111 |
| 112 // Called when the DesktopNativeWidgetAura's aura::Window is focused and |
| 113 // blurred. |
| 114 virtual void OnNativeWidgetFocus() = 0; |
| 115 virtual void OnNativeWidgetBlur() = 0; |
111 }; | 116 }; |
112 | 117 |
113 } // namespace views | 118 } // namespace views |
114 | 119 |
115 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_H_ | 120 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_H_ |
OLD | NEW |