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_; |