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

Unified Diff: printing/printing_context_linux.h

Issue 795043004: Standardize usage of virtual/override/final specifiers in printing code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 | « cloud_print/service/service_state.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/printing_context_linux.h
diff --git a/printing/printing_context_linux.h b/printing/printing_context_linux.h
index d6968d9507039f311b9412075fa18c7117f1fbdd..611fd565f7523f85c8b3d781080ecb1594702d0d 100644
--- a/printing/printing_context_linux.h
+++ b/printing/printing_context_linux.h
@@ -22,7 +22,7 @@ class PrintDialogGtkInterface;
class PRINTING_EXPORT PrintingContextLinux : public PrintingContext {
public:
explicit PrintingContextLinux(Delegate* delegate);
- virtual ~PrintingContextLinux();
+ ~PrintingContextLinux() override;
// Sets the function that creates the print dialog.
static void SetCreatePrintDialogFunction(
@@ -37,23 +37,22 @@ class PRINTING_EXPORT PrintingContextLinux : public PrintingContext {
void PrintDocument(const MetafilePlayer& metafile);
// PrintingContext implementation.
- virtual void AskUserForSettings(
- int max_pages,
- bool has_selection,
- bool is_scripted,
- const PrintSettingsCallback& callback) override;
- virtual gfx::Size GetPdfPaperSizeDeviceUnits() override;
- virtual Result UseDefaultSettings() override;
- virtual Result UpdatePrinterSettings(bool external_preview,
- bool show_system_dialog) override;
- virtual Result InitWithSettings(const PrintSettings& settings) override;
- virtual Result NewDocument(const base::string16& document_name) override;
- virtual Result NewPage() override;
- virtual Result PageDone() override;
- virtual Result DocumentDone() override;
- virtual void Cancel() override;
- virtual void ReleaseContext() override;
- virtual gfx::NativeDrawingContext context() const override;
+ void AskUserForSettings(int max_pages,
+ bool has_selection,
+ bool is_scripted,
+ const PrintSettingsCallback& callback) override;
+ gfx::Size GetPdfPaperSizeDeviceUnits() override;
+ Result UseDefaultSettings() override;
+ Result UpdatePrinterSettings(bool external_preview,
+ bool show_system_dialog) override;
+ Result InitWithSettings(const PrintSettings& settings) override;
+ Result NewDocument(const base::string16& document_name) override;
+ Result NewPage() override;
+ Result PageDone() override;
+ Result DocumentDone() override;
+ void Cancel() override;
+ void ReleaseContext() override;
+ gfx::NativeDrawingContext context() const override;
private:
base::string16 document_name_;
« no previous file with comments | « cloud_print/service/service_state.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698