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

Side by Side Diff: chrome/renderer/printing/chrome_print_web_view_helper_delegate.h

Issue 791133006: Delegates for the printing component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Using initialisation parameters instead of delegate methods Created 5 years, 11 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved.
Lei Zhang 2015/01/06 04:11:32 nit: no (c)
dgn 2015/01/06 16:35:31 Done.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_RENDERER_PRINTING_CHROME_PRINT_WEB_VIEW_HELPER_DELEGATE_H_
6 #define CHROME_RENDERER_PRINTING_CHROME_PRINT_WEB_VIEW_HELPER_DELEGATE_H_
7
8 #include "chrome/renderer/printing/print_web_view_helper.h"
9
10 namespace content {
11 class RenderView;
12 }
13
14
15 class ChromePrintWebViewHelperDelegate
16 : public printing::PrintWebViewHelper::Delegate {
17 public:
18 ~ChromePrintWebViewHelperDelegate() override;
19
20 // If a scripted print needs to be cancelled, sends a message to do so.
21 // Returns |true| if the message is successfully sent, |false| otherwise.
22 bool CancelPrerender(content::RenderView* render_view,
23 int routing_id) override;
24
25 bool OutOfProcessPdfEnabled() const;
26
27 bool PrintPreviewDisabled() const;
28
29 }; // class ChromePrintWebViewHelperDelegate
30
31 #endif // CHROME_RENDERER_PRINTING_CHROME_PRINT_WEB_VIEW_HELPER_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698