| OLD | NEW |
| 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 "base/command_line.h" | 5 #include "base/command_line.h" |
| 6 #include "chrome/browser/extensions/api/webrequest/webrequest_api.h" | 6 #include "chrome/browser/extensions/api/web_request/web_request_api.h" |
| 7 #include "chrome/browser/extensions/extension_apitest.h" | 7 #include "chrome/browser/extensions/extension_apitest.h" |
| 8 #include "chrome/browser/extensions/extension_service.h" | 8 #include "chrome/browser/extensions/extension_service.h" |
| 9 #include "chrome/browser/profiles/profile.h" | 9 #include "chrome/browser/profiles/profile.h" |
| 10 #include "chrome/browser/ui/browser.h" | 10 #include "chrome/browser/ui/browser.h" |
| 11 #include "chrome/browser/ui/login/login_prompt.h" | 11 #include "chrome/browser/ui/login/login_prompt.h" |
| 12 #include "chrome/common/chrome_notification_types.h" | 12 #include "chrome/common/chrome_notification_types.h" |
| 13 #include "chrome/common/chrome_switches.h" | 13 #include "chrome/common/chrome_switches.h" |
| 14 #include "chrome/test/base/ui_test_utils.h" | 14 #include "chrome/test/base/ui_test_utils.h" |
| 15 #include "content/public/browser/notification_registrar.h" | 15 #include "content/public/browser/notification_registrar.h" |
| 16 #include "content/public/browser/notification_service.h" | 16 #include "content/public/browser/notification_service.h" |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 mouse_event.button = WebKit::WebMouseEvent::ButtonLeft; | 108 mouse_event.button = WebKit::WebMouseEvent::ButtonLeft; |
| 109 mouse_event.x = 7; | 109 mouse_event.x = 7; |
| 110 mouse_event.y = 7; | 110 mouse_event.y = 7; |
| 111 mouse_event.clickCount = 1; | 111 mouse_event.clickCount = 1; |
| 112 tab->GetRenderViewHost()->ForwardMouseEvent(mouse_event); | 112 tab->GetRenderViewHost()->ForwardMouseEvent(mouse_event); |
| 113 mouse_event.type = WebKit::WebInputEvent::MouseUp; | 113 mouse_event.type = WebKit::WebInputEvent::MouseUp; |
| 114 tab->GetRenderViewHost()->ForwardMouseEvent(mouse_event); | 114 tab->GetRenderViewHost()->ForwardMouseEvent(mouse_event); |
| 115 | 115 |
| 116 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message(); | 116 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message(); |
| 117 } | 117 } |
| OLD | NEW |