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

Unified Diff: chrome/browser/tab_contents/web_contents_view_win.h

Issue 21540: Add developer tools message forwarding to browser (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 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/tab_contents/web_contents_view_win.h
===================================================================
--- chrome/browser/tab_contents/web_contents_view_win.h (revision 10454)
+++ chrome/browser/tab_contents/web_contents_view_win.h (working copy)
@@ -10,10 +10,12 @@
#include "chrome/browser/tab_contents/web_contents_view.h"
#include "chrome/views/widget_win.h"
+class DevToolsWindow;
class SadTabView;
struct WebDropData;
class WebDropTarget;
+
// Windows-specific implementation of the WebContentsView. It is a HWND that
// contains all of the contents of the tab and associated child views.
class WebContentsViewWin : public WebContentsView,
@@ -39,6 +41,8 @@
virtual void SetPageTitle(const std::wstring& title);
virtual void Invalidate();
virtual void SizeContents(const gfx::Size& size);
+ virtual void OpenDeveloperTools();
+ virtual void ForwardMessageToDevToolsClient(const IPC::Message& message);
// Backend implementation of RenderViewHostDelegate::View.
virtual WebContents* CreateNewWindowInternal(
@@ -96,6 +100,9 @@
WebContents* web_contents_;
+ // Allows to show exactly one developer tools window for this page.
+ scoped_ptr<DevToolsWindow> dev_tools_window_;
+
// A drop target object that handles drags over this WebContents.
scoped_refptr<WebDropTarget> drop_target_;
« no previous file with comments | « chrome/browser/tab_contents/web_contents_view_mac.mm ('k') | chrome/browser/tab_contents/web_contents_view_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698