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

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

Issue 11369237: Add a way to fetch window frame metrics from NativeShellWindow (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add comments Created 8 years, 1 month 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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 virtual void Hide() OVERRIDE; 126 virtual void Hide() OVERRIDE;
127 virtual void Close() OVERRIDE; 127 virtual void Close() OVERRIDE;
128 virtual void Activate() OVERRIDE; 128 virtual void Activate() OVERRIDE;
129 virtual void Deactivate() OVERRIDE; 129 virtual void Deactivate() OVERRIDE;
130 virtual void Maximize() OVERRIDE; 130 virtual void Maximize() OVERRIDE;
131 virtual void Minimize() OVERRIDE; 131 virtual void Minimize() OVERRIDE;
132 virtual void Restore() OVERRIDE; 132 virtual void Restore() OVERRIDE;
133 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; 133 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE;
134 virtual void FlashFrame(bool flash) OVERRIDE; 134 virtual void FlashFrame(bool flash) OVERRIDE;
135 virtual bool IsAlwaysOnTop() const OVERRIDE; 135 virtual bool IsAlwaysOnTop() const OVERRIDE;
136 virtual gfx::Rect ContentBoundsForWindowBounds(
137 const gfx::Rect& window_bounds) const OVERRIDE;
138 virtual gfx::Rect WindowBoundsForContentBounds(
139 const gfx::Rect& content_bounds) const OVERRIDE;
136 140
137 // Overridden from CommandUpdater::CommandUpdaterDelegate: 141 // Overridden from CommandUpdater::CommandUpdaterDelegate:
138 virtual void ExecuteCommandWithDisposition( 142 virtual void ExecuteCommandWithDisposition(
139 int id, 143 int id,
140 WindowOpenDisposition disposition) OVERRIDE; 144 WindowOpenDisposition disposition) OVERRIDE;
141 145
142 // content::NotificationObserver overrides. 146 // content::NotificationObserver overrides.
143 virtual void Observe(int type, 147 virtual void Observe(int type,
144 const content::NotificationSource& source, 148 const content::NotificationSource& source,
145 const content::NotificationDetails& details) OVERRIDE; 149 const content::NotificationDetails& details) OVERRIDE;
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 // Used for loading app_icon_. 388 // Used for loading app_icon_.
385 scoped_ptr<ImageLoadingTracker> app_icon_loader_; 389 scoped_ptr<ImageLoadingTracker> app_icon_loader_;
386 390
387 // Icon showed in the task bar. 391 // Icon showed in the task bar.
388 gfx::Image app_icon_; 392 gfx::Image app_icon_;
389 393
390 DISALLOW_COPY_AND_ASSIGN(Panel); 394 DISALLOW_COPY_AND_ASSIGN(Panel);
391 }; 395 };
392 396
393 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_ 397 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698