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

Side by Side Diff: content/renderer/skia_benchmarking_extension.h

Issue 633303002: Replace FINAL and OVERRIDE with their C++11 counterparts in content/renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 CONTENT_RENDERER_SKIA_BENCHMARKING_EXTENSION_H_ 5 #ifndef CONTENT_RENDERER_SKIA_BENCHMARKING_EXTENSION_H_
6 #define CONTENT_RENDERER_SKIA_BENCHMARKING_EXTENSION_H_ 6 #define CONTENT_RENDERER_SKIA_BENCHMARKING_EXTENSION_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "gin/wrappable.h" 9 #include "gin/wrappable.h"
10 10
(...skipping 14 matching lines...) Expand all
25 25
26 // Wrapper around SkGraphics::Init that can be invoked multiple times. 26 // Wrapper around SkGraphics::Init that can be invoked multiple times.
27 static void Initialize(); 27 static void Initialize();
28 28
29 private: 29 private:
30 SkiaBenchmarking(); 30 SkiaBenchmarking();
31 virtual ~SkiaBenchmarking(); 31 virtual ~SkiaBenchmarking();
32 32
33 // gin::Wrappable. 33 // gin::Wrappable.
34 virtual gin::ObjectTemplateBuilder GetObjectTemplateBuilder( 34 virtual gin::ObjectTemplateBuilder GetObjectTemplateBuilder(
35 v8::Isolate* isolate) OVERRIDE; 35 v8::Isolate* isolate) override;
36 36
37 // Rasterizes a Picture JSON-encoded by cc::Picture::AsValue(). 37 // Rasterizes a Picture JSON-encoded by cc::Picture::AsValue().
38 // 38 //
39 // Takes a JSON-encoded cc::Picture and optionally rasterization parameters: 39 // Takes a JSON-encoded cc::Picture and optionally rasterization parameters:
40 // { 40 // {
41 // 'scale': {Number}, 41 // 'scale': {Number},
42 // 'stop': {Number}, 42 // 'stop': {Number},
43 // 'overdraw': {Boolean}, 43 // 'overdraw': {Boolean},
44 // 'clip': [Number, Number, Number, Number] 44 // 'clip': [Number, Number, Number, Number]
45 // } 45 // }
(...skipping 23 matching lines...) Expand all
69 // Takes a base64 encoded SKP and returns 69 // Takes a base64 encoded SKP and returns
70 // { 'width': {Number}, 'height': {Number} } 70 // { 'width': {Number}, 'height': {Number} }
71 void GetInfo(gin::Arguments* args); 71 void GetInfo(gin::Arguments* args);
72 72
73 DISALLOW_COPY_AND_ASSIGN(SkiaBenchmarking); 73 DISALLOW_COPY_AND_ASSIGN(SkiaBenchmarking);
74 }; 74 };
75 75
76 } // namespace content 76 } // namespace content
77 77
78 #endif // CONTENT_RENDERER_SKIA_BENCHMARKING_EXTENSION_H_ 78 #endif // CONTENT_RENDERER_SKIA_BENCHMARKING_EXTENSION_H_
OLDNEW
« no previous file with comments | « content/renderer/shared_worker_repository.h ('k') | content/renderer/speech_recognition_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698