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

Side by Side Diff: cc/resources/skpicture_content_layer_updater.h

Issue 628443002: replace OVERRIDE and FINAL with override and final in cc/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 6 years, 2 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
« no previous file with comments | « cc/resources/scoped_ui_resource.h ('k') | cc/resources/task_graph_runner_perftest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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 CC_RESOURCES_SKPICTURE_CONTENT_LAYER_UPDATER_H_ 5 #ifndef CC_RESOURCES_SKPICTURE_CONTENT_LAYER_UPDATER_H_
6 #define CC_RESOURCES_SKPICTURE_CONTENT_LAYER_UPDATER_H_ 6 #define CC_RESOURCES_SKPICTURE_CONTENT_LAYER_UPDATER_H_
7 7
8 #include "cc/resources/content_layer_updater.h" 8 #include "cc/resources/content_layer_updater.h"
9 #include "skia/ext/refptr.h" 9 #include "skia/ext/refptr.h"
10 #include "third_party/skia/include/core/SkPicture.h" 10 #include "third_party/skia/include/core/SkPicture.h"
(...skipping 11 matching lines...) Expand all
22 SkPictureContentLayerUpdater( 22 SkPictureContentLayerUpdater(
23 scoped_ptr<LayerPainter> painter, 23 scoped_ptr<LayerPainter> painter,
24 RenderingStatsInstrumentation* stats_instrumentation, 24 RenderingStatsInstrumentation* stats_instrumentation,
25 int layer_id); 25 int layer_id);
26 virtual ~SkPictureContentLayerUpdater(); 26 virtual ~SkPictureContentLayerUpdater();
27 27
28 virtual void PrepareToUpdate(const gfx::Size& content_size, 28 virtual void PrepareToUpdate(const gfx::Size& content_size,
29 const gfx::Rect& paint_rect, 29 const gfx::Rect& paint_rect,
30 const gfx::Size& tile_size, 30 const gfx::Size& tile_size,
31 float contents_width_scale, 31 float contents_width_scale,
32 float contents_height_scale) OVERRIDE; 32 float contents_height_scale) override;
33 void DrawPicture(SkCanvas* canvas); 33 void DrawPicture(SkCanvas* canvas);
34 34
35 private: 35 private:
36 skia::RefPtr<SkPicture> picture_; 36 skia::RefPtr<SkPicture> picture_;
37 37
38 DISALLOW_COPY_AND_ASSIGN(SkPictureContentLayerUpdater); 38 DISALLOW_COPY_AND_ASSIGN(SkPictureContentLayerUpdater);
39 }; 39 };
40 40
41 } // namespace cc 41 } // namespace cc
42 42
43 #endif // CC_RESOURCES_SKPICTURE_CONTENT_LAYER_UPDATER_H_ 43 #endif // CC_RESOURCES_SKPICTURE_CONTENT_LAYER_UPDATER_H_
OLDNEW
« no previous file with comments | « cc/resources/scoped_ui_resource.h ('k') | cc/resources/task_graph_runner_perftest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698