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

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

Issue 9403035: Refactor intra-strip panel drags by introducing PanelDragController. (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 7ef49187ed2ff620d3c441a1a3eb2ba1fb802455..0b63e4f55158ba7c7716df92dd8bc7e35f9dfdbe 100644
--- a/chrome/browser/ui/panels/panel.h
+++ b/chrome/browser/ui/panels/panel.h
@@ -233,8 +233,7 @@ class Panel : public BrowserWindow,
const gfx::Size& max_size() const { return max_size_; }
bool auto_resizable() const { return auto_resizable_; }
- bool draggable() const { return draggable_; }
- void set_draggable(bool can_drag) { draggable_ = can_drag; }
+ bool draggable() const;
// The restored size is the size of the panel when it is expanded.
gfx::Size restored_size() const { return restored_size_; }
@@ -316,9 +315,6 @@ class Panel : public BrowserWindow,
// True if this panel auto resizes based on content.
bool auto_resizable_;
- // True if this panel can be dragged.
- bool draggable_;
-
// Platform specifc implementation for panels. It'd be one of
// PanelBrowserWindowGtk/PanelBrowserView/PanelBrowserWindowCocoa.
NativePanel* native_panel_; // Weak, owns us.

Powered by Google App Engine
This is Rietveld 408576698