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 |