Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / printing / print_view_manager.h
index d07299b..aea5d83 100644 (file)
@@ -20,9 +20,9 @@ class PrintViewManagerObserver;
 class PrintViewManager : public PrintViewManagerBase,
                          public content::WebContentsUserData<PrintViewManager> {
  public:
-  virtual ~PrintViewManager();
+  ~PrintViewManager() override;
 
-#if !defined(DISABLE_BASIC_PRINTING)
+#if defined(ENABLE_BASIC_PRINTING)
   // Same as PrintNow(), but for the case where a user prints with the system
   // dialog from print preview.
   bool PrintForSystemDialogNow();
@@ -31,7 +31,7 @@ class PrintViewManager : public PrintViewManagerBase,
   // show the native system dialog. This can happen from both initiator and
   // preview dialog.
   bool BasicPrint();
-#endif  // !DISABLE_BASIC_PRINTING
+#endif  // ENABLE_BASIC_PRINTING
 
   // Initiate print preview of the current document by first notifying the
   // renderer. Since this happens asynchronous, the print preview dialog
@@ -53,11 +53,11 @@ class PrintViewManager : public PrintViewManagerBase,
   void set_observer(PrintViewManagerObserver* observer);
 
   // content::WebContentsObserver implementation.
-  virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
+  bool OnMessageReceived(const IPC::Message& message) override;
 
   // content::WebContentsObserver implementation.
   // Terminates or cancels the print job if one was pending.
-  virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE;
+  void RenderProcessGone(base::TerminationStatus status) override;
 
  private:
   explicit PrintViewManager(content::WebContents* web_contents);