| Index: content/browser/android/content_view_core_impl.h
|
| diff --git a/content/browser/android/content_view_core_impl.h b/content/browser/android/content_view_core_impl.h
|
| index 0c3a5ec3ea18b8568ec3c00228635e4ed047a1d2..0b02a9f097be4699f1d7e76d49bb7f8d1740f5a1 100644
|
| --- a/content/browser/android/content_view_core_impl.h
|
| +++ b/content/browser/android/content_view_core_impl.h
|
| @@ -17,8 +17,6 @@
|
| #include "content/browser/renderer_host/render_widget_host_view_android.h"
|
| #include "content/browser/web_contents/web_contents_impl.h"
|
| #include "content/public/browser/android/content_view_core.h"
|
| -#include "content/public/browser/notification_observer.h"
|
| -#include "content/public/browser/notification_registrar.h"
|
| #include "content/public/browser/web_contents_observer.h"
|
| #include "third_party/WebKit/public/web/WebInputEvent.h"
|
| #include "ui/gfx/rect.h"
|
| @@ -36,7 +34,6 @@ struct MenuItem;
|
|
|
| // TODO(jrg): this is a shell. Upstream the rest.
|
| class ContentViewCoreImpl : public ContentViewCore,
|
| - public NotificationObserver,
|
| public WebContentsObserver {
|
| public:
|
| static ContentViewCoreImpl* FromWebContents(WebContents* web_contents);
|
| @@ -317,13 +314,10 @@ class ContentViewCoreImpl : public ContentViewCore,
|
| friend class ContentViewUserData;
|
| virtual ~ContentViewCoreImpl();
|
|
|
| - // NotificationObserver implementation.
|
| - virtual void Observe(int type,
|
| - const NotificationSource& source,
|
| - const NotificationDetails& details) OVERRIDE;
|
| -
|
| // WebContentsObserver implementation.
|
| virtual void RenderViewReady() OVERRIDE;
|
| + virtual void RenderViewHostChanged(RenderViewHost* old_host,
|
| + RenderViewHost* new_host) OVERRIDE;
|
|
|
| // --------------------------------------------------------------------------
|
| // Other private methods and data
|
| @@ -356,8 +350,6 @@ class ContentViewCoreImpl : public ContentViewCore,
|
| // A weak reference to the Java ContentViewCore object.
|
| JavaObjectWeakGlobalRef java_ref_;
|
|
|
| - NotificationRegistrar notification_registrar_;
|
| -
|
| // Reference to the current WebContents used to determine how and what to
|
| // display in the ContentViewCore.
|
| WebContentsImpl* web_contents_;
|
|
|