| 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 | 111 |
| 112 // Called when the DesktopNativeWidgetAura's aura::Window is focused and | 112 // Called when the DesktopNativeWidgetAura's aura::Window is focused and |
| 113 // blurred. | 113 // blurred. |
| 114 virtual void OnNativeWidgetFocus() = 0; | 114 virtual void OnNativeWidgetFocus() = 0; |
| 115 virtual void OnNativeWidgetBlur() = 0; | 115 virtual void OnNativeWidgetBlur() = 0; |
| 116 |
| 117 // Paints the host window as activated depending on the bool passed in. |
| 118 virtual void SetInactiveRenderingDisabled(bool disable_inactive) = 0; |
| 116 }; | 119 }; |
| 117 | 120 |
| 118 } // namespace views | 121 } // namespace views |
| 119 | 122 |
| 120 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_H_ | 123 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_H_ |
| OLD | NEW |