summaryrefslogtreecommitdiffstats
path: root/content/public/browser/devtools_frontend_host_delegate.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/public/browser/devtools_frontend_host_delegate.h')
-rw-r--r--content/public/browser/devtools_frontend_host_delegate.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/content/public/browser/devtools_frontend_host_delegate.h b/content/public/browser/devtools_frontend_host_delegate.h
index fdda3f1..50a95df 100644
--- a/content/public/browser/devtools_frontend_host_delegate.h
+++ b/content/public/browser/devtools_frontend_host_delegate.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -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