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

Side by Side Diff: webkit/common/gpu/context_provider_web_context.h

Issue 825523002: Standardize usage of virtual/override/final specifiers in webkit/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 12 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 | « webkit/common/gpu/context_provider_in_process.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 WEBKIT_COMMON_GPU_CONTEXT_PROVIDER_WEB_CONTEXT_H_ 5 #ifndef WEBKIT_COMMON_GPU_CONTEXT_PROVIDER_WEB_CONTEXT_H_
6 #define WEBKIT_COMMON_GPU_CONTEXT_PROVIDER_WEB_CONTEXT_H_ 6 #define WEBKIT_COMMON_GPU_CONTEXT_PROVIDER_WEB_CONTEXT_H_
7 7
8 #include "cc/output/context_provider.h" 8 #include "cc/output/context_provider.h"
9 9
10 namespace blink { class WebGraphicsContext3D; } 10 namespace blink { class WebGraphicsContext3D; }
11 11
12 namespace webkit { 12 namespace webkit {
13 namespace gpu { 13 namespace gpu {
14 14
15 class ContextProviderWebContext : public cc::ContextProvider { 15 class ContextProviderWebContext : public cc::ContextProvider {
16 public: 16 public:
17 virtual blink::WebGraphicsContext3D* WebContext3D() = 0; 17 virtual blink::WebGraphicsContext3D* WebContext3D() = 0;
18 18
19 protected: 19 protected:
20 virtual ~ContextProviderWebContext() {} 20 ~ContextProviderWebContext() override {}
21 }; 21 };
22 22
23 } // namespace gpu 23 } // namespace gpu
24 } // namespace webkit 24 } // namespace webkit
25 25
26 #endif // WEBKIT_COMMON_GPU_CONTEXT_PROVIDER_WEB_CONTEXT_H_ 26 #endif // WEBKIT_COMMON_GPU_CONTEXT_PROVIDER_WEB_CONTEXT_H_
OLDNEW
« no previous file with comments | « webkit/common/gpu/context_provider_in_process.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698