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

Side by Side Diff: android_webview/browser/aw_printing_message_filter.h

Issue 2508923003: Make printing work better with OOPIF. (try 2) (Closed)
Patch Set: Fix android_webview Created 4 years, 1 month 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
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ANDROID_WEBVIEW_BROWSER_PRINTING_MESSAGE_FILTER_H_ 5 #ifndef ANDROID_WEBVIEW_BROWSER_PRINTING_MESSAGE_FILTER_H_
6 #define ANDROID_WEBVIEW_BROWSER_PRINTING_MESSAGE_FILTER_H_ 6 #define ANDROID_WEBVIEW_BROWSER_PRINTING_MESSAGE_FILTER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "content/public/browser/browser_message_filter.h" 9 #include "content/public/browser/browser_message_filter.h"
10 10
(...skipping 12 matching lines...) Expand all
23 // content::BrowserMessageFilter methods. 23 // content::BrowserMessageFilter methods.
24 void OverrideThreadForMessage(const IPC::Message& message, 24 void OverrideThreadForMessage(const IPC::Message& message,
25 content::BrowserThread::ID* thread) override; 25 content::BrowserThread::ID* thread) override;
26 bool OnMessageReceived(const IPC::Message& message) override; 26 bool OnMessageReceived(const IPC::Message& message) override;
27 27
28 private: 28 private:
29 ~AwPrintingMessageFilter() override; 29 ~AwPrintingMessageFilter() override;
30 30
31 // Used to ask the browser allocate a temporary file for the renderer 31 // Used to ask the browser allocate a temporary file for the renderer
32 // to fill in resulting PDF in renderer. 32 // to fill in resulting PDF in renderer.
33 void OnAllocateTempFileForPrinting(int render_view_id, 33 void OnAllocateTempFileForPrinting(int render_frame_id,
34 base::FileDescriptor* temp_file_fd, 34 base::FileDescriptor* temp_file_fd,
35 int* sequence_number); 35 int* sequence_number);
36 void OnTempFileForPrintingWritten(int render_view_id, int sequence_number); 36 void OnTempFileForPrintingWritten(int render_frame_id, int sequence_number);
37 37
38 const int render_process_id_; 38 const int render_process_id_;
39 39
40 DISALLOW_COPY_AND_ASSIGN(AwPrintingMessageFilter); 40 DISALLOW_COPY_AND_ASSIGN(AwPrintingMessageFilter);
41 }; 41 };
42 42
43 } // namespace android_webview 43 } // namespace android_webview
44 44
45 #endif // ANDROID_WEBVIEW_BROWSER_PRINTING_MESSAGE_FILTER_H_ 45 #endif // ANDROID_WEBVIEW_BROWSER_PRINTING_MESSAGE_FILTER_H_
OLDNEW
« no previous file with comments | « android_webview/browser/aw_print_manager.cc ('k') | android_webview/browser/aw_printing_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698