Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(84)

Side by Side Diff: chrome/browser/automation/automation_provider.cc

Issue 4200007: Refactor automation messages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: chrome_frame no longer depends on tab_contents.h Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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/message_box_flags.h" 9 #include "app/message_box_flags.h"
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 #include "chrome/browser/renderer_host/render_process_host.h" 78 #include "chrome/browser/renderer_host/render_process_host.h"
79 #include "chrome/browser/renderer_host/render_view_host.h" 79 #include "chrome/browser/renderer_host/render_view_host.h"
80 #include "chrome/browser/ssl/ssl_manager.h" 80 #include "chrome/browser/ssl/ssl_manager.h"
81 #include "chrome/browser/ssl/ssl_blocking_page.h" 81 #include "chrome/browser/ssl/ssl_blocking_page.h"
82 #include "chrome/browser/tab_contents/infobar_delegate.h" 82 #include "chrome/browser/tab_contents/infobar_delegate.h"
83 #include "chrome/browser/tab_contents/navigation_entry.h" 83 #include "chrome/browser/tab_contents/navigation_entry.h"
84 #include "chrome/browser/tab_contents/tab_contents.h" 84 #include "chrome/browser/tab_contents/tab_contents.h"
85 #include "chrome/browser/tab_contents/tab_contents_view.h" 85 #include "chrome/browser/tab_contents/tab_contents_view.h"
86 #include "chrome/browser/translate/translate_infobar_delegate.h" 86 #include "chrome/browser/translate/translate_infobar_delegate.h"
87 #include "chrome/common/automation_constants.h" 87 #include "chrome/common/automation_constants.h"
88 #include "chrome/common/automation_messages.h"
88 #include "chrome/common/chrome_constants.h" 89 #include "chrome/common/chrome_constants.h"
89 #include "chrome/common/chrome_paths.h" 90 #include "chrome/common/chrome_paths.h"
90 #include "chrome/common/chrome_switches.h" 91 #include "chrome/common/chrome_switches.h"
91 #include "chrome/common/chrome_version_info.h" 92 #include "chrome/common/chrome_version_info.h"
92 #include "chrome/common/extensions/extension.h" 93 #include "chrome/common/extensions/extension.h"
93 #include "chrome/common/json_value_serializer.h" 94 #include "chrome/common/json_value_serializer.h"
94 #include "chrome/common/net/url_request_context_getter.h" 95 #include "chrome/common/net/url_request_context_getter.h"
95 #include "chrome/common/notification_service.h" 96 #include "chrome/common/notification_service.h"
96 #include "chrome/common/pref_names.h" 97 #include "chrome/common/pref_names.h"
97 #include "chrome/common/url_constants.h" 98 #include "chrome/common/url_constants.h"
98 #include "chrome/test/automation/automation_messages.h"
99 #include "chrome/test/automation/tab_proxy.h" 99 #include "chrome/test/automation/tab_proxy.h"
100 #include "net/proxy/proxy_service.h" 100 #include "net/proxy/proxy_service.h"
101 #include "net/proxy/proxy_config_service_fixed.h" 101 #include "net/proxy/proxy_config_service_fixed.h"
102 #include "net/url_request/url_request_context.h" 102 #include "net/url_request/url_request_context.h"
103 #include "chrome/browser/automation/ui_controls.h" 103 #include "chrome/browser/automation/ui_controls.h"
104 #include "views/event.h" 104 #include "views/event.h"
105 #include "webkit/glue/password_form.h" 105 #include "webkit/glue/password_form.h"
106 #include "webkit/glue/plugins/plugin_list.h" 106 #include "webkit/glue/plugins/plugin_list.h"
107 107
108 #if defined(OS_WIN) 108 #if defined(OS_WIN)
(...skipping 878 matching lines...) Expand 10 before | Expand all | Expand 10 after
987 } 987 }
988 } 988 }
989 } 989 }
990 990
991 void AutomationProvider::SaveAsAsync(int tab_handle) { 991 void AutomationProvider::SaveAsAsync(int tab_handle) {
992 NavigationController* tab = NULL; 992 NavigationController* tab = NULL;
993 TabContents* tab_contents = GetTabContentsForHandle(tab_handle, &tab); 993 TabContents* tab_contents = GetTabContentsForHandle(tab_handle, &tab);
994 if (tab_contents) 994 if (tab_contents)
995 tab_contents->OnSavePage(); 995 tab_contents->OnSavePage();
996 } 996 }
OLDNEW
« no previous file with comments | « chrome/browser/automation/automation_provider.h ('k') | chrome/browser/automation/automation_provider_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698