Chromium Code Reviews| 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; |