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

Unified Diff: content/public/browser/devtools_frontend_host_delegate.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/browser/devtools_client_host.h ('k') | content/public/browser/devtools_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/devtools_frontend_host_delegate.h
diff --git a/content/public/browser/devtools_frontend_host_delegate.h b/content/public/browser/devtools_frontend_host_delegate.h
index fdda3f1ea3b9c30b5b523fe7ff75a671ae5e17d8..3b05b2b8398060391094fc1f13e7c553e2a2090c 100644
--- a/content/public/browser/devtools_frontend_host_delegate.h
+++ b/content/public/browser/devtools_frontend_host_delegate.h
@@ -36,7 +36,7 @@ class DevToolsFrontendHostDelegate {
// Specifies side for devtools to dock to.
virtual void SetDockSide(const std::string& side) = 0;
- // Opens given |url| in the new tab.
+ // Opens given |url| in a new contents.
virtual void OpenInNewTab(const std::string& url) = 0;
// Saves given |content| associated with the given |url|. Optionally showing
@@ -45,17 +45,18 @@ class DevToolsFrontendHostDelegate {
const std::string& content,
bool save_as) = 0;
- // This method is called when tab inspected by this devtools frontend is
- // closing.
- virtual void InspectedTabClosing() = 0;
+ // This method is called when the contents inspected by this devtools frontend
+ // is closing.
+ virtual void InspectedContentsClosing() = 0;
- // This method is called when tab inspected by this devtools frontend is
- // navigating to |url|.
+ // This method is called when the contents inspected by this devtools frontend
+ // is navigating to |url|.
virtual void FrameNavigating(const std::string& url) = 0;
- // Invoked when tab inspected by this devtools frontend is replaced by
- // another tab. This is triggered by TabStripModel::ReplaceTabContentsAt.
- virtual void TabReplaced(WebContents* new_tab) = 0;
+ // Invoked when the contents inspected by this devtools frontend is replaced
+ // by another contents. This is triggered by
+ // TabStripModel::ReplaceTabContentsAt.
+ virtual void ContentsReplaced(WebContents* new_contents) = 0;
};
} // namespace content
« no previous file with comments | « content/public/browser/devtools_client_host.h ('k') | content/public/browser/devtools_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698