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

Unified Diff: chrome/browser/views/app_launcher.h

Issue 1989002: The app launcher had a height of zero as it was not getting preferred size up... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 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/views/app_launcher.h
===================================================================
--- chrome/browser/views/app_launcher.h (revision 46482)
+++ chrome/browser/views/app_launcher.h (working copy)
@@ -97,6 +97,7 @@
virtual void ToolbarSizeChanged(TabContents* source, bool is_animating) {}
virtual void URLStarredChanged(TabContents* source, bool starred) {}
virtual void UpdateTargetURL(TabContents* source, const GURL& url) {}
+ virtual bool ShouldEnablePreferredSizeNotifications() { return true; }
virtual void UpdatePreferredSize(const gfx::Size& pref_size);
private:

Powered by Google App Engine
This is Rietveld 408576698