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

Side by Side Diff: chrome/test/reliability/automated_ui_test_base.cc

Issue 10917075: events: Move some files into ui/base/events/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 3 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/test/reliability/automated_ui_test_base.h" 5 #include "chrome/test/reliability/automated_ui_test_base.h"
6 6
7 #include "base/test/test_timeouts.h" 7 #include "base/test/test_timeouts.h"
8 #include "chrome/app/chrome_command_ids.h" 8 #include "chrome/app/chrome_command_ids.h"
9 #include "chrome/browser/ui/view_ids.h" 9 #include "chrome/browser/ui/view_ids.h"
10 #include "chrome/test/automation/automation_proxy.h" 10 #include "chrome/test/automation/automation_proxy.h"
11 #include "chrome/test/automation/browser_proxy.h" 11 #include "chrome/test/automation/browser_proxy.h"
12 #include "chrome/test/automation/tab_proxy.h" 12 #include "chrome/test/automation/tab_proxy.h"
13 #include "chrome/test/automation/window_proxy.h" 13 #include "chrome/test/automation/window_proxy.h"
14 #include "chrome/test/ui/ui_test.h" 14 #include "chrome/test/ui/ui_test.h"
15 #include "ui/base/events.h" 15 #include "ui/base/events/event_constants.h"
16 #include "ui/gfx/point.h" 16 #include "ui/gfx/point.h"
17 #include "ui/gfx/rect.h" 17 #include "ui/gfx/rect.h"
18 18
19 AutomatedUITestBase::AutomatedUITestBase() {} 19 AutomatedUITestBase::AutomatedUITestBase() {}
20 20
21 AutomatedUITestBase::~AutomatedUITestBase() {} 21 AutomatedUITestBase::~AutomatedUITestBase() {}
22 22
23 void AutomatedUITestBase::LogErrorMessage(const std::string& error) { 23 void AutomatedUITestBase::LogErrorMessage(const std::string& error) {
24 } 24 }
25 25
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 365
366 scoped_refptr<WindowProxy> AutomatedUITestBase::GetAndActivateWindowForBrowser( 366 scoped_refptr<WindowProxy> AutomatedUITestBase::GetAndActivateWindowForBrowser(
367 BrowserProxy* browser) { 367 BrowserProxy* browser) {
368 if (!browser->BringToFront()) { 368 if (!browser->BringToFront()) {
369 LogWarningMessage("failed_to_bring_window_to_front"); 369 LogWarningMessage("failed_to_bring_window_to_front");
370 return NULL; 370 return NULL;
371 } 371 }
372 372
373 return browser->GetWindow(); 373 return browser->GetWindow();
374 } 374 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698