| Index: chrome/test/base/ui_test_utils.cc
|
| diff --git a/chrome/test/base/ui_test_utils.cc b/chrome/test/base/ui_test_utils.cc
|
| index eede45053b18531aafb87e316bab4a448c500e86..3bb8ad30180aeb117bd941e12ea7f3dc6704d00d 100644
|
| --- a/chrome/test/base/ui_test_utils.cc
|
| +++ b/chrome/test/base/ui_test_utils.cc
|
| @@ -47,6 +47,7 @@
|
| #include "content/public/browser/dom_operation_notification_details.h"
|
| #include "content/public/browser/download_item.h"
|
| #include "content/public/browser/download_manager.h"
|
| +#include "content/public/browser/geolocation.h"
|
| #include "content/public/browser/navigation_controller.h"
|
| #include "content/public/browser/navigation_entry.h"
|
| #include "content/public/browser/notification_service.h"
|
| @@ -1190,6 +1191,12 @@ bool TakeEntirePageSnapshot(RenderViewHost* rvh, SkBitmap* bitmap) {
|
| return taker.TakeEntirePageSnapshot(rvh, bitmap);
|
| }
|
|
|
| +void OverrideGeolocation(double latitude, double longitude) {
|
| + content::OverrideLocationForTesting(
|
| + latitude, longitude, 0, base::Bind(MessageLoop::QuitClosure()));
|
| + RunMessageLoop();
|
| +}
|
| +
|
| namespace internal {
|
|
|
| void ClickTask(ui_controls::MouseButton button,
|
|
|