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

Unified Diff: chrome/browser/task_manager/task_manager.h

Issue 8506003: WebUI TaskManager: Add "Activate page" feature. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review fix Created 9 years, 1 month 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 | « chrome/browser/resources/task_manager/main.js ('k') | chrome/browser/task_manager/task_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/task_manager/task_manager.h
diff --git a/chrome/browser/task_manager/task_manager.h b/chrome/browser/task_manager/task_manager.h
index 0d8ba5171ec86cc7712e34d85e74749ccc4156c3..8c8e101938e5918e6bea8262b9c8f4d0ccb4de50 100644
--- a/chrome/browser/task_manager/task_manager.h
+++ b/chrome/browser/task_manager/task_manager.h
@@ -322,6 +322,9 @@ class TaskManagerModel : public base::RefCountedThreadSafe<TaskManagerModel> {
// resource for the given row isn't a renderer.
bool GetV8Memory(int index, size_t* result) const;
+ // Returns true if resource for the given row can be activated.
+ bool CanActivate(int index) const;
+
// Returns true if resource for the given row can be inspected using developer
// tools.
bool CanInspect(int index) const;
« no previous file with comments | « chrome/browser/resources/task_manager/main.js ('k') | chrome/browser/task_manager/task_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698