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

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

Issue 10534079: Add support for managing active state of platform apps (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed redundant GetNativeWindow() decl in BrowserWindow Created 8 years, 6 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 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 // Returns true if the panel can be minimized or restored, depending on the 96 // Returns true if the panel can be minimized or restored, depending on the
97 // strip the panel is in. 97 // strip the panel is in.
98 bool CanMinimize() const; 98 bool CanMinimize() const;
99 bool CanRestore() const; 99 bool CanRestore() const;
100 100
101 // BaseWindow overrides. 101 // BaseWindow overrides.
102 virtual bool IsActive() const OVERRIDE; 102 virtual bool IsActive() const OVERRIDE;
103 virtual bool IsMaximized() const OVERRIDE; 103 virtual bool IsMaximized() const OVERRIDE;
104 virtual bool IsMinimized() const OVERRIDE; 104 virtual bool IsMinimized() const OVERRIDE;
105 virtual bool IsFullscreen() const OVERRIDE; 105 virtual bool IsFullscreen() const OVERRIDE;
106 virtual gfx::NativeWindow GetNativeWindow() OVERRIDE;
106 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; 107 virtual gfx::Rect GetRestoredBounds() const OVERRIDE;
107 virtual gfx::Rect GetBounds() const OVERRIDE; 108 virtual gfx::Rect GetBounds() const OVERRIDE;
108 virtual void Show() OVERRIDE; 109 virtual void Show() OVERRIDE;
109 virtual void ShowInactive() OVERRIDE; 110 virtual void ShowInactive() OVERRIDE;
110 virtual void Close() OVERRIDE; 111 virtual void Close() OVERRIDE;
111 virtual void Activate() OVERRIDE; 112 virtual void Activate() OVERRIDE;
112 virtual void Deactivate() OVERRIDE; 113 virtual void Deactivate() OVERRIDE;
113 virtual void Maximize() OVERRIDE; 114 virtual void Maximize() OVERRIDE;
114 virtual void Minimize() OVERRIDE; 115 virtual void Minimize() OVERRIDE;
115 virtual void Restore() OVERRIDE; 116 virtual void Restore() OVERRIDE;
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 343
343 // The CommandUpdater manages the window commands. 344 // The CommandUpdater manages the window commands.
344 CommandUpdater command_updater_; 345 CommandUpdater command_updater_;
345 346
346 content::NotificationRegistrar registrar_; 347 content::NotificationRegistrar registrar_;
347 348
348 DISALLOW_COPY_AND_ASSIGN(Panel); 349 DISALLOW_COPY_AND_ASSIGN(Panel);
349 }; 350 };
350 351
351 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_ 352 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698