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

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

Issue 6598057: Split infobar_delegate.[cc,h] into separate pieces for the different classes defined within, so that (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix wrong include Created 9 years, 9 months 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) 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/automation/testing_automation_provider.h" 5 #include "chrome/browser/automation/testing_automation_provider.h"
6 6
7 #include <map> 7 #include <map>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 14 matching lines...) Expand all
25 #include "chrome/browser/autocomplete/autocomplete_match.h" 25 #include "chrome/browser/autocomplete/autocomplete_match.h"
26 #include "chrome/browser/autofill/autofill_manager.h" 26 #include "chrome/browser/autofill/autofill_manager.h"
27 #include "chrome/browser/automation/automation_autocomplete_edit_tracker.h" 27 #include "chrome/browser/automation/automation_autocomplete_edit_tracker.h"
28 #include "chrome/browser/automation/automation_browser_tracker.h" 28 #include "chrome/browser/automation/automation_browser_tracker.h"
29 #include "chrome/browser/automation/automation_provider_json.h" 29 #include "chrome/browser/automation/automation_provider_json.h"
30 #include "chrome/browser/automation/automation_provider_list.h" 30 #include "chrome/browser/automation/automation_provider_list.h"
31 #include "chrome/browser/automation/automation_provider_observers.h" 31 #include "chrome/browser/automation/automation_provider_observers.h"
32 #include "chrome/browser/automation/automation_tab_tracker.h" 32 #include "chrome/browser/automation/automation_tab_tracker.h"
33 #include "chrome/browser/automation/automation_window_tracker.h" 33 #include "chrome/browser/automation/automation_window_tracker.h"
34 #include "chrome/browser/automation/ui_controls.h" 34 #include "chrome/browser/automation/ui_controls.h"
35 #include "chrome/browser/blocked_content_container.h"
35 #include "chrome/browser/bookmarks/bookmark_model.h" 36 #include "chrome/browser/bookmarks/bookmark_model.h"
36 #include "chrome/browser/bookmarks/bookmark_storage.h" 37 #include "chrome/browser/bookmarks/bookmark_storage.h"
37 #include "chrome/browser/blocked_content_container.h"
38 #include "chrome/browser/browser_process.h" 38 #include "chrome/browser/browser_process.h"
39 #include "chrome/browser/browser_shutdown.h" 39 #include "chrome/browser/browser_shutdown.h"
40 #include "chrome/browser/browser_window.h" 40 #include "chrome/browser/browser_window.h"
41 #include "chrome/browser/debugger/devtools_manager.h" 41 #include "chrome/browser/debugger/devtools_manager.h"
42 #include "chrome/browser/download/download_prefs.h" 42 #include "chrome/browser/download/download_prefs.h"
43 #include "chrome/browser/download/download_shelf.h" 43 #include "chrome/browser/download/download_shelf.h"
44 #include "chrome/browser/extensions/extension_host.h" 44 #include "chrome/browser/extensions/extension_host.h"
45 #include "chrome/browser/extensions/extension_service.h" 45 #include "chrome/browser/extensions/extension_service.h"
46 #include "chrome/browser/instant/instant_controller.h"
47 #include "chrome/browser/history/top_sites.h" 46 #include "chrome/browser/history/top_sites.h"
48 #include "chrome/browser/importer/importer.h" 47 #include "chrome/browser/importer/importer.h"
48 #include "chrome/browser/instant/instant_controller.h"
49 #include "chrome/browser/notifications/balloon.h" 49 #include "chrome/browser/notifications/balloon.h"
50 #include "chrome/browser/notifications/balloon_collection.h" 50 #include "chrome/browser/notifications/balloon_collection.h"
51 #include "chrome/browser/notifications/notification.h" 51 #include "chrome/browser/notifications/notification.h"
52 #include "chrome/browser/notifications/notification_ui_manager.h" 52 #include "chrome/browser/notifications/notification_ui_manager.h"
53 #include "chrome/browser/profiles/profile.h"
54 #include "chrome/browser/platform_util.h" 53 #include "chrome/browser/platform_util.h"
55 #include "chrome/browser/prefs/pref_service.h" 54 #include "chrome/browser/prefs/pref_service.h"
55 #include "chrome/browser/profiles/profile.h"
56 #include "chrome/browser/profiles/profile_manager.h" 56 #include "chrome/browser/profiles/profile_manager.h"
57 #include "chrome/browser/search_engines/template_url.h" 57 #include "chrome/browser/search_engines/template_url.h"
58 #include "chrome/browser/search_engines/template_url_model.h" 58 #include "chrome/browser/search_engines/template_url_model.h"
59 #include "chrome/browser/tab_contents/infobar_delegate.h" 59 #include "chrome/browser/tab_contents/confirm_infobar_delegate.h"
60 #include "chrome/browser/tab_contents/link_infobar_delegate.h"
60 #include "chrome/browser/translate/translate_infobar_delegate.h" 61 #include "chrome/browser/translate/translate_infobar_delegate.h"
61 #include "chrome/browser/ui/app_modal_dialogs/app_modal_dialog.h" 62 #include "chrome/browser/ui/app_modal_dialogs/app_modal_dialog.h"
62 #include "chrome/browser/ui/app_modal_dialogs/app_modal_dialog_queue.h" 63 #include "chrome/browser/ui/app_modal_dialogs/app_modal_dialog_queue.h"
63 #include "chrome/browser/ui/app_modal_dialogs/native_app_modal_dialog.h" 64 #include "chrome/browser/ui/app_modal_dialogs/native_app_modal_dialog.h"
64 #include "chrome/browser/ui/find_bar/find_bar.h" 65 #include "chrome/browser/ui/find_bar/find_bar.h"
65 #include "chrome/browser/ui/login/login_prompt.h" 66 #include "chrome/browser/ui/login/login_prompt.h"
66 #include "chrome/browser/ui/omnibox/location_bar.h" 67 #include "chrome/browser/ui/omnibox/location_bar.h"
67 #include "chrome/browser/ui/search_engines/keyword_editor_controller.h" 68 #include "chrome/browser/ui/search_engines/keyword_editor_controller.h"
68 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" 69 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
70 #include "chrome/common/automation_messages.h"
69 #include "chrome/common/chrome_constants.h" 71 #include "chrome/common/chrome_constants.h"
70 #include "chrome/common/chrome_paths.h" 72 #include "chrome/common/chrome_paths.h"
71 #include "chrome/common/chrome_switches.h" 73 #include "chrome/common/chrome_switches.h"
72 #include "chrome/common/net/url_request_context_getter.h" 74 #include "chrome/common/net/url_request_context_getter.h"
73 #include "chrome/common/notification_service.h" 75 #include "chrome/common/notification_service.h"
74 #include "chrome/common/url_constants.h" 76 #include "chrome/common/url_constants.h"
75 #include "chrome/common/automation_messages.h"
76 #include "content/browser/renderer_host/render_process_host.h" 77 #include "content/browser/renderer_host/render_process_host.h"
77 #include "content/browser/renderer_host/render_view_host.h" 78 #include "content/browser/renderer_host/render_view_host.h"
78 #include "content/browser/tab_contents/interstitial_page.h" 79 #include "content/browser/tab_contents/interstitial_page.h"
79 #include "net/base/cookie_store.h" 80 #include "net/base/cookie_store.h"
80 #include "net/url_request/url_request_context.h" 81 #include "net/url_request/url_request_context.h"
81 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" 82 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h"
82 #include "ui/base/events.h" 83 #include "ui/base/events.h"
83 #include "ui/base/message_box_flags.h" 84 #include "ui/base/message_box_flags.h"
84 #include "webkit/plugins/npapi/plugin_list.h" 85 #include "webkit/plugins/npapi/plugin_list.h"
85 86
(...skipping 4703 matching lines...) Expand 10 before | Expand all | Expand 10 after
4789 // If you change this, update Observer for NotificationType::SESSION_END 4790 // If you change this, update Observer for NotificationType::SESSION_END
4790 // below. 4791 // below.
4791 MessageLoop::current()->PostTask(FROM_HERE, 4792 MessageLoop::current()->PostTask(FROM_HERE,
4792 NewRunnableMethod(this, &TestingAutomationProvider::OnRemoveProvider)); 4793 NewRunnableMethod(this, &TestingAutomationProvider::OnRemoveProvider));
4793 } 4794 }
4794 } 4795 }
4795 4796
4796 void TestingAutomationProvider::OnRemoveProvider() { 4797 void TestingAutomationProvider::OnRemoveProvider() {
4797 AutomationProviderList::GetInstance()->RemoveProvider(this); 4798 AutomationProviderList::GetInstance()->RemoveProvider(this);
4798 } 4799 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698