#endif
#if defined(ENABLE_PRINTING)
-#if defined(ENABLE_FULL_PRINTING)
+#if defined(ENABLE_PRINT_PREVIEW)
#include "chrome/browser/printing/print_preview_message_handler.h"
#include "chrome/browser/printing/print_view_manager.h"
#else
#include "chrome/browser/printing/print_view_manager_basic.h"
-#endif // defined(ENABLE_FULL_PRINTING)
+#endif // defined(ENABLE_PRINT_PREVIEW)
#endif // defined(ENABLE_PRINTING)
namespace {
// Opens a URL when called with the result of if this is the default system
// browser or not.
- virtual void SetDefaultWebClientUIState(
- ShellIntegration::DefaultWebClientUIState state) OVERRIDE {
+ void SetDefaultWebClientUIState(
+ ShellIntegration::DefaultWebClientUIState state) override {
Profile* profile =
Profile::FromBrowserContext(source_->GetBrowserContext());
DCHECK(profile);
}
}
- virtual bool IsOwnedByWorker() OVERRIDE { return true; }
+ bool IsOwnedByWorker() override { return true; }
private:
scoped_ptr<content::WebContents> source_;
: public content::WebContentsDelegate {
public:
NewWindowContentsDelegate() {}
- virtual ~NewWindowContentsDelegate() {}
+ ~NewWindowContentsDelegate() override {}
- virtual content::WebContents* OpenURLFromTab(
+ content::WebContents* OpenURLFromTab(
content::WebContents* source,
- const content::OpenURLParams& params) OVERRIDE;
+ const content::OpenURLParams& params) override;
private:
DISALLOW_COPY_AND_ASSIGN(NewWindowContentsDelegate);
FaviconTabHelper::CreateForWebContents(web_contents);
#if defined(ENABLE_PRINTING)
-#if defined(ENABLE_FULL_PRINTING)
+#if defined(ENABLE_PRINT_PREVIEW)
printing::PrintViewManager::CreateForWebContents(web_contents);
printing::PrintPreviewMessageHandler::CreateForWebContents(web_contents);
#else
printing::PrintViewManagerBasic::CreateForWebContents(web_contents);
-#endif // defined(ENABLE_FULL_PRINTING)
+#endif // defined(ENABLE_PRINT_PREVIEW)
#endif // defined(ENABLE_PRINTING)
extensions::ChromeExtensionWebContentsObserver::CreateForWebContents(
web_contents);