OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 CHROME_BROWSER_UI_PANELS_NATIVE_PANEL_STACK_WINDOW_H_ | 5 #ifndef CHROME_BROWSER_UI_PANELS_NATIVE_PANEL_STACK_WINDOW_H_ |
6 #define CHROME_BROWSER_UI_PANELS_NATIVE_PANEL_STACK_WINDOW_H_ | 6 #define CHROME_BROWSER_UI_PANELS_NATIVE_PANEL_STACK_WINDOW_H_ |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include <memory> |
| 9 |
9 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
10 #include "ui/gfx/image/image.h" | 11 #include "ui/gfx/image/image.h" |
11 | 12 |
12 class Panel; | 13 class Panel; |
13 namespace gfx { | 14 namespace gfx { |
14 class Rect; | 15 class Rect; |
15 class Vector2d; | 16 class Vector2d; |
16 } | 17 } |
17 | 18 |
18 class NativePanelStackWindowDelegate { | 19 class NativePanelStackWindowDelegate { |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 | 89 |
89 // Draws or clears the attention via system. The system might choose to | 90 // Draws or clears the attention via system. The system might choose to |
90 // flash the taskbar icon for attention. | 91 // flash the taskbar icon for attention. |
91 virtual void DrawSystemAttention(bool draw_attention) = 0; | 92 virtual void DrawSystemAttention(bool draw_attention) = 0; |
92 | 93 |
93 // Called when the panel is activated. | 94 // Called when the panel is activated. |
94 virtual void OnPanelActivated(Panel* panel) = 0; | 95 virtual void OnPanelActivated(Panel* panel) = 0; |
95 }; | 96 }; |
96 | 97 |
97 #endif // CHROME_BROWSER_UI_PANELS_NATIVE_PANEL_STACK_WINDOW_H_ | 98 #endif // CHROME_BROWSER_UI_PANELS_NATIVE_PANEL_STACK_WINDOW_H_ |
OLD | NEW |