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

Side by Side Diff: pdf/pdf.h

Issue 1554533002: Mark methods with override in pdf/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: How did pdf/ escape the wrath of the Clang plugin? Created 4 years, 11 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 PDF_PDF_H_ 5 #ifndef PDF_PDF_H_
6 #define PDF_PDF_H_ 6 #define PDF_PDF_H_
7 7
8 #include "ppapi/c/ppb.h" 8 #include "ppapi/c/ppb.h"
9 #include "ppapi/cpp/module.h" 9 #include "ppapi/cpp/module.h"
10 10
11 namespace chrome_pdf { 11 namespace chrome_pdf {
12 12
13 class PDFModule : public pp::Module { 13 class PDFModule : public pp::Module {
14 public: 14 public:
15 PDFModule(); 15 PDFModule();
16 virtual ~PDFModule(); 16 ~PDFModule() override;
17 17
18 // pp::Module implementation. 18 // pp::Module implementation.
19 virtual bool Init(); 19 bool Init() override;
20 virtual pp::Instance* CreateInstance(PP_Instance instance); 20 pp::Instance* CreateInstance(PP_Instance instance) override;
21 }; 21 };
22 22
23 int PPP_InitializeModule(PP_Module module_id, 23 int PPP_InitializeModule(PP_Module module_id,
24 PPB_GetInterface get_browser_interface); 24 PPB_GetInterface get_browser_interface);
25 void PPP_ShutdownModule(); 25 void PPP_ShutdownModule();
26 const void* PPP_GetInterface(const char* interface_name); 26 const void* PPP_GetInterface(const char* interface_name);
27 27
28 #if defined(OS_WIN) 28 #if defined(OS_WIN)
29 // |pdf_buffer| is the buffer that contains the entire PDF document to be 29 // |pdf_buffer| is the buffer that contains the entire PDF document to be
30 // rendered. 30 // rendered.
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 int page_number, 104 int page_number,
105 void* bitmap_buffer, 105 void* bitmap_buffer,
106 int bitmap_width, 106 int bitmap_width,
107 int bitmap_height, 107 int bitmap_height,
108 int dpi, 108 int dpi,
109 bool autorotate); 109 bool autorotate);
110 110
111 } // namespace chrome_pdf 111 } // namespace chrome_pdf
112 112
113 #endif // PDF_PDF_H_ 113 #endif // PDF_PDF_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698