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

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

Issue 10913243: extensions: Add ExtensionView interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: weak Created 8 years, 3 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_popup_gtk.h
diff --git a/chrome/browser/ui/gtk/extensions/extension_popup_gtk.h b/chrome/browser/ui/gtk/extensions/extension_popup_gtk.h
index ef1e74c39f9c68162606a365f2e0b2f145e8de0c..75935cb45ac2e7a4c22ea41e197df65ef0ba36d3 100644
--- a/chrome/browser/ui/gtk/extensions/extension_popup_gtk.h
+++ b/chrome/browser/ui/gtk/extensions/extension_popup_gtk.h
@@ -8,8 +8,8 @@
#include "base/compiler_specific.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
+#include "chrome/browser/extensions/extension_view_container.h"
#include "chrome/browser/ui/gtk/bubble/bubble_gtk.h"
-#include "chrome/browser/ui/gtk/extensions/extension_view_gtk.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
#include "ui/gfx/rect.h"
@@ -23,7 +23,7 @@ class ExtensionHost;
class ExtensionPopupGtk : public content::NotificationObserver,
public BubbleDelegateGtk,
- public ExtensionViewGtk::Container {
+ public ExtensionViewContainer {
public:
enum ShowAction {
SHOW,
@@ -44,10 +44,10 @@ class ExtensionPopupGtk : public content::NotificationObserver,
virtual void BubbleClosing(BubbleGtk* bubble,
bool closed_by_escape) OVERRIDE;
- // ExtensionViewGtk::Container implementation.
- virtual void OnExtensionSizeChanged(
- ExtensionViewGtk* view,
- const gfx::Size& new_size) OVERRIDE;
+ // ExtensionViewContainer implementation.
+ virtual void OnExtensionSizeChanged(ExtensionView* view,
+ const gfx::Size& new_size) OVERRIDE;
+ virtual void OnExtensionViewDidShow(ExtensionView* view) OVERRIDE;
// Destroys the popup widget. This will in turn destroy us since we delete
// ourselves when the bubble closes. Returns true if we successfully

Powered by Google App Engine
This is Rietveld 408576698