Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(410)

Side by Side Diff: chrome/browser/ui/panels/panel.h

Issue 14663010: Save and restore State for ShellWindows, including panels (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 bool CanShowMinimizeButton() const; 112 bool CanShowMinimizeButton() const;
113 bool CanShowRestoreButton() const; 113 bool CanShowRestoreButton() const;
114 114
115 // BaseWindow overrides. 115 // BaseWindow overrides.
116 virtual bool IsActive() const OVERRIDE; 116 virtual bool IsActive() const OVERRIDE;
117 virtual bool IsMaximized() const OVERRIDE; 117 virtual bool IsMaximized() const OVERRIDE;
118 virtual bool IsMinimized() const OVERRIDE; 118 virtual bool IsMinimized() const OVERRIDE;
119 virtual bool IsFullscreen() const OVERRIDE; 119 virtual bool IsFullscreen() const OVERRIDE;
120 virtual gfx::NativeWindow GetNativeWindow() OVERRIDE; 120 virtual gfx::NativeWindow GetNativeWindow() OVERRIDE;
121 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; 121 virtual gfx::Rect GetRestoredBounds() const OVERRIDE;
122 virtual ui::WindowShowState GetRestoredState() const OVERRIDE;
122 virtual gfx::Rect GetBounds() const OVERRIDE; 123 virtual gfx::Rect GetBounds() const OVERRIDE;
123 virtual void Show() OVERRIDE; 124 virtual void Show() OVERRIDE;
124 virtual void Hide() OVERRIDE; 125 virtual void Hide() OVERRIDE;
125 virtual void ShowInactive() OVERRIDE; 126 virtual void ShowInactive() OVERRIDE;
126 virtual void Close() OVERRIDE; 127 virtual void Close() OVERRIDE;
127 virtual void Activate() OVERRIDE; 128 virtual void Activate() OVERRIDE;
128 virtual void Deactivate() OVERRIDE; 129 virtual void Deactivate() OVERRIDE;
129 virtual void Maximize() OVERRIDE; 130 virtual void Maximize() OVERRIDE;
130 virtual void Minimize() OVERRIDE; 131 virtual void Minimize() OVERRIDE;
131 virtual void Restore() OVERRIDE; 132 virtual void Restore() OVERRIDE;
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
394 395
395 // Icon showed in the task bar. 396 // Icon showed in the task bar.
396 gfx::Image app_icon_; 397 gfx::Image app_icon_;
397 398
398 base::WeakPtrFactory<Panel> image_loader_ptr_factory_; 399 base::WeakPtrFactory<Panel> image_loader_ptr_factory_;
399 400
400 DISALLOW_COPY_AND_ASSIGN(Panel); 401 DISALLOW_COPY_AND_ASSIGN(Panel);
401 }; 402 };
402 403
403 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_ 404 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/extensions/native_app_window_gtk.cc ('k') | chrome/browser/ui/panels/panel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698