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

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

Issue 9600036: Move Render(View|Widget)Host and associated classes to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments. Created 8 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
« no previous file with comments | « chrome/browser/automation/automation_util.cc ('k') | chrome/browser/browser_focus_uitest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 using content::BrowserThread; 165 using content::BrowserThread;
166 using content::ChildProcessHost; 166 using content::ChildProcessHost;
167 using content::DownloadItem; 167 using content::DownloadItem;
168 using content::DownloadManager; 168 using content::DownloadManager;
169 using content::InterstitialPage; 169 using content::InterstitialPage;
170 using content::NavigationController; 170 using content::NavigationController;
171 using content::NavigationEntry; 171 using content::NavigationEntry;
172 using content::PluginService; 172 using content::PluginService;
173 using content::OpenURLParams; 173 using content::OpenURLParams;
174 using content::Referrer; 174 using content::Referrer;
175 using content::RenderViewHost;
175 using content::SSLStatus; 176 using content::SSLStatus;
176 using content::WebContents; 177 using content::WebContents;
177 178
178 namespace { 179 namespace {
179 180
180 void SendMouseClick(int flags) { 181 void SendMouseClick(int flags) {
181 ui_controls::MouseButton button = ui_controls::LEFT; 182 ui_controls::MouseButton button = ui_controls::LEFT;
182 if ((flags & ui::EF_LEFT_MOUSE_BUTTON) == 183 if ((flags & ui::EF_LEFT_MOUSE_BUTTON) ==
183 ui::EF_LEFT_MOUSE_BUTTON) { 184 ui::EF_LEFT_MOUSE_BUTTON) {
184 button = ui_controls::LEFT; 185 button = ui_controls::LEFT;
(...skipping 6870 matching lines...) Expand 10 before | Expand all | Expand 10 after
7055 7056
7056 Send(reply_message_); 7057 Send(reply_message_);
7057 redirect_query_ = 0; 7058 redirect_query_ = 0;
7058 reply_message_ = NULL; 7059 reply_message_ = NULL;
7059 } 7060 }
7060 7061
7061 void TestingAutomationProvider::OnRemoveProvider() { 7062 void TestingAutomationProvider::OnRemoveProvider() {
7062 if (g_browser_process) 7063 if (g_browser_process)
7063 g_browser_process->GetAutomationProviderList()->RemoveProvider(this); 7064 g_browser_process->GetAutomationProviderList()->RemoveProvider(this);
7064 } 7065 }
OLDNEW
« no previous file with comments | « chrome/browser/automation/automation_util.cc ('k') | chrome/browser/browser_focus_uitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698