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

Unified Diff: apps/app_window_contents.h

Issue 378193002: AppWindowContents: Clean up unnecessary SuspendRenderViewHost. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Revert initial suspension of resource requests on app window open. Created 6 years, 5 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 | « no previous file | apps/app_window_contents.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/app_window_contents.h
diff --git a/apps/app_window_contents.h b/apps/app_window_contents.h
index a8e0d327e75f273dd97905bc40a3c99e6f1952c2..47d082b3c62f582ab0a84b5139f3cb3bda47dfbe 100644
--- a/apps/app_window_contents.h
+++ b/apps/app_window_contents.h
@@ -5,16 +5,13 @@
#ifndef APPS_APP_WINDOW_CONTENTS_H_
#define APPS_APP_WINDOW_CONTENTS_H_
-#include <vector>
-
#include "apps/app_window.h"
#include "base/basictypes.h"
#include "base/memory/scoped_ptr.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/web_contents_observer.h"
#include "extensions/browser/extension_function_dispatcher.h"
-
-class GURL;
+#include "url/gurl.h"
namespace content {
class BrowserContext;
@@ -31,7 +28,6 @@ namespace apps {
// messages to the extensions system.
class AppWindowContentsImpl
: public AppWindowContents,
- public content::NotificationObserver,
public content::WebContentsObserver,
public extensions::ExtensionFunctionDispatcher::Delegate {
public:
@@ -48,11 +44,6 @@ class AppWindowContentsImpl
virtual content::WebContents* GetWebContents() const OVERRIDE;
private:
- // content::NotificationObserver
- virtual void Observe(int type,
- const content::NotificationSource& source,
- const content::NotificationDetails& details) OVERRIDE;
-
// content::WebContentsObserver
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
@@ -68,7 +59,6 @@ class AppWindowContentsImpl
AppWindow* host_; // This class is owned by |host_|
GURL url_;
- content::NotificationRegistrar registrar_;
scoped_ptr<content::WebContents> web_contents_;
scoped_ptr<extensions::ExtensionFunctionDispatcher>
extension_function_dispatcher_;
« no previous file with comments | « no previous file | apps/app_window_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698