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

Unified Diff: cc/input/pinch_zoom_scrollbar_geometry.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/input/pinch_zoom_scrollbar.h ('k') | cc/input/pinch_zoom_scrollbar_painter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/input/pinch_zoom_scrollbar_geometry.h
diff --git a/cc/input/pinch_zoom_scrollbar_geometry.h b/cc/input/pinch_zoom_scrollbar_geometry.h
index b2795b1adabc64d9508e005a256b7c6939cd7c4c..d3c0aca8433bb6e9305c3869964fd77381ae7581 100644
--- a/cc/input/pinch_zoom_scrollbar_geometry.h
+++ b/cc/input/pinch_zoom_scrollbar_geometry.h
@@ -5,6 +5,7 @@
#ifndef CC_INPUT_PINCH_ZOOM_SCROLLBAR_GEOMETRY_H_
#define CC_INPUT_PINCH_ZOOM_SCROLLBAR_GEOMETRY_H_
+#include "base/basictypes.h"
#include "cc/base/cc_export.h"
#include "third_party/WebKit/Source/Platform/chromium/public/WebScrollbarThemeGeometry.h"
@@ -16,6 +17,7 @@ namespace cc {
class PinchZoomScrollbarGeometry : public WebScrollbarThemeGeometry {
public:
+ PinchZoomScrollbarGeometry() {}
virtual ~PinchZoomScrollbarGeometry() {}
static const int kTrackWidth;
@@ -43,6 +45,9 @@ class PinchZoomScrollbarGeometry : public WebScrollbarThemeGeometry {
virtual void splitTrack(
WebScrollbar* scrollbar, const WebRect& track, WebRect& start_track,
WebRect& thumb, WebRect& end_track);
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(PinchZoomScrollbarGeometry);
};
} // namespace WebKit
« no previous file with comments | « cc/input/pinch_zoom_scrollbar.h ('k') | cc/input/pinch_zoom_scrollbar_painter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698