OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #include "chrome/browser/renderer_host/render_view_host.h" | 5 #include "chrome/browser/renderer_host/render_view_host.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 #include <utility> | 8 #include <utility> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 11 matching lines...) Expand all Loading... |
22 #include "chrome/browser/cross_site_request_manager.h" | 22 #include "chrome/browser/cross_site_request_manager.h" |
23 #include "chrome/browser/debugger/devtools_manager.h" | 23 #include "chrome/browser/debugger/devtools_manager.h" |
24 #include "chrome/browser/dom_operation_notification_details.h" | 24 #include "chrome/browser/dom_operation_notification_details.h" |
25 #include "chrome/browser/extensions/extension_message_service.h" | 25 #include "chrome/browser/extensions/extension_message_service.h" |
26 #include "chrome/browser/in_process_webkit/session_storage_namespace.h" | 26 #include "chrome/browser/in_process_webkit/session_storage_namespace.h" |
27 #include "chrome/browser/net/predictor_api.h" | 27 #include "chrome/browser/net/predictor_api.h" |
28 #include "chrome/browser/notifications/desktop_notification_service.h" | 28 #include "chrome/browser/notifications/desktop_notification_service.h" |
29 #include "chrome/browser/printing/printer_query.h" | 29 #include "chrome/browser/printing/printer_query.h" |
30 #include "chrome/browser/printing/print_job_manager.h" | 30 #include "chrome/browser/printing/print_job_manager.h" |
31 #include "chrome/browser/printing/print_preview_tab_controller.h" | 31 #include "chrome/browser/printing/print_preview_tab_controller.h" |
32 #include "chrome/browser/profile.h" | 32 #include "chrome/browser/profiles/profile.h" |
33 #include "chrome/browser/renderer_host/render_process_host.h" | 33 #include "chrome/browser/renderer_host/render_process_host.h" |
34 #include "chrome/browser/renderer_host/render_view_host_delegate.h" | 34 #include "chrome/browser/renderer_host/render_view_host_delegate.h" |
35 #include "chrome/browser/renderer_host/render_widget_host.h" | 35 #include "chrome/browser/renderer_host/render_widget_host.h" |
36 #include "chrome/browser/renderer_host/render_widget_host_view.h" | 36 #include "chrome/browser/renderer_host/render_widget_host_view.h" |
37 #include "chrome/browser/renderer_host/site_instance.h" | 37 #include "chrome/browser/renderer_host/site_instance.h" |
38 #include "chrome/common/bindings_policy.h" | 38 #include "chrome/common/bindings_policy.h" |
39 #include "chrome/common/chrome_constants.h" | 39 #include "chrome/common/chrome_constants.h" |
40 #include "chrome/common/chrome_switches.h" | 40 #include "chrome/common/chrome_switches.h" |
41 #include "chrome/common/native_web_keyboard_event.h" | 41 #include "chrome/common/native_web_keyboard_event.h" |
42 #include "chrome/common/net/url_request_context_getter.h" | 42 #include "chrome/common/net/url_request_context_getter.h" |
(...skipping 2208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2251 if (printer_query.get()) { | 2251 if (printer_query.get()) { |
2252 BrowserThread::PostTask( | 2252 BrowserThread::PostTask( |
2253 BrowserThread::IO, FROM_HERE, | 2253 BrowserThread::IO, FROM_HERE, |
2254 NewRunnableMethod(printer_query.get(), | 2254 NewRunnableMethod(printer_query.get(), |
2255 &printing::PrinterQuery::StopWorker)); | 2255 &printing::PrinterQuery::StopWorker)); |
2256 } | 2256 } |
2257 | 2257 |
2258 // Send the printingDone msg for now. | 2258 // Send the printingDone msg for now. |
2259 Send(new ViewMsg_PrintingDone(routing_id(), -1, true)); | 2259 Send(new ViewMsg_PrintingDone(routing_id(), -1, true)); |
2260 } | 2260 } |
OLD | NEW |