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

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: fix tests 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..bfbf66d30fc5cd85be61683d7b791515930f944a 100644
--- a/chrome/browser/ui/panels/panel_strip.h
+++ b/chrome/browser/ui/panels/panel_strip.h
@@ -63,8 +63,10 @@ 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 the sides from which |panel| can be resized by the user
+ // if |panel| is resizable in this strip.
+ virtual panel::Resizability GetPanelResizability(
+ const Panel* panel) const = 0;
// 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.
« no previous file with comments | « chrome/browser/ui/panels/panel_resize_controller.cc ('k') | chrome/browser/ui/panels/panel_window_controller_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698