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

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: Ready for review, take 2 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
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 6790 matching lines...) Expand 10 before | Expand all | Expand 10 after
6975 6976
6976 Send(reply_message_); 6977 Send(reply_message_);
6977 redirect_query_ = 0; 6978 redirect_query_ = 0;
6978 reply_message_ = NULL; 6979 reply_message_ = NULL;
6979 } 6980 }
6980 6981
6981 void TestingAutomationProvider::OnRemoveProvider() { 6982 void TestingAutomationProvider::OnRemoveProvider() {
6982 if (g_browser_process) 6983 if (g_browser_process)
6983 g_browser_process->GetAutomationProviderList()->RemoveProvider(this); 6984 g_browser_process->GetAutomationProviderList()->RemoveProvider(this);
6984 } 6985 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698