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

Unified Diff: content/shell/shell.h

Issue 14651029: content: Remove usage of NOTIFICATION_WEB_CONTENTS_DESTROYED from content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo, rebase Created 7 years, 7 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 | « content/browser/web_contents/web_contents_impl.cc ('k') | content/shell/shell.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/shell.h
diff --git a/content/shell/shell.h b/content/shell/shell.h
index 907262fac6fbf9dc2738230b31667cfebc2ccd66..d2d76cf0f221014deb6d5333c0af12c97e077a16 100644
--- a/content/shell/shell.h
+++ b/content/shell/shell.h
@@ -150,6 +150,8 @@ class Shell : public WebContentsDelegate,
STOP_BUTTON
};
+ class DevToolsWebContentsObserver;
+
explicit Shell(WebContents* web_contents);
// Helper to create a new Shell given a newly created WebContents.
@@ -191,6 +193,8 @@ class Shell : public WebContentsDelegate,
const NotificationSource& source,
const NotificationDetails& details) OVERRIDE;
+ void OnDevToolsWebContentsDestroyed();
+
#if defined(OS_WIN) && !defined(USE_AURA)
static ATOM RegisterWindowClass();
static LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
@@ -217,6 +221,7 @@ class Shell : public WebContentsDelegate,
scoped_ptr<WebContents> web_contents_;
+ scoped_ptr<DevToolsWebContentsObserver> devtools_observer_;
ShellDevToolsFrontend* devtools_frontend_;
bool is_fullscreen_;
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/shell/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698