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

Side by Side Diff: components/pdf/renderer/pepper_pdf_host.h

Issue 1056633004: Update {virtual,override} to follow C++11 style in components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix logo tracker unittest. Created 5 years, 7 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 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 COMPONENTS_PDF_RENDERER_PEPPER_PDF_HOST_H_ 5 #ifndef COMPONENTS_PDF_RENDERER_PEPPER_PDF_HOST_H_
6 #define COMPONENTS_PDF_RENDERER_PEPPER_PDF_HOST_H_ 6 #define COMPONENTS_PDF_RENDERER_PEPPER_PDF_HOST_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 23 matching lines...) Expand all
34 } 34 }
35 } 35 }
36 36
37 namespace pdf { 37 namespace pdf {
38 38
39 class PepperPDFHost : public ppapi::host::ResourceHost { 39 class PepperPDFHost : public ppapi::host::ResourceHost {
40 public: 40 public:
41 PepperPDFHost(content::RendererPpapiHost* host, 41 PepperPDFHost(content::RendererPpapiHost* host,
42 PP_Instance instance, 42 PP_Instance instance,
43 PP_Resource resource); 43 PP_Resource resource);
44 virtual ~PepperPDFHost(); 44 ~PepperPDFHost() override;
45 45
46 virtual int32_t OnResourceMessageReceived( 46 int32_t OnResourceMessageReceived(
47 const IPC::Message& msg, 47 const IPC::Message& msg,
48 ppapi::host::HostMessageContext* context) override; 48 ppapi::host::HostMessageContext* context) override;
49 49
50 private: 50 private:
51 int32_t OnHostMsgGetLocalizedString(ppapi::host::HostMessageContext* context, 51 int32_t OnHostMsgGetLocalizedString(ppapi::host::HostMessageContext* context,
52 PP_ResourceString string_id); 52 PP_ResourceString string_id);
53 int32_t OnHostMsgDidStartLoading(ppapi::host::HostMessageContext* context); 53 int32_t OnHostMsgDidStartLoading(ppapi::host::HostMessageContext* context);
54 int32_t OnHostMsgDidStopLoading(ppapi::host::HostMessageContext* context); 54 int32_t OnHostMsgDidStopLoading(ppapi::host::HostMessageContext* context);
55 int32_t OnHostMsgSetContentRestriction( 55 int32_t OnHostMsgSetContentRestriction(
56 ppapi::host::HostMessageContext* context, 56 ppapi::host::HostMessageContext* context,
(...skipping 23 matching lines...) Expand all
80 uint32_t* out_byte_count); 80 uint32_t* out_byte_count);
81 81
82 content::RendererPpapiHost* host_; 82 content::RendererPpapiHost* host_;
83 83
84 DISALLOW_COPY_AND_ASSIGN(PepperPDFHost); 84 DISALLOW_COPY_AND_ASSIGN(PepperPDFHost);
85 }; 85 };
86 86
87 } // namespace pdf 87 } // namespace pdf
88 88
89 #endif // COMPONENTS_PDF_RENDERER_PEPPER_PDF_HOST_H_ 89 #endif // COMPONENTS_PDF_RENDERER_PEPPER_PDF_HOST_H_
OLDNEW
« no previous file with comments | « components/pdf/browser/pdf_web_contents_helper.h ('k') | components/policy/core/common/async_policy_provider_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698