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

Side by Side Diff: content/public/browser/devtools_client_host.h

Issue 10073023: TabContents -> WebContentsImpl, part 14. (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 | « content/common/view_messages.h ('k') | content/public/browser/navigation_entry.h » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_PUBLIC_BROWSER_DEVTOOLS_CLIENT_HOST_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_DEVTOOLS_CLIENT_HOST_H_
6 #define CONTENT_PUBLIC_BROWSER_DEVTOOLS_CLIENT_HOST_H_ 6 #define CONTENT_PUBLIC_BROWSER_DEVTOOLS_CLIENT_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 25 matching lines...) Expand all
36 // is closing. 36 // is closing.
37 virtual void InspectedContentsClosing() = 0; 37 virtual void InspectedContentsClosing() = 0;
38 38
39 // This method is called when the contents inspected by this devtools client 39 // This method is called when the contents inspected by this devtools client
40 // is navigating to |url|. 40 // is navigating to |url|.
41 virtual void FrameNavigating(const std::string& url) = 0; 41 virtual void FrameNavigating(const std::string& url) = 0;
42 42
43 // Invoked when the contents are replaced by another contents. 43 // Invoked when the contents are replaced by another contents.
44 virtual void ContentsReplaced(WebContents* new_contents) = 0; 44 virtual void ContentsReplaced(WebContents* new_contents) = 0;
45 45
46 // Creates DevToolsClientHost for TabContents containing default DevTools 46 // Creates a DevToolsClientHost for a WebContents containing the default
47 // frontend implementation. 47 // DevTools frontend implementation.
48 static DevToolsClientHost* CreateDevToolsFrontendHost( 48 static DevToolsClientHost* CreateDevToolsFrontendHost(
49 WebContents* client_web_contents, 49 WebContents* client_web_contents,
50 DevToolsFrontendHostDelegate* delegate); 50 DevToolsFrontendHostDelegate* delegate);
51 51
52 // Sets up DevToolsClient on the corresponding RenderView. 52 // Sets up DevToolsClient on the corresponding RenderView.
53 static void SetupDevToolsFrontendClient(RenderViewHost* frontend_rvh); 53 static void SetupDevToolsFrontendClient(RenderViewHost* frontend_rvh);
54 }; 54 };
55 55
56 } // namespace content 56 } // namespace content
57 57
58 #endif // CONTENT_PUBLIC_BROWSER_DEVTOOLS_CLIENT_HOST_H_ 58 #endif // CONTENT_PUBLIC_BROWSER_DEVTOOLS_CLIENT_HOST_H_
OLDNEW
« no previous file with comments | « content/common/view_messages.h ('k') | content/public/browser/navigation_entry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698