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

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

Issue 8621002: Reduce minimum size of Panels to allow 1-text-line tight autosize. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merged and updated tests Created 9 years, 1 month 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.cc
diff --git a/chrome/browser/ui/panels/panel_manager.cc b/chrome/browser/ui/panels/panel_manager.cc
index 55586073053b0f81cbeecd8628d85ef12426eebd..ba16cdb6a8d1db8c5ef4d061f82e5b192ff477b7 100644
--- a/chrome/browser/ui/panels/panel_manager.cc
+++ b/chrome/browser/ui/panels/panel_manager.cc
@@ -50,6 +50,10 @@ const int kMillisecondsBeforeCollapsingFromTitleOnlyState = 0;
} // namespace
// static
+const int PanelManager::kPanelMinWidth;
jennb 2011/11/23 04:38:42 Are these needed?
Dmitry Titov 2011/11/23 18:47:49 Yes! Without these, linker often complains that it
+const int PanelManager::kPanelMinHeight;
+
+// static
PanelManager* PanelManager::GetInstance() {
static base::LazyInstance<PanelManager> instance = LAZY_INSTANCE_INITIALIZER;
return instance.Pointer();
« chrome/browser/ui/panels/panel_browsertest.cc ('K') | « chrome/browser/ui/panels/panel_manager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698