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

Unified Diff: cc/resources/priority_calculator.h

Issue 13065006: cc: Add DISALLOW_COPY_AND_ASSIGN where appropriate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add operator= for DrawingState back as well Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/resources/platform_color.h ('k') | cc/resources/resource.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/priority_calculator.h
diff --git a/cc/resources/priority_calculator.h b/cc/resources/priority_calculator.h
index 2c940d8213f16b498a688f1369fd40d82377638d..877896176b835d6d88a40416dd95f2ed7384b36e 100644
--- a/cc/resources/priority_calculator.h
+++ b/cc/resources/priority_calculator.h
@@ -5,6 +5,7 @@
#ifndef CC_RESOURCES_PRIORITY_CALCULATOR_H_
#define CC_RESOURCES_PRIORITY_CALCULATOR_H_
+#include "base/basictypes.h"
#include "cc/base/cc_export.h"
namespace gfx { class Rect; }
@@ -13,6 +14,8 @@ namespace cc {
class CC_EXPORT PriorityCalculator {
public:
+ PriorityCalculator() {}
+
static int UIPriority(bool draws_to_root_surface);
static int VisiblePriority(bool draws_to_root_surface);
static int RenderSurfacePriority();
@@ -34,6 +37,9 @@ class CC_EXPORT PriorityCalculator {
static int AllowVisibleOnlyCutoff();
static int AllowVisibleAndNearbyCutoff();
static int AllowEverythingCutoff();
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(PriorityCalculator);
};
} // namespace cc
« no previous file with comments | « cc/resources/platform_color.h ('k') | cc/resources/resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698