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

Unified Diff: chrome/browser/ui/extensions/shell_window.h

Issue 9845003: Pass command line arguments onto platform apps which provide the right intent. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Include files 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/extensions/shell_window.h
diff --git a/chrome/browser/ui/extensions/shell_window.h b/chrome/browser/ui/extensions/shell_window.h
index 90cc69202d249ceb196506370432dabf3bf3f0ed..bc9deab2df2d0f4184903559d9664656cc6d568c 100644
--- a/chrome/browser/ui/extensions/shell_window.h
+++ b/chrome/browser/ui/extensions/shell_window.h
@@ -12,18 +12,20 @@
#include "chrome/browser/ui/base_window.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
+#include "content/public/browser/web_contents_observer.h"
class Extension;
-class ExtensionHost;
class ExtensionWindowController;
class GURL;
class Profile;
namespace content {
+class RenderViewHost;
class WebContents;
}
class ShellWindow : public content::NotificationObserver,
+ public content::WebContentsObserver,
public BaseWindow {
public:
content::WebContents* web_contents() const { return host_->host_contents(); }
@@ -41,6 +43,10 @@ class ShellWindow : public content::NotificationObserver,
const content::NotificationSource& source,
const content::NotificationDetails& details) OVERRIDE;
+ // content::WebContentsObserver implementation.
+ virtual void RenderViewCreated(content::RenderViewHost* render_view_host)
+ OVERRIDE;
+
protected:
explicit ShellWindow(ExtensionHost* host_);
virtual ~ShellWindow();

Powered by Google App Engine
This is Rietveld 408576698