| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 #include "chrome/common/notification_details.h" | 42 #include "chrome/common/notification_details.h" |
| 43 #include "chrome/common/notification_service.h" | 43 #include "chrome/common/notification_service.h" |
| 44 #include "chrome/common/notification_type.h" | 44 #include "chrome/common/notification_type.h" |
| 45 #include "chrome/common/render_messages.h" | 45 #include "chrome/common/render_messages.h" |
| 46 #include "chrome/common/render_messages_params.h" | 46 #include "chrome/common/render_messages_params.h" |
| 47 #include "chrome/common/result_codes.h" | 47 #include "chrome/common/result_codes.h" |
| 48 #include "chrome/common/thumbnail_score.h" | 48 #include "chrome/common/thumbnail_score.h" |
| 49 #include "chrome/common/translate_errors.h" | 49 #include "chrome/common/translate_errors.h" |
| 50 #include "chrome/common/url_constants.h" | 50 #include "chrome/common/url_constants.h" |
| 51 #include "chrome/common/web_apps.h" | 51 #include "chrome/common/web_apps.h" |
| 52 #include "gfx/native_widget_types.h" | |
| 53 #include "net/base/net_util.h" | 52 #include "net/base/net_util.h" |
| 54 #include "printing/native_metafile.h" | 53 #include "printing/native_metafile.h" |
| 55 #include "third_party/skia/include/core/SkBitmap.h" | 54 #include "third_party/skia/include/core/SkBitmap.h" |
| 56 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFindOptions.h" | 55 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFindOptions.h" |
| 56 #include "ui/gfx/native_widget_types.h" |
| 57 #include "webkit/glue/context_menu.h" | 57 #include "webkit/glue/context_menu.h" |
| 58 #include "webkit/glue/webaccessibility.h" | 58 #include "webkit/glue/webaccessibility.h" |
| 59 #include "webkit/glue/webdropdata.h" | 59 #include "webkit/glue/webdropdata.h" |
| 60 | 60 |
| 61 using base::TimeDelta; | 61 using base::TimeDelta; |
| 62 using WebKit::WebConsoleMessage; | 62 using WebKit::WebConsoleMessage; |
| 63 using WebKit::WebDragOperation; | 63 using WebKit::WebDragOperation; |
| 64 using WebKit::WebDragOperationNone; | 64 using WebKit::WebDragOperationNone; |
| 65 using WebKit::WebDragOperationsMask; | 65 using WebKit::WebDragOperationsMask; |
| 66 using WebKit::WebFindOptions; | 66 using WebKit::WebFindOptions; |
| (...skipping 1664 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1731 if (printer_query.get()) { | 1731 if (printer_query.get()) { |
| 1732 BrowserThread::PostTask( | 1732 BrowserThread::PostTask( |
| 1733 BrowserThread::IO, FROM_HERE, | 1733 BrowserThread::IO, FROM_HERE, |
| 1734 NewRunnableMethod(printer_query.get(), | 1734 NewRunnableMethod(printer_query.get(), |
| 1735 &printing::PrinterQuery::StopWorker)); | 1735 &printing::PrinterQuery::StopWorker)); |
| 1736 } | 1736 } |
| 1737 | 1737 |
| 1738 // Send the printingDone msg for now. | 1738 // Send the printingDone msg for now. |
| 1739 Send(new ViewMsg_PrintingDone(routing_id(), params.document_cookie, true)); | 1739 Send(new ViewMsg_PrintingDone(routing_id(), params.document_cookie, true)); |
| 1740 } | 1740 } |
| OLD | NEW |