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/automation/automation_provider_observers.h" | 5 #include "chrome/browser/automation/automation_provider_observers.h" |
6 | 6 |
7 #include <deque> | 7 #include <deque> |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 #include "chrome/browser/ui/host_desktop.h" | 61 #include "chrome/browser/ui/host_desktop.h" |
62 #include "chrome/browser/ui/login/login_prompt.h" | 62 #include "chrome/browser/ui/login/login_prompt.h" |
63 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 63 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
64 #include "chrome/browser/ui/webui/ntp/app_launcher_handler.h" | 64 #include "chrome/browser/ui/webui/ntp/app_launcher_handler.h" |
65 #include "chrome/browser/ui/webui/ntp/most_visited_handler.h" | 65 #include "chrome/browser/ui/webui/ntp/most_visited_handler.h" |
66 #include "chrome/browser/ui/webui/ntp/new_tab_ui.h" | 66 #include "chrome/browser/ui/webui/ntp/new_tab_ui.h" |
67 #include "chrome/browser/ui/webui/ntp/recently_closed_tabs_handler.h" | 67 #include "chrome/browser/ui/webui/ntp/recently_closed_tabs_handler.h" |
68 #include "chrome/common/automation_constants.h" | 68 #include "chrome/common/automation_constants.h" |
69 #include "chrome/common/automation_messages.h" | 69 #include "chrome/common/automation_messages.h" |
70 #include "chrome/common/content_settings_types.h" | 70 #include "chrome/common/content_settings_types.h" |
71 #include "chrome/common/extensions/extension.h" | |
72 #include "content/public/browser/dom_operation_notification_details.h" | 71 #include "content/public/browser/dom_operation_notification_details.h" |
73 #include "content/public/browser/navigation_controller.h" | 72 #include "content/public/browser/navigation_controller.h" |
74 #include "content/public/browser/notification_service.h" | 73 #include "content/public/browser/notification_service.h" |
75 #include "content/public/browser/render_process_host.h" | 74 #include "content/public/browser/render_process_host.h" |
76 #include "content/public/browser/render_view_host.h" | 75 #include "content/public/browser/render_view_host.h" |
77 #include "content/public/browser/web_contents.h" | 76 #include "content/public/browser/web_contents.h" |
78 #include "content/public/common/process_type.h" | 77 #include "content/public/common/process_type.h" |
79 #include "extensions/browser/process_manager.h" | 78 #include "extensions/browser/process_manager.h" |
| 79 #include "extensions/common/extension.h" |
80 #include "extensions/common/manifest.h" | 80 #include "extensions/common/manifest.h" |
81 #include "extensions/common/view_type.h" | 81 #include "extensions/common/view_type.h" |
82 #include "ui/gfx/codec/png_codec.h" | 82 #include "ui/gfx/codec/png_codec.h" |
83 #include "ui/gfx/rect.h" | 83 #include "ui/gfx/rect.h" |
84 #include "url/gurl.h" | 84 #include "url/gurl.h" |
85 | 85 |
86 using content::BrowserThread; | 86 using content::BrowserThread; |
87 using content::DomOperationNotificationDetails; | 87 using content::DomOperationNotificationDetails; |
88 using content::DownloadItem; | 88 using content::DownloadItem; |
89 using content::DownloadManager; | 89 using content::DownloadManager; |
(...skipping 2557 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2647 if (automation_.get()) { | 2647 if (automation_.get()) { |
2648 AutomationJSONReply(automation_.get(), reply_message_.release()) | 2648 AutomationJSONReply(automation_.get(), reply_message_.release()) |
2649 .SendSuccess(NULL); | 2649 .SendSuccess(NULL); |
2650 } | 2650 } |
2651 delete this; | 2651 delete this; |
2652 } | 2652 } |
2653 } else { | 2653 } else { |
2654 NOTREACHED(); | 2654 NOTREACHED(); |
2655 } | 2655 } |
2656 } | 2656 } |
OLD | NEW |