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

Side by Side Diff: chrome/browser/debugger/devtools_window.h

Issue 10065017: TabContents -> WebContentsImpl, part 8. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/debugger/devtools_window.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_DEBUGGER_DEVTOOLS_WINDOW_H_ 5 #ifndef CHROME_BROWSER_DEBUGGER_DEVTOOLS_WINDOW_H_
6 #define CHROME_BROWSER_DEBUGGER_DEVTOOLS_WINDOW_H_ 6 #define CHROME_BROWSER_DEBUGGER_DEVTOOLS_WINDOW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 content::RenderViewHost* inspected_rvh); 59 content::RenderViewHost* inspected_rvh);
60 static DevToolsWindow* ToggleDevToolsWindow( 60 static DevToolsWindow* ToggleDevToolsWindow(
61 content::RenderViewHost* inspected_rvh, 61 content::RenderViewHost* inspected_rvh,
62 DevToolsToggleAction action); 62 DevToolsToggleAction action);
63 static void InspectElement( 63 static void InspectElement(
64 content::RenderViewHost* inspected_rvh, int x, int y); 64 content::RenderViewHost* inspected_rvh, int x, int y);
65 65
66 virtual ~DevToolsWindow(); 66 virtual ~DevToolsWindow();
67 67
68 // Overridden from DevToolsClientHost. 68 // Overridden from DevToolsClientHost.
69 virtual void InspectedTabClosing() OVERRIDE; 69 virtual void InspectedContentsClosing() OVERRIDE;
70 virtual void TabReplaced(content::WebContents* new_tab) OVERRIDE; 70 virtual void ContentsReplaced(content::WebContents* new_contents) OVERRIDE;
71 content::RenderViewHost* GetRenderViewHost(); 71 content::RenderViewHost* GetRenderViewHost();
72 72
73 void Show(DevToolsToggleAction action); 73 void Show(DevToolsToggleAction action);
74 74
75 TabContentsWrapper* tab_contents() { return tab_contents_; } 75 TabContentsWrapper* tab_contents() { return tab_contents_; }
76 Browser* browser() { return browser_; } // For tests. 76 Browser* browser() { return browser_; } // For tests.
77 bool is_docked() { return docked_; } 77 bool is_docked() { return docked_; }
78 content::DevToolsClientHost* devtools_client_host() { 78 content::DevToolsClientHost* devtools_client_host() {
79 return frontend_host_; 79 return frontend_host_;
80 } 80 }
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 bool docked_; 156 bool docked_;
157 bool is_loaded_; 157 bool is_loaded_;
158 DevToolsToggleAction action_on_load_; 158 DevToolsToggleAction action_on_load_;
159 content::NotificationRegistrar registrar_; 159 content::NotificationRegistrar registrar_;
160 content::DevToolsClientHost* frontend_host_; 160 content::DevToolsClientHost* frontend_host_;
161 scoped_ptr<DevToolsFileHelper> file_helper_; 161 scoped_ptr<DevToolsFileHelper> file_helper_;
162 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow); 162 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow);
163 }; 163 };
164 164
165 #endif // CHROME_BROWSER_DEBUGGER_DEVTOOLS_WINDOW_H_ 165 #endif // CHROME_BROWSER_DEBUGGER_DEVTOOLS_WINDOW_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/debugger/devtools_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698