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

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: Merge to LKGR. 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 <utility> 10 #include <utility>
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 enum Type { 62 enum Type {
63 UNKNOWN = 0, 63 UNKNOWN = 0,
64 TASKMANAGER_RESOURCE_TYPE_LIST(TASKMANAGER_RESOURCE_TYPE_LIST_ENUM) 64 TASKMANAGER_RESOURCE_TYPE_LIST(TASKMANAGER_RESOURCE_TYPE_LIST_ENUM)
65 }; 65 };
66 66
67 virtual string16 GetTitle() const = 0; 67 virtual string16 GetTitle() const = 0;
68 virtual string16 GetProfileName() const = 0; 68 virtual string16 GetProfileName() const = 0;
69 virtual SkBitmap GetIcon() const = 0; 69 virtual SkBitmap GetIcon() const = 0;
70 virtual base::ProcessHandle GetProcess() const = 0; 70 virtual base::ProcessHandle GetProcess() const = 0;
71 virtual Type GetType() const = 0; 71 virtual Type GetType() const = 0;
72 virtual int GetRoutingId() const { return 0; } 72 virtual int GetRoutingID() const { return 0; }
73 73
74 virtual bool ReportsCacheStats() const { return false; } 74 virtual bool ReportsCacheStats() const { return false; }
75 virtual WebKit::WebCache::ResourceTypeStats GetWebCoreCacheStats() const { 75 virtual WebKit::WebCache::ResourceTypeStats GetWebCoreCacheStats() const {
76 return WebKit::WebCache::ResourceTypeStats(); 76 return WebKit::WebCache::ResourceTypeStats();
77 } 77 }
78 78
79 virtual bool ReportsFPS() const { return false; } 79 virtual bool ReportsFPS() const { return false; }
80 virtual float GetFPS() const { return 0.0f; } 80 virtual float GetFPS() const { return 0.0f; }
81 81
82 virtual bool ReportsSqliteMemoryUsed() const { return false; } 82 virtual bool ReportsSqliteMemoryUsed() const { return false; }
(...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after
542 // A salt lick for the goats. 542 // A salt lick for the goats.
543 uint64 goat_salt_; 543 uint64 goat_salt_;
544 544
545 // Resource identifier that is unique within single session. 545 // Resource identifier that is unique within single session.
546 int last_unique_id_; 546 int last_unique_id_;
547 547
548 DISALLOW_COPY_AND_ASSIGN(TaskManagerModel); 548 DISALLOW_COPY_AND_ASSIGN(TaskManagerModel);
549 }; 549 };
550 550
551 #endif // CHROME_BROWSER_TASK_MANAGER_TASK_MANAGER_H_ 551 #endif // CHROME_BROWSER_TASK_MANAGER_TASK_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/tabs/tab_strip_model_unittest.cc ('k') | chrome/browser/task_manager/task_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698