| 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/automation/automation_provider.h" | 5 #include "chrome/browser/automation/automation_provider.h" |
| 6 | 6 |
| 7 #include <set> | 7 #include <set> |
| 8 | 8 |
| 9 #include "app/l10n_util.h" | 9 #include "app/l10n_util.h" |
| 10 #include "app/message_box_flags.h" | 10 #include "app/message_box_flags.h" |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 #include "chrome/browser/extensions/user_script_master.h" | 52 #include "chrome/browser/extensions/user_script_master.h" |
| 53 #include "chrome/browser/find_bar.h" | 53 #include "chrome/browser/find_bar.h" |
| 54 #include "chrome/browser/find_bar_controller.h" | 54 #include "chrome/browser/find_bar_controller.h" |
| 55 #include "chrome/browser/find_notification_details.h" | 55 #include "chrome/browser/find_notification_details.h" |
| 56 #include "chrome/browser/host_content_settings_map.h" | 56 #include "chrome/browser/host_content_settings_map.h" |
| 57 #include "chrome/browser/io_thread.h" | 57 #include "chrome/browser/io_thread.h" |
| 58 #include "chrome/browser/location_bar.h" | 58 #include "chrome/browser/location_bar.h" |
| 59 #include "chrome/browser/login_prompt.h" | 59 #include "chrome/browser/login_prompt.h" |
| 60 #include "chrome/browser/net/url_request_context_getter.h" | 60 #include "chrome/browser/net/url_request_context_getter.h" |
| 61 #include "chrome/browser/net/url_request_mock_util.h" | 61 #include "chrome/browser/net/url_request_mock_util.h" |
| 62 #include "chrome/browser/platform_util.h" |
| 62 #include "chrome/browser/pref_service.h" | 63 #include "chrome/browser/pref_service.h" |
| 63 #include "chrome/browser/profile_manager.h" | 64 #include "chrome/browser/profile_manager.h" |
| 64 #include "chrome/browser/renderer_host/render_process_host.h" | 65 #include "chrome/browser/renderer_host/render_process_host.h" |
| 65 #include "chrome/browser/renderer_host/render_view_host.h" | 66 #include "chrome/browser/renderer_host/render_view_host.h" |
| 66 #include "chrome/browser/ssl/ssl_manager.h" | 67 #include "chrome/browser/ssl/ssl_manager.h" |
| 67 #include "chrome/browser/ssl/ssl_blocking_page.h" | 68 #include "chrome/browser/ssl/ssl_blocking_page.h" |
| 68 #include "chrome/browser/tab_contents/tab_contents.h" | 69 #include "chrome/browser/tab_contents/tab_contents.h" |
| 69 #include "chrome/browser/tab_contents/tab_contents_view.h" | 70 #include "chrome/browser/tab_contents/tab_contents_view.h" |
| 70 #include "chrome/common/automation_constants.h" | 71 #include "chrome/common/automation_constants.h" |
| 71 #include "chrome/common/chrome_paths.h" | 72 #include "chrome/common/chrome_paths.h" |
| 72 #include "chrome/common/extensions/extension.h" | 73 #include "chrome/common/extensions/extension.h" |
| 73 #include "chrome/common/json_value_serializer.h" | 74 #include "chrome/common/json_value_serializer.h" |
| 74 #include "chrome/common/notification_service.h" | 75 #include "chrome/common/notification_service.h" |
| 75 #include "chrome/common/platform_util.h" | |
| 76 #include "chrome/common/pref_names.h" | 76 #include "chrome/common/pref_names.h" |
| 77 #include "chrome/common/url_constants.h" | 77 #include "chrome/common/url_constants.h" |
| 78 #include "chrome/test/automation/automation_messages.h" | 78 #include "chrome/test/automation/automation_messages.h" |
| 79 #include "chrome/test/automation/tab_proxy.h" | 79 #include "chrome/test/automation/tab_proxy.h" |
| 80 #include "net/proxy/proxy_service.h" | 80 #include "net/proxy/proxy_service.h" |
| 81 #include "net/proxy/proxy_config_service_fixed.h" | 81 #include "net/proxy/proxy_config_service_fixed.h" |
| 82 #include "net/url_request/url_request_context.h" | 82 #include "net/url_request/url_request_context.h" |
| 83 #include "views/event.h" | 83 #include "views/event.h" |
| 84 | 84 |
| 85 #if defined(OS_WIN) | 85 #if defined(OS_WIN) |
| (...skipping 3032 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3118 } | 3118 } |
| 3119 | 3119 |
| 3120 void AutomationProvider::WaitForPopupMenuToOpen(IPC::Message* reply_message) { | 3120 void AutomationProvider::WaitForPopupMenuToOpen(IPC::Message* reply_message) { |
| 3121 NOTIMPLEMENTED(); | 3121 NOTIMPLEMENTED(); |
| 3122 } | 3122 } |
| 3123 #endif // !defined(TOOLKIT_VIEWS) | 3123 #endif // !defined(TOOLKIT_VIEWS) |
| 3124 | 3124 |
| 3125 void AutomationProvider::ResetToDefaultTheme() { | 3125 void AutomationProvider::ResetToDefaultTheme() { |
| 3126 profile_->ClearTheme(); | 3126 profile_->ClearTheme(); |
| 3127 } | 3127 } |
| OLD | NEW |