| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/printing/print_dialog_cloud.h" | 5 #include "chrome/browser/printing/print_dialog_cloud.h" |
| 6 | 6 |
| 7 | 7 |
| 8 #include "base/base64.h" | 8 #include "base/base64.h" |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/bind_helpers.h" | 10 #include "base/bind_helpers.h" |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 #include "content/public/browser/notification_types.h" | 34 #include "content/public/browser/notification_types.h" |
| 35 #include "content/public/browser/render_view_host.h" | 35 #include "content/public/browser/render_view_host.h" |
| 36 #include "content/public/browser/web_contents.h" | 36 #include "content/public/browser/web_contents.h" |
| 37 #include "content/public/browser/web_contents_observer.h" | 37 #include "content/public/browser/web_contents_observer.h" |
| 38 #include "content/public/browser/web_contents_view.h" | 38 #include "content/public/browser/web_contents_view.h" |
| 39 #include "content/public/browser/web_ui.h" | 39 #include "content/public/browser/web_ui.h" |
| 40 #include "content/public/common/frame_navigate_params.h" | 40 #include "content/public/common/frame_navigate_params.h" |
| 41 #include "webkit/common/webpreferences.h" | 41 #include "webkit/common/webpreferences.h" |
| 42 | 42 |
| 43 #if defined(USE_AURA) | 43 #if defined(USE_AURA) |
| 44 #include "ui/aura/root_window.h" | |
| 45 #include "ui/aura/window.h" | 44 #include "ui/aura/window.h" |
| 45 #include "ui/aura/window_event_dispatcher.h" |
| 46 #endif | 46 #endif |
| 47 | 47 |
| 48 #if defined(OS_WIN) | 48 #if defined(OS_WIN) |
| 49 #include "ui/base/win/foreground_helper.h" | 49 #include "ui/base/win/foreground_helper.h" |
| 50 #endif | 50 #endif |
| 51 | 51 |
| 52 // This module implements the UI support in Chrome for cloud printing. | 52 // This module implements the UI support in Chrome for cloud printing. |
| 53 // This means hosting a dialog containing HTML/JavaScript and using | 53 // This means hosting a dialog containing HTML/JavaScript and using |
| 54 // the published cloud print user interface integration APIs to get | 54 // the published cloud print user interface integration APIs to get |
| 55 // page setup settings from the dialog contents and provide the | 55 // page setup settings from the dialog contents and provide the |
| (...skipping 716 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 772 print_job_print_ticket, | 772 print_job_print_ticket, |
| 773 file_type, | 773 file_type, |
| 774 delete_on_close); | 774 delete_on_close); |
| 775 return true; | 775 return true; |
| 776 } | 776 } |
| 777 } | 777 } |
| 778 return false; | 778 return false; |
| 779 } | 779 } |
| 780 | 780 |
| 781 } // namespace print_dialog_cloud | 781 } // namespace print_dialog_cloud |
| OLD | NEW |