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

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

Issue 10066032: Enable user resizing for docked Panels (GTK and Mac). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: minor cleanup Created 8 years, 8 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_strip.h
diff --git a/chrome/browser/ui/panels/panel_strip.h b/chrome/browser/ui/panels/panel_strip.h
index 46ce57b17f69827ffaa25c58a43d6d99baa48d7c..6b12ffd4cde403498fd49803f022bdb91fda1115 100644
--- a/chrome/browser/ui/panels/panel_strip.h
+++ b/chrome/browser/ui/panels/panel_strip.h
@@ -63,8 +63,8 @@ class PanelStrip {
virtual void ResizePanelWindow(Panel* panel,
const gfx::Size& preferred_window_size) = 0;
- // Returns true if |panel| can be resized by the user when in this strip.
- virtual bool CanResizePanel(const Panel* panel) const = 0;
+ // Returns whether/how |panel| can be resized by the user when in this strip.
jianli 2012/04/13 00:52:36 Probably clearer to say: returns the edges that ca
jennb 2012/04/13 19:48:04 Done.
+ virtual panel::Resizability CanResizePanel(const Panel* panel) const = 0;
jianli 2012/04/13 00:52:36 Can*** makes me think about the bool return value.
Dmitry Titov 2012/04/13 02:55:45 GetPanelResizability()?
jennb 2012/04/13 19:48:04 Done. Did not rename CanResizeByMouse() in this pa
// Change panel's bounds and take care of all possible side effects
// in ths strip as a result of the panel being resized by the user.

Powered by Google App Engine
This is Rietveld 408576698