Index: chrome/browser/ui/panels/panel.h |
diff --git a/chrome/browser/ui/panels/panel.h b/chrome/browser/ui/panels/panel.h |
index 26714f15daaa0ebff05728b7abad1eb44f089218..637ce47057dbfdd1fed9774bfc20aa0786d1ef1d 100644 |
--- a/chrome/browser/ui/panels/panel.h |
+++ b/chrome/browser/ui/panels/panel.h |
@@ -18,6 +18,14 @@ |
class NativePanel; |
class PanelManager; |
+// Type of the panel strip which currently manages the panel location, |
+// visual state and size. |
+// TODO(jianli): When we have PanelStrip base class, move it into PanelStrip. |
+enum PanelStripType { |
+ DOCKED_STRIP, |
+ OVERFLOW_STRIP |
+}; |
+ |
// A platform independent implementation of BrowserWindow for Panels. This |
// class would get the first crack at all the BrowserWindow calls for Panels and |
// do one or more of the following: |
@@ -71,6 +79,10 @@ class Panel : public BrowserWindow, |
// top-most windows. |
void EnsureFullyVisible(); |
+ // TODO(jianli): When we can use Panel::currentStrip()->type(), the |
+ // 'newPanelStrip' parameter can be removed. |
+ void ApplyVisualStyleForStrip(PanelStripType newPanelStrip); |
+ |
int TitleOnlyHeight() const; |
// Returns the size of the panel when it is iconified, as shown on the |