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

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

Issue 12803011: Add BaseWindow::GetContentBounds() and use in WindowController::CreateWindowValue() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix osx build Created 7 years, 9 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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 gfx::Rect GetBounds() const OVERRIDE; 122 virtual gfx::Rect GetBounds() const OVERRIDE;
123 virtual gfx::Rect GetContentBounds() 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;
132 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; 133 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE;
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 392
392 // Icon showed in the task bar. 393 // Icon showed in the task bar.
393 gfx::Image app_icon_; 394 gfx::Image app_icon_;
394 395
395 base::WeakPtrFactory<Panel> image_loader_ptr_factory_; 396 base::WeakPtrFactory<Panel> image_loader_ptr_factory_;
396 397
397 DISALLOW_COPY_AND_ASSIGN(Panel); 398 DISALLOW_COPY_AND_ASSIGN(Panel);
398 }; 399 };
399 400
400 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_ 401 #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