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

Unified Diff: content/browser/tab_contents/tab_contents_delegate.h

Issue 7537030: Make panel adjust bounds per preferred size change notification on Windows. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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
« no previous file with comments | « chrome/test/data/update-preferred-size.html ('k') | content/browser/tab_contents/tab_contents_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/tab_contents/tab_contents_delegate.h
===================================================================
--- content/browser/tab_contents/tab_contents_delegate.h (revision 96104)
+++ content/browser/tab_contents/tab_contents_delegate.h (working copy)
@@ -298,6 +298,9 @@
// and displays nothing.
virtual content::JavaScriptDialogCreator* GetJavaScriptDialogCreator();
+ // Invoked when the preferred size of the contents has been changed.
+ virtual void UpdatePreferredSize(const gfx::Size& pref_size);
brettw 2011/08/11 20:06:48 Although in your case you only have one TabContent
jianli 2011/08/12 00:55:26 Done.
+
protected:
virtual ~TabContentsDelegate();
« no previous file with comments | « chrome/test/data/update-preferred-size.html ('k') | content/browser/tab_contents/tab_contents_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698