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

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

Issue 10961066: Revert 158199 - extensions: Add ExtensionView interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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
===================================================================
--- chrome/browser/ui/gtk/extensions/extension_popup_gtk.h (revision 158218)
+++ chrome/browser/ui/gtk/extensions/extension_popup_gtk.h (working copy)
@@ -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 ExtensionPopupGtk : public content::NotificationObserver,
public BubbleDelegateGtk,
- public ExtensionViewContainer {
+ public ExtensionViewGtk::Container {
public:
enum ShowAction {
SHOW,
@@ -44,10 +44,10 @@
virtual void BubbleClosing(BubbleGtk* bubble,
bool closed_by_escape) OVERRIDE;
- // ExtensionViewContainer implementation.
- virtual void OnExtensionSizeChanged(ExtensionView* view,
- const gfx::Size& new_size) OVERRIDE;
- virtual void OnExtensionViewDidShow(ExtensionView* view) OVERRIDE;
+ // ExtensionViewGtk::Container implementation.
+ virtual void OnExtensionSizeChanged(
+ ExtensionViewGtk* view,
+ const gfx::Size& new_size) 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