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

Unified Diff: printing/printing_context_android.h

Issue 900793008: Update {virtual,override,final} to follow C++11 style in printing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 | « printing/backend/print_backend_dummy.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_android.h
diff --git a/printing/printing_context_android.h b/printing/printing_context_android.h
index 3823b2801530669237ee536f954a07408eef6135..6962c099c783697fd1bd360bd3f808f467a0763f 100644
--- a/printing/printing_context_android.h
+++ b/printing/printing_context_android.h
@@ -19,7 +19,7 @@ namespace printing {
class PRINTING_EXPORT PrintingContextAndroid : public PrintingContext {
public:
explicit PrintingContextAndroid(Delegate* delegate);
- virtual ~PrintingContextAndroid();
+ ~PrintingContextAndroid() override;
// Called when the page is successfully written to a PDF using the file
// descriptor specified, or when the printing operation failed.
@@ -33,23 +33,22 @@ class PRINTING_EXPORT PrintingContextAndroid : public PrintingContext {
void ShowSystemDialogDone(JNIEnv* env, jobject obj);
// PrintingContext implementation.
- virtual void AskUserForSettings(
- int max_pages,
- bool has_selection,
- bool is_scripted,
- const PrintSettingsCallback& callback) override;
- virtual Result UseDefaultSettings() override;
- virtual gfx::Size GetPdfPaperSizeDeviceUnits() 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;
+ Result UseDefaultSettings() override;
+ gfx::Size GetPdfPaperSizeDeviceUnits() 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;
// Registers JNI bindings for RegisterContext.
static bool RegisterPrintingContext(JNIEnv* env);
« no previous file with comments | « printing/backend/print_backend_dummy.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698