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 CHROME_BROWSER_UI_BASE_WINDOW_H_ | 5 #ifndef CHROME_BROWSER_UI_BASE_WINDOW_H_ |
6 #define CHROME_BROWSER_UI_BASE_WINDOW_H_ | 6 #define CHROME_BROWSER_UI_BASE_WINDOW_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "ui/gfx/native_widget_types.h" | 9 #include "ui/gfx/native_widget_types.h" |
10 | 10 |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 | 72 |
73 // Sets the window's size and position to the specified values. | 73 // Sets the window's size and position to the specified values. |
74 virtual void SetBounds(const gfx::Rect& bounds) = 0; | 74 virtual void SetBounds(const gfx::Rect& bounds) = 0; |
75 | 75 |
76 // Flashes the taskbar item associated with this window. | 76 // Flashes the taskbar item associated with this window. |
77 // Set |flash| to true to initiate flashing, false to stop flashing. | 77 // Set |flash| to true to initiate flashing, false to stop flashing. |
78 virtual void FlashFrame(bool flash) = 0; | 78 virtual void FlashFrame(bool flash) = 0; |
79 | 79 |
80 // Returns true if a window is set to be always on top. | 80 // Returns true if a window is set to be always on top. |
81 virtual bool IsAlwaysOnTop() const = 0; | 81 virtual bool IsAlwaysOnTop() const = 0; |
| 82 |
| 83 protected: |
| 84 virtual ~BaseWindow() { } |
82 }; | 85 }; |
83 | 86 |
84 #endif // CHROME_BROWSER_UI_BASE_WINDOW_H_ | 87 #endif // CHROME_BROWSER_UI_BASE_WINDOW_H_ |
OLD | NEW |