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

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

Issue 106713002: Move LaunchContainer enum to extension_constants.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 7 years 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 #include "chrome/browser/ui/omnibox/location_bar.h" 107 #include "chrome/browser/ui/omnibox/location_bar.h"
108 #include "chrome/browser/ui/omnibox/omnibox_edit_model.h" 108 #include "chrome/browser/ui/omnibox/omnibox_edit_model.h"
109 #include "chrome/browser/ui/omnibox/omnibox_view.h" 109 #include "chrome/browser/ui/omnibox/omnibox_view.h"
110 #include "chrome/browser/ui/search_engines/keyword_editor_controller.h" 110 #include "chrome/browser/ui/search_engines/keyword_editor_controller.h"
111 #include "chrome/browser/ui/startup/startup_types.h" 111 #include "chrome/browser/ui/startup/startup_types.h"
112 #include "chrome/common/automation_constants.h" 112 #include "chrome/common/automation_constants.h"
113 #include "chrome/common/automation_messages.h" 113 #include "chrome/common/automation_messages.h"
114 #include "chrome/common/chrome_constants.h" 114 #include "chrome/common/chrome_constants.h"
115 #include "chrome/common/chrome_paths.h" 115 #include "chrome/common/chrome_paths.h"
116 #include "chrome/common/chrome_switches.h" 116 #include "chrome/common/chrome_switches.h"
117 #include "chrome/common/extensions/extension_constants.h"
117 #include "chrome/common/extensions/manifest_url_handler.h" 118 #include "chrome/common/extensions/manifest_url_handler.h"
118 #include "chrome/common/pref_names.h" 119 #include "chrome/common/pref_names.h"
119 #include "chrome/common/render_messages.h" 120 #include "chrome/common/render_messages.h"
120 #include "content/public/browser/browser_child_process_host_iterator.h" 121 #include "content/public/browser/browser_child_process_host_iterator.h"
121 #include "content/public/browser/child_process_data.h" 122 #include "content/public/browser/child_process_data.h"
122 #include "content/public/browser/favicon_status.h" 123 #include "content/public/browser/favicon_status.h"
123 #include "content/public/browser/geolocation_provider.h" 124 #include "content/public/browser/geolocation_provider.h"
124 #include "content/public/browser/interstitial_page.h" 125 #include "content/public/browser/interstitial_page.h"
125 #include "content/public/browser/interstitial_page_delegate.h" 126 #include "content/public/browser/interstitial_page_delegate.h"
126 #include "content/public/browser/navigation_entry.h" 127 #include "content/public/browser/navigation_entry.h"
(...skipping 5328 matching lines...) Expand 10 before | Expand all | Expand 10 after
5455 if (g_browser_process) 5456 if (g_browser_process)
5456 g_browser_process->GetAutomationProviderList()->RemoveProvider(this); 5457 g_browser_process->GetAutomationProviderList()->RemoveProvider(this);
5457 } 5458 }
5458 5459
5459 void TestingAutomationProvider::EnsureTabSelected(Browser* browser, 5460 void TestingAutomationProvider::EnsureTabSelected(Browser* browser,
5460 WebContents* tab) { 5461 WebContents* tab) {
5461 TabStripModel* tab_strip = browser->tab_strip_model(); 5462 TabStripModel* tab_strip = browser->tab_strip_model();
5462 if (tab_strip->GetActiveWebContents() != tab) 5463 if (tab_strip->GetActiveWebContents() != tab)
5463 tab_strip->ActivateTabAt(tab_strip->GetIndexOfWebContents(tab), true); 5464 tab_strip->ActivateTabAt(tab_strip->GetIndexOfWebContents(tab), true);
5464 } 5465 }
OLDNEW
« no previous file with comments | « chrome/browser/automation/automation_provider_observers.cc ('k') | chrome/browser/chromeos/app_mode/startup_app_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698