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

Unified Diff: chrome/browser/ui/gtk/extensions/extension_view_gtk.h

Issue 9702068: Move extension pop-ups and notifications to the new auto-resize code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: small update Created 8 years, 9 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/gtk/extensions/extension_view_gtk.h
diff --git a/chrome/browser/ui/gtk/extensions/extension_view_gtk.h b/chrome/browser/ui/gtk/extensions/extension_view_gtk.h
index 5476148b6eeee09c43331090d6859d5e514e63b3..fb39a488b65ba44bff6180da98b847735543f1a4 100644
--- a/chrome/browser/ui/gtk/extensions/extension_view_gtk.h
+++ b/chrome/browser/ui/gtk/extensions/extension_view_gtk.h
@@ -26,8 +26,8 @@ class ExtensionViewGtk {
class Container {
public:
virtual ~Container() {}
- virtual void OnExtensionPreferredSizeChanged(ExtensionViewGtk* view,
- const gfx::Size& new_size) {}
+ virtual void OnExtensionSizeChanged(ExtensionViewGtk* view,
+ const gfx::Size& new_size) {}
};
void Init();
@@ -42,7 +42,7 @@ class ExtensionViewGtk {
// Method for the ExtensionHost to notify us about the correct size for
// extension contents.
- void UpdatePreferredSize(const gfx::Size& new_size);
+ void ResizeDueToAutoResize(const gfx::Size& new_size);
// Method for the ExtensionHost to notify us when the RenderViewHost has a
// connection.

Powered by Google App Engine
This is Rietveld 408576698