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

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

Issue 9546001: Support detaching/attaching panels via inter-strip drags. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix per feedback Created 8 years, 10 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 b464b83bf03c9fb38ce91ca1743b140261ebdfb4..83cc27c321c3ca6fcd2efd2101f2d40fa82621ae 100644
--- a/chrome/browser/ui/panels/panel.h
+++ b/chrome/browser/ui/panels/panel.h
@@ -221,6 +221,7 @@ class Panel : public BrowserWindow,
// May be NULL if panel is newly created and has not been positioned yet.
PanelStrip* panel_strip() const { return panel_strip_; }
+ void set_panel_strip(PanelStrip* panel_strip) { panel_strip_ = panel_strip; }
// Moves the panel to the |new_strip|, removing the panel from its
// current strip.
@@ -261,6 +262,9 @@ class Panel : public BrowserWindow,
// Sets whether the panel app icon is visible in the taskbar.
void SetAppIconVisibility(bool visible);
+ // Sets whether the panel window is always on top.
+ void SetAlwaysOnTop(bool on_top);
+
// Newly created panels may be placed in a temporary layout until their
// final position is determined.
bool has_temporary_layout() const { return has_temporary_layout_; }
@@ -321,9 +325,6 @@ class Panel : public BrowserWindow,
ExpansionState expansion_state_;
ExpansionState old_expansion_state_;
- // Indicates whether the panel app icon is visible in the taskbar.
- bool app_icon_visible_;
-
content::NotificationRegistrar registrar_;
DISALLOW_COPY_AND_ASSIGN(Panel);

Powered by Google App Engine
This is Rietveld 408576698