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

Unified Diff: chrome/browser/ui/panels/panel_browser_view.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_browser_view.h
diff --git a/chrome/browser/ui/panels/panel_browser_view.h b/chrome/browser/ui/panels/panel_browser_view.h
index 00798fbd277307659463744bdf2369bd073f531c..8080fc0c734392fa54f958622b287b4adb72fdd4 100644
--- a/chrome/browser/ui/panels/panel_browser_view.h
+++ b/chrome/browser/ui/panels/panel_browser_view.h
@@ -38,8 +38,9 @@ class PanelBrowserView : public BrowserView,
// Called from frame view when titlebar receives a mouse event.
// Return true if the event is handled.
- bool OnTitlebarMousePressed(const gfx::Point& location);
- bool OnTitlebarMouseDragged(const gfx::Point& location);
+ // |mouse_location| is in screen coordinates.
+ bool OnTitlebarMousePressed(const gfx::Point& mouse_location);
+ bool OnTitlebarMouseDragged(const gfx::Point& mouse_location);
bool OnTitlebarMouseReleased();
bool OnTitlebarMouseCaptureLost();
@@ -121,6 +122,7 @@ class PanelBrowserView : public BrowserView,
virtual gfx::Size IconOnlySize() const OVERRIDE;
virtual void EnsurePanelFullyVisible() OVERRIDE;
virtual void SetPanelAppIconVisibility(bool visible) OVERRIDE;
+ virtual void SetPanelAlwaysOnTop(bool on_top) OVERRIDE;
// Overridden from AnimationDelegate:
virtual void AnimationEnded(const ui::Animation* animation) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698