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

Side by Side Diff: content/renderer/pepper/pepper_in_process_resource_creation.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) 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 CONTENT_RENDERER_PEPPER_PEPPER_IN_PROCESS_RESOURCE_CREATION_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_IN_PROCESS_RESOURCE_CREATION_H_
6 #define CONTENT_RENDERER_PEPPER_PEPPER_IN_PROCESS_RESOURCE_CREATION_H_ 6 #define CONTENT_RENDERER_PEPPER_PEPPER_IN_PROCESS_RESOURCE_CREATION_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "content/renderer/pepper/resource_creation_impl.h" 10 #include "content/renderer/pepper/resource_creation_impl.h"
(...skipping 25 matching lines...) Expand all
36 // the temporary "two different cases." 36 // the temporary "two different cases."
37 class PepperInProcessResourceCreation : public ResourceCreationImpl { 37 class PepperInProcessResourceCreation : public ResourceCreationImpl {
38 public: 38 public:
39 PepperInProcessResourceCreation(RendererPpapiHostImpl* host_impl, 39 PepperInProcessResourceCreation(RendererPpapiHostImpl* host_impl,
40 PepperPluginInstanceImpl* instance); 40 PepperPluginInstanceImpl* instance);
41 virtual ~PepperInProcessResourceCreation(); 41 virtual ~PepperInProcessResourceCreation();
42 42
43 // ResourceCreation_API implementation. 43 // ResourceCreation_API implementation.
44 virtual PP_Resource CreateBrowserFont( 44 virtual PP_Resource CreateBrowserFont(
45 PP_Instance instance, 45 PP_Instance instance,
46 const PP_BrowserFont_Trusted_Description* description) OVERRIDE; 46 const PP_BrowserFont_Trusted_Description* description) override;
47 virtual PP_Resource CreateFileChooser(PP_Instance instance, 47 virtual PP_Resource CreateFileChooser(PP_Instance instance,
48 PP_FileChooserMode_Dev mode, 48 PP_FileChooserMode_Dev mode,
49 const PP_Var& accept_types) OVERRIDE; 49 const PP_Var& accept_types) override;
50 virtual PP_Resource CreateFileIO(PP_Instance instance) OVERRIDE; 50 virtual PP_Resource CreateFileIO(PP_Instance instance) override;
51 virtual PP_Resource CreateFileRef(PP_Instance instance, 51 virtual PP_Resource CreateFileRef(PP_Instance instance,
52 const ppapi::FileRefCreateInfo& create_info) 52 const ppapi::FileRefCreateInfo& create_info)
53 OVERRIDE; 53 override;
54 virtual PP_Resource CreateFileSystem(PP_Instance instance, 54 virtual PP_Resource CreateFileSystem(PP_Instance instance,
55 PP_FileSystemType type) OVERRIDE; 55 PP_FileSystemType type) override;
56 virtual PP_Resource CreateGraphics2D(PP_Instance pp_instance, 56 virtual PP_Resource CreateGraphics2D(PP_Instance pp_instance,
57 const PP_Size* size, 57 const PP_Size* size,
58 PP_Bool is_always_opaque) OVERRIDE; 58 PP_Bool is_always_opaque) override;
59 virtual PP_Resource CreatePrinting(PP_Instance instance) OVERRIDE; 59 virtual PP_Resource CreatePrinting(PP_Instance instance) override;
60 virtual PP_Resource CreateTrueTypeFont( 60 virtual PP_Resource CreateTrueTypeFont(
61 PP_Instance instance, 61 PP_Instance instance,
62 const struct PP_TrueTypeFontDesc_Dev* desc) OVERRIDE; 62 const struct PP_TrueTypeFontDesc_Dev* desc) override;
63 virtual PP_Resource CreateURLLoader(PP_Instance instance) OVERRIDE; 63 virtual PP_Resource CreateURLLoader(PP_Instance instance) override;
64 virtual PP_Resource CreateURLRequestInfo(PP_Instance instance) OVERRIDE; 64 virtual PP_Resource CreateURLRequestInfo(PP_Instance instance) override;
65 virtual PP_Resource CreateWebSocket(PP_Instance instance) OVERRIDE; 65 virtual PP_Resource CreateWebSocket(PP_Instance instance) override;
66 66
67 private: 67 private:
68 // Non-owning pointer to the host for the current plugin. 68 // Non-owning pointer to the host for the current plugin.
69 RendererPpapiHostImpl* host_impl_; 69 RendererPpapiHostImpl* host_impl_;
70 70
71 DISALLOW_COPY_AND_ASSIGN(PepperInProcessResourceCreation); 71 DISALLOW_COPY_AND_ASSIGN(PepperInProcessResourceCreation);
72 }; 72 };
73 73
74 } // namespace content 74 } // namespace content
75 75
76 #endif // CONTENT_RENDERER_PEPPER_PEPPER_IN_PROCESS_RESOURCE_CREATION_H_ 76 #endif // CONTENT_RENDERER_PEPPER_PEPPER_IN_PROCESS_RESOURCE_CREATION_H_
OLDNEW
« no previous file with comments | « content/renderer/pepper/pepper_hung_plugin_filter.h ('k') | content/renderer/pepper/pepper_in_process_router.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698