summaryrefslogtreecommitdiffstats
path: root/chrome/browser/task_manager_resource_providers.h
diff options
context:
space:
mode:
authorpetersont@google.com <petersont@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-10 22:12:19 +0000
committerpetersont@google.com <petersont@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-10 22:12:19 +0000
commitb7937d5ba2a47d0016933fae4f856e83e5a57afb (patch)
treed8d77aa380b72a5d92a810ebe41e9fb312808a4d /chrome/browser/task_manager_resource_providers.h
parent2f668e22a495259d53772c6cc055547cd26cd7f1 (diff)
downloadchromium_src-b7937d5ba2a47d0016933fae4f856e83e5a57afb.zip
chromium_src-b7937d5ba2a47d0016933fae4f856e83e5a57afb.tar.gz
chromium_src-b7937d5ba2a47d0016933fae4f856e83e5a57afb.tar.bz2
Double clicking on an item in the task manager should bring the relevant tab forward.
Review URL: http://codereview.chromium.org/1822 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2026 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/task_manager_resource_providers.h')
-rw-r--r--chrome/browser/task_manager_resource_providers.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/task_manager_resource_providers.h b/chrome/browser/task_manager_resource_providers.h
index cd300f8..bece876 100644
--- a/chrome/browser/task_manager_resource_providers.h
+++ b/chrome/browser/task_manager_resource_providers.h
@@ -24,6 +24,8 @@ class TaskManagerWebContentsResource : public TaskManager::Resource {
std::wstring GetTitle() const;
SkBitmap GetIcon() const;
HANDLE GetProcess() const;
+ TabContents* GetTabContents() const;
+
// WebContents always provide the network usage.
bool SupportNetworkUsage() const { return true; }
void SetSupportNetworkUsage() { };