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

Side by Side Diff: chrome/browser/printing/print_preview_message_handler.h

Issue 6334010: Print Preview: Store preview data in the print preview handler.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
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_BROWSER_PRINTING_PRINT_PREVIEW_MESSAGE_HANDLER_H_
6 #define CHROME_BROWSER_PRINTING_PRINT_PREVIEW_MESSAGE_HANDLER_H_
7 #pragma once
8
9 #include "chrome/browser/tab_contents/web_navigation_observer.h"
10
11 struct ViewHostMsg_DidPreviewDocument_Params;
12
13 namespace printing {
14
15 class PrintPreviewMessageHandler : public WebNavigationObserver {
16 public:
17 explicit PrintPreviewMessageHandler(TabContents* owner);
18 ~PrintPreviewMessageHandler();
James Hawkins 2011/01/31 18:39:38 virtual
Lei Zhang 2011/01/31 22:15:51 Done.
19
20 void OnPagesReadyForPreview(
21 const ViewHostMsg_DidPreviewDocument_Params& params);
22 // WebNavigationObserver implementation.
James Hawkins 2011/01/31 18:39:38 Blank line above this line.
Lei Zhang 2011/01/31 22:15:51 Done.
23 virtual bool OnMessageReceived(const IPC::Message& message);
24
25 private:
26 TabContents* GetOrCreatePrintPreviewTab();
James Hawkins 2011/01/31 18:39:38 Document.
Lei Zhang 2011/01/31 22:15:51 Done.
27
28 TabContents* owner_;
James Hawkins 2011/01/31 18:39:38 Document.
Lei Zhang 2011/01/31 22:15:51 Done.
29
30 DISALLOW_COPY_AND_ASSIGN(PrintPreviewMessageHandler);
31 };
32
33 } // namespace printing
34
35 #endif // CHROME_BROWSER_PRINTING_PRINT_PREVIEW_MESSAGE_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698