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_PANELS_PANEL_H_ | 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_H_ |
6 #define CHROME_BROWSER_UI_PANELS_PANEL_H_ | 6 #define CHROME_BROWSER_UI_PANELS_PANEL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/gtest_prod_util.h" | 10 #include "base/gtest_prod_util.h" |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 bool IsMinimized() const override; | 123 bool IsMinimized() const override; |
124 bool IsFullscreen() const override; | 124 bool IsFullscreen() const override; |
125 gfx::NativeWindow GetNativeWindow() const override; | 125 gfx::NativeWindow GetNativeWindow() const override; |
126 gfx::Rect GetRestoredBounds() const override; | 126 gfx::Rect GetRestoredBounds() const override; |
127 ui::WindowShowState GetRestoredState() const override; | 127 ui::WindowShowState GetRestoredState() const override; |
128 gfx::Rect GetBounds() const override; | 128 gfx::Rect GetBounds() const override; |
129 void Show() override; | 129 void Show() override; |
130 void Hide() override; | 130 void Hide() override; |
131 void ShowInactive() override; | 131 void ShowInactive() override; |
132 void Close() override; | 132 void Close() override; |
133 void Activate() override; | 133 void Activate(bool user_gesture) override; |
134 void Deactivate() override; | 134 void Deactivate() override; |
135 void Maximize() override; | 135 void Maximize() override; |
136 void Minimize() override; | 136 void Minimize() override; |
137 void Restore() override; | 137 void Restore() override; |
138 void SetBounds(const gfx::Rect& bounds) override; | 138 void SetBounds(const gfx::Rect& bounds) override; |
139 void FlashFrame(bool flash) override; | 139 void FlashFrame(bool flash) override; |
140 bool IsAlwaysOnTop() const override; | 140 bool IsAlwaysOnTop() const override; |
141 void SetAlwaysOnTop(bool on_top) override; | 141 void SetAlwaysOnTop(bool on_top) override; |
142 | 142 |
143 // Overridden from CommandUpdaterDelegate: | 143 // Overridden from CommandUpdaterDelegate: |
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
406 | 406 |
407 // Icon showed in the task bar. | 407 // Icon showed in the task bar. |
408 gfx::Image app_icon_; | 408 gfx::Image app_icon_; |
409 | 409 |
410 base::WeakPtrFactory<Panel> image_loader_ptr_factory_; | 410 base::WeakPtrFactory<Panel> image_loader_ptr_factory_; |
411 | 411 |
412 DISALLOW_COPY_AND_ASSIGN(Panel); | 412 DISALLOW_COPY_AND_ASSIGN(Panel); |
413 }; | 413 }; |
414 | 414 |
415 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_ | 415 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_ |
OLD | NEW |