| Index: chrome/browser/automation/testing_automation_provider.cc
|
| diff --git a/chrome/browser/automation/testing_automation_provider.cc b/chrome/browser/automation/testing_automation_provider.cc
|
| index 3cccc86ae037adb7735d0257e10c7c2fe902bc81..b16f73fab66e9487291c3c9cb84348e6f6bad69d 100644
|
| --- a/chrome/browser/automation/testing_automation_provider.cc
|
| +++ b/chrome/browser/automation/testing_automation_provider.cc
|
| @@ -222,24 +222,6 @@ void PostTask(BrowserThread::ID id, const base::Closure& callback) {
|
| BrowserThread::PostTask(id, FROM_HERE, callback);
|
| }
|
|
|
| -void SendMouseClick(int flags) {
|
| - ui_controls::MouseButton button = ui_controls::LEFT;
|
| - if ((flags & ui::EF_LEFT_MOUSE_BUTTON) ==
|
| - ui::EF_LEFT_MOUSE_BUTTON) {
|
| - button = ui_controls::LEFT;
|
| - } else if ((flags & ui::EF_RIGHT_MOUSE_BUTTON) ==
|
| - ui::EF_RIGHT_MOUSE_BUTTON) {
|
| - button = ui_controls::RIGHT;
|
| - } else if ((flags & ui::EF_MIDDLE_MOUSE_BUTTON) ==
|
| - ui::EF_MIDDLE_MOUSE_BUTTON) {
|
| - button = ui_controls::MIDDLE;
|
| - } else {
|
| - NOTREACHED();
|
| - }
|
| -
|
| - ui_controls::SendMouseClick(button);
|
| -}
|
| -
|
| class AutomationInterstitialPage : public content::InterstitialPageDelegate {
|
| public:
|
| AutomationInterstitialPage(WebContents* tab,
|
|
|