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

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

Issue 9517010: Change panels to be able to turn off autoresize. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address feedback and fix issue with preferred size and auto resize having the same callback. 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_manager.h
diff --git a/chrome/browser/ui/panels/panel_manager.h b/chrome/browser/ui/panels/panel_manager.h
index d910db3a7f8448c05276295f8e439c141e458e74..60e2e81421590f5e53540515497a8f270a9ca2a9 100644
--- a/chrome/browser/ui/panels/panel_manager.h
+++ b/chrome/browser/ui/panels/panel_manager.h
@@ -116,6 +116,11 @@ class PanelManager : public AutoHidingDesktopBar::Observer {
return interval;
}
+
+ bool auto_sizing_enabled() const {
+ return auto_sizing_enabled_;
+ }
+
#ifdef UNIT_TEST
static void shorten_time_intervals_for_testing() {
shorten_time_intervals_ = true;

Powered by Google App Engine
This is Rietveld 408576698