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

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

Issue 13926012: Move media_stream_infobar_delegate.* from c/b/ui/ to c/b/media/. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 8 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 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 #include "chrome/browser/ui/browser_list.h" 95 #include "chrome/browser/ui/browser_list.h"
96 #include "chrome/browser/ui/browser_tabstrip.h" 96 #include "chrome/browser/ui/browser_tabstrip.h"
97 #include "chrome/browser/ui/browser_window.h" 97 #include "chrome/browser/ui/browser_window.h"
98 #include "chrome/browser/ui/extensions/application_launch.h" 98 #include "chrome/browser/ui/extensions/application_launch.h"
99 #include "chrome/browser/ui/find_bar/find_bar.h" 99 #include "chrome/browser/ui/find_bar/find_bar.h"
100 #include "chrome/browser/ui/find_bar/find_bar_controller.h" 100 #include "chrome/browser/ui/find_bar/find_bar_controller.h"
101 #include "chrome/browser/ui/fullscreen/fullscreen_controller.h" 101 #include "chrome/browser/ui/fullscreen/fullscreen_controller.h"
102 #include "chrome/browser/ui/fullscreen/fullscreen_exit_bubble_type.h" 102 #include "chrome/browser/ui/fullscreen/fullscreen_exit_bubble_type.h"
103 #include "chrome/browser/ui/host_desktop.h" 103 #include "chrome/browser/ui/host_desktop.h"
104 #include "chrome/browser/ui/login/login_prompt.h" 104 #include "chrome/browser/ui/login/login_prompt.h"
105 #include "chrome/browser/ui/media_stream_infobar_delegate.h"
106 #include "chrome/browser/ui/omnibox/location_bar.h" 105 #include "chrome/browser/ui/omnibox/location_bar.h"
107 #include "chrome/browser/ui/omnibox/omnibox_edit_model.h" 106 #include "chrome/browser/ui/omnibox/omnibox_edit_model.h"
108 #include "chrome/browser/ui/omnibox/omnibox_view.h" 107 #include "chrome/browser/ui/omnibox/omnibox_view.h"
109 #include "chrome/browser/ui/search_engines/keyword_editor_controller.h" 108 #include "chrome/browser/ui/search_engines/keyword_editor_controller.h"
110 #include "chrome/browser/ui/startup/startup_types.h" 109 #include "chrome/browser/ui/startup/startup_types.h"
111 #include "chrome/common/automation_constants.h" 110 #include "chrome/common/automation_constants.h"
112 #include "chrome/common/automation_events.h" 111 #include "chrome/common/automation_events.h"
113 #include "chrome/common/automation_id.h" 112 #include "chrome/common/automation_id.h"
114 #include "chrome/common/automation_messages.h" 113 #include "chrome/common/automation_messages.h"
115 #include "chrome/common/chrome_constants.h" 114 #include "chrome/common/chrome_constants.h"
(...skipping 5829 matching lines...) Expand 10 before | Expand all | Expand 10 after
5945 if (g_browser_process) 5944 if (g_browser_process)
5946 g_browser_process->GetAutomationProviderList()->RemoveProvider(this); 5945 g_browser_process->GetAutomationProviderList()->RemoveProvider(this);
5947 } 5946 }
5948 5947
5949 void TestingAutomationProvider::EnsureTabSelected(Browser* browser, 5948 void TestingAutomationProvider::EnsureTabSelected(Browser* browser,
5950 WebContents* tab) { 5949 WebContents* tab) {
5951 TabStripModel* tab_strip = browser->tab_strip_model(); 5950 TabStripModel* tab_strip = browser->tab_strip_model();
5952 if (tab_strip->GetActiveWebContents() != tab) 5951 if (tab_strip->GetActiveWebContents() != tab)
5953 tab_strip->ActivateTabAt(tab_strip->GetIndexOfWebContents(tab), true); 5952 tab_strip->ActivateTabAt(tab_strip->GetIndexOfWebContents(tab), true);
5954 } 5953 }
OLDNEW
« no previous file with comments | « chrome/browser/android/chrome_web_contents_delegate_android.cc ('k') | chrome/browser/chromeos/login/webui_login_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698