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

Unified Diff: pdf/out_of_process_instance.h

Issue 1088763004: Update {virtual,override} to follow C++11 style in pdf. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pdf/instance.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pdf/out_of_process_instance.h
diff --git a/pdf/out_of_process_instance.h b/pdf/out_of_process_instance.h
index 62d21c1c4286b0ac1572dca238a46f5977484ca9..091fbc3febab8f26878af4f58b1386f0485370be 100644
--- a/pdf/out_of_process_instance.h
+++ b/pdf/out_of_process_instance.h
@@ -45,35 +45,32 @@ class OutOfProcessInstance : public pp::Instance,
public PreviewModeClient::Client {
public:
explicit OutOfProcessInstance(PP_Instance instance);
- virtual ~OutOfProcessInstance();
+ ~OutOfProcessInstance() override;
// pp::Instance implementation.
- virtual bool Init(uint32_t argc,
- const char* argn[],
- const char* argv[]) override;
- virtual void HandleMessage(const pp::Var& message) override;
- virtual bool HandleInputEvent(const pp::InputEvent& event) override;
- virtual void DidChangeView(const pp::View& view) override;
+ bool Init(uint32_t argc, const char* argn[], const char* argv[]) override;
+ void HandleMessage(const pp::Var& message) override;
+ bool HandleInputEvent(const pp::InputEvent& event) override;
+ void DidChangeView(const pp::View& view) override;
// pp::Find_Private implementation.
- virtual bool StartFind(const std::string& text, bool case_sensitive) override;
- virtual void SelectFindResult(bool forward) override;
- virtual void StopFind() override;
+ bool StartFind(const std::string& text, bool case_sensitive) override;
+ void SelectFindResult(bool forward) override;
+ void StopFind() override;
// pp::PaintManager::Client implementation.
- virtual void OnPaint(const std::vector<pp::Rect>& paint_rects,
- std::vector<PaintManager::ReadyRect>* ready,
- std::vector<pp::Rect>* pending) override;
+ void OnPaint(const std::vector<pp::Rect>& paint_rects,
+ std::vector<PaintManager::ReadyRect>* ready,
+ std::vector<pp::Rect>* pending) override;
// pp::Printing_Dev implementation.
- virtual uint32_t QuerySupportedPrintOutputFormats() override;
- virtual int32_t PrintBegin(
- const PP_PrintSettings_Dev& print_settings) override;
- virtual pp::Resource PrintPages(
+ uint32_t QuerySupportedPrintOutputFormats() override;
+ int32_t PrintBegin(const PP_PrintSettings_Dev& print_settings) override;
+ pp::Resource PrintPages(
const PP_PrintPageNumberRange_Dev* page_ranges,
uint32_t page_range_count) override;
- virtual void PrintEnd() override;
- virtual bool IsPrintScalingDisabled() override;
+ void PrintEnd() override;
+ bool IsPrintScalingDisabled() override;
// pp::Private implementation.
virtual pp::Var GetLinkAtPosition(const pp::Point& point);
@@ -81,7 +78,7 @@ class OutOfProcessInstance : public pp::Instance,
PP_PdfPrintPresetOptions_Dev* options);
// PPP_Selection_Dev implementation.
- virtual pp::Var GetSelectedText(bool html) override;
+ pp::Var GetSelectedText(bool html) override;
void FlushCallback(int32_t result);
void DidOpen(int32_t result);
« no previous file with comments | « pdf/instance.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698