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

Side by Side Diff: chrome/browser/task_manager/task_manager.h

Issue 9473001: Extract minimal RenderViewHost interface for embedders, leaving (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Ready for initial review. Created 8 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_TASK_MANAGER_TASK_MANAGER_H_ 5 #ifndef CHROME_BROWSER_TASK_MANAGER_TASK_MANAGER_H_
6 #define CHROME_BROWSER_TASK_MANAGER_TASK_MANAGER_H_ 6 #define CHROME_BROWSER_TASK_MANAGER_TASK_MANAGER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 enum Type { 63 enum Type {
64 UNKNOWN = 0, 64 UNKNOWN = 0,
65 TASKMANAGER_RESOURCE_TYPE_LIST(TASKMANAGER_RESOURCE_TYPE_LIST_ENUM) 65 TASKMANAGER_RESOURCE_TYPE_LIST(TASKMANAGER_RESOURCE_TYPE_LIST_ENUM)
66 }; 66 };
67 67
68 virtual string16 GetTitle() const = 0; 68 virtual string16 GetTitle() const = 0;
69 virtual string16 GetProfileName() const = 0; 69 virtual string16 GetProfileName() const = 0;
70 virtual SkBitmap GetIcon() const = 0; 70 virtual SkBitmap GetIcon() const = 0;
71 virtual base::ProcessHandle GetProcess() const = 0; 71 virtual base::ProcessHandle GetProcess() const = 0;
72 virtual Type GetType() const = 0; 72 virtual Type GetType() const = 0;
73 virtual int GetRoutingId() const { return 0; } 73 virtual int GetRoutingID() const { return 0; }
74 74
75 virtual bool ReportsCacheStats() const { return false; } 75 virtual bool ReportsCacheStats() const { return false; }
76 virtual WebKit::WebCache::ResourceTypeStats GetWebCoreCacheStats() const { 76 virtual WebKit::WebCache::ResourceTypeStats GetWebCoreCacheStats() const {
77 return WebKit::WebCache::ResourceTypeStats(); 77 return WebKit::WebCache::ResourceTypeStats();
78 } 78 }
79 79
80 virtual bool ReportsFPS() const { return false; } 80 virtual bool ReportsFPS() const { return false; }
81 virtual float GetFPS() const { return 0.0f; } 81 virtual float GetFPS() const { return 0.0f; }
82 82
83 virtual bool ReportsSqliteMemoryUsed() const { return false; } 83 virtual bool ReportsSqliteMemoryUsed() const { return false; }
(...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after
538 // A salt lick for the goats. 538 // A salt lick for the goats.
539 int goat_salt_; 539 int goat_salt_;
540 540
541 // Resource identifier that is unique within single session. 541 // Resource identifier that is unique within single session.
542 int last_unique_id_; 542 int last_unique_id_;
543 543
544 DISALLOW_COPY_AND_ASSIGN(TaskManagerModel); 544 DISALLOW_COPY_AND_ASSIGN(TaskManagerModel);
545 }; 545 };
546 546
547 #endif // CHROME_BROWSER_TASK_MANAGER_TASK_MANAGER_H_ 547 #endif // CHROME_BROWSER_TASK_MANAGER_TASK_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698