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

Side by Side Diff: include/core/SkBBHFactory.h

Issue 1037793002: C++11 override should now be supported by all of {bots,Chrome,Android,Mozilla} (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: git cl web Created 5 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
« no previous file with comments | « include/codec/SkCodec.h ('k') | include/core/SkBitmap.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2014 Google Inc. 2 * Copyright 2014 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkBBHFactory_DEFINED 8 #ifndef SkBBHFactory_DEFINED
9 #define SkBBHFactory_DEFINED 9 #define SkBBHFactory_DEFINED
10 10
11 #include "SkRect.h" 11 #include "SkRect.h"
12 12
13 class SkBBoxHierarchy; 13 class SkBBoxHierarchy;
14 14
15 class SK_API SkBBHFactory { 15 class SK_API SkBBHFactory {
16 public: 16 public:
17 /** 17 /**
18 * Allocate a new SkBBoxHierarchy. Return NULL on failure. 18 * Allocate a new SkBBoxHierarchy. Return NULL on failure.
19 */ 19 */
20 virtual SkBBoxHierarchy* operator()(const SkRect& bounds) const = 0; 20 virtual SkBBoxHierarchy* operator()(const SkRect& bounds) const = 0;
21 virtual ~SkBBHFactory() {}; 21 virtual ~SkBBHFactory() {};
22 }; 22 };
23 23
24 class SK_API SkRTreeFactory : public SkBBHFactory { 24 class SK_API SkRTreeFactory : public SkBBHFactory {
25 public: 25 public:
26 SkBBoxHierarchy* operator()(const SkRect& bounds) const SK_OVERRIDE; 26 SkBBoxHierarchy* operator()(const SkRect& bounds) const override;
27 private: 27 private:
28 typedef SkBBHFactory INHERITED; 28 typedef SkBBHFactory INHERITED;
29 }; 29 };
30 30
31 #endif 31 #endif
OLDNEW
« no previous file with comments | « include/codec/SkCodec.h ('k') | include/core/SkBitmap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698