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

Side by Side Diff: ppapi/proxy/browser_font_singleton_resource.h

Issue 630883002: replace OVERRIDE and FINAL with override and final in ppapi/ (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
« no previous file with comments | « ppapi/proxy/broker_resource.h ('k') | ppapi/proxy/compositor_layer_resource.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 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 PPAPI_PROXY_BROWSER_FONT_SINGLETON_RESOURCE_H_ 5 #ifndef PPAPI_PROXY_BROWSER_FONT_SINGLETON_RESOURCE_H_
6 #define PPAPI_PROXY_BROWSER_FONT_SINGLETON_RESOURCE_H_ 6 #define PPAPI_PROXY_BROWSER_FONT_SINGLETON_RESOURCE_H_
7 7
8 #include "ppapi/proxy/connection.h" 8 #include "ppapi/proxy/connection.h"
9 #include "ppapi/proxy/plugin_resource.h" 9 #include "ppapi/proxy/plugin_resource.h"
10 #include "ppapi/thunk/ppb_browser_font_singleton_api.h" 10 #include "ppapi/thunk/ppb_browser_font_singleton_api.h"
11 11
12 namespace ppapi { 12 namespace ppapi {
13 namespace proxy { 13 namespace proxy {
14 14
15 // This handles the singleton calls (that don't take a PP_Resource parameter) 15 // This handles the singleton calls (that don't take a PP_Resource parameter)
16 // on the browser font interface 16 // on the browser font interface
17 class BrowserFontSingletonResource 17 class BrowserFontSingletonResource
18 : public PluginResource, 18 : public PluginResource,
19 public thunk::PPB_BrowserFont_Singleton_API { 19 public thunk::PPB_BrowserFont_Singleton_API {
20 public: 20 public:
21 BrowserFontSingletonResource(Connection connection, PP_Instance instance); 21 BrowserFontSingletonResource(Connection connection, PP_Instance instance);
22 virtual ~BrowserFontSingletonResource(); 22 virtual ~BrowserFontSingletonResource();
23 23
24 // Resource override. 24 // Resource override.
25 virtual thunk::PPB_BrowserFont_Singleton_API* 25 virtual thunk::PPB_BrowserFont_Singleton_API*
26 AsPPB_BrowserFont_Singleton_API() OVERRIDE; 26 AsPPB_BrowserFont_Singleton_API() override;
27 27
28 // thunk::PPB_BrowserFontSingleton_API implementation. 28 // thunk::PPB_BrowserFontSingleton_API implementation.
29 virtual PP_Var GetFontFamilies(PP_Instance instance) OVERRIDE; 29 virtual PP_Var GetFontFamilies(PP_Instance instance) override;
30 30
31 private: 31 private:
32 // Lazily-filled-in list of font families. 32 // Lazily-filled-in list of font families.
33 std::string families_; 33 std::string families_;
34 34
35 DISALLOW_COPY_AND_ASSIGN(BrowserFontSingletonResource); 35 DISALLOW_COPY_AND_ASSIGN(BrowserFontSingletonResource);
36 }; 36 };
37 37
38 } // namespace proxy 38 } // namespace proxy
39 } // namespace ppapi 39 } // namespace ppapi
40 40
41 #endif // PPAPI_PROXY_BROWSER_FONT_SINGLETON_RESOURCE_H_ 41 #endif // PPAPI_PROXY_BROWSER_FONT_SINGLETON_RESOURCE_H_
42 42
OLDNEW
« no previous file with comments | « ppapi/proxy/broker_resource.h ('k') | ppapi/proxy/compositor_layer_resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698