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

Unified Diff: chrome/browser/ui/panels/panel.h

Issue 10260028: Update Panel mininimize/restore button on strip and expansion state change. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: synced Created 8 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/panels/panel.h
diff --git a/chrome/browser/ui/panels/panel.h b/chrome/browser/ui/panels/panel.h
index 477c5acbd89720cd0a9b36e77650eb5d45b56912..40ba42210e0c004e20a7d1d7026f9d48fed4218c 100644
--- a/chrome/browser/ui/panels/panel.h
+++ b/chrome/browser/ui/panels/panel.h
@@ -242,7 +242,7 @@ class Panel : public BrowserWindow,
PanelStrip* panel_strip() const { return panel_strip_; }
// Sets the current panel strip that contains this panel.
- void SetPanelStrip(PanelStrip* new_strip);
+ void set_panel_strip(PanelStrip* new_strip) { panel_strip_ = new_strip; }
ExpansionState expansion_state() const { return expansion_state_; }
const gfx::Size& min_size() const { return min_size_; }
@@ -283,9 +283,6 @@ class Panel : public BrowserWindow,
// Sets minimum and maximum size for the panel.
void SetSizeRange(const gfx::Size& min_size, const gfx::Size& max_size);
- // Sets whether the panel app icon is visible in the taskbar.
- void SetAppIconVisibility(bool visible);
-
// Whether the panel window is always on top.
void SetAlwaysOnTop(bool on_top);
bool always_on_top() const { return always_on_top_; }
@@ -298,6 +295,9 @@ class Panel : public BrowserWindow,
// enables the resize mouse cursors when mouse is hovering over the edges.
void EnableResizeByMouse(bool enable);
+ // Updates titlebar buttons.
Dmitry Titov 2012/05/02 03:23:08 It'd be useful to add more info to the comment so
+ void UpdateTitlebarButtons();
+
// Changes the preferred size to acceptable based on min_size() and max_size()
gfx::Size ClampSize(const gfx::Size& size) const;

Powered by Google App Engine
This is Rietveld 408576698