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

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: Removed unneeded header 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..cecc872bb07eea6d94731a25c2156bdbf3d2a34b 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;
benwells 2012/03/23 07:21:50 This is cleanup unrelated to this change.
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,9 @@ 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();
« no previous file with comments | « chrome/browser/extensions/platform_app_intent_dispatcher.cc ('k') | chrome/browser/ui/extensions/shell_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698