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

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

Issue 4710001: Split out command IDs from chrome_dll_resource.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years, 1 month 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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/app/chrome_dll_resource.h" 5 #include "chrome/app/chrome_command_ids.h"
6 #include "chrome/browser/view_ids.h" 6 #include "chrome/browser/view_ids.h"
7 #include "chrome/test/automated_ui_tests/automated_ui_test_base.h" 7 #include "chrome/test/automated_ui_tests/automated_ui_test_base.h"
8 #include "chrome/test/automation/browser_proxy.h" 8 #include "chrome/test/automation/browser_proxy.h"
9 #include "chrome/test/automation/tab_proxy.h" 9 #include "chrome/test/automation/tab_proxy.h"
10 #include "chrome/test/automation/window_proxy.h" 10 #include "chrome/test/automation/window_proxy.h"
11 #include "chrome/test/ui/ui_test.h" 11 #include "chrome/test/ui/ui_test.h"
12 #include "gfx/point.h" 12 #include "gfx/point.h"
13 #include "gfx/rect.h" 13 #include "gfx/rect.h"
14 #include "views/event.h" 14 #include "views/event.h"
15 15
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 377
378 scoped_refptr<WindowProxy> AutomatedUITestBase::GetAndActivateWindowForBrowser( 378 scoped_refptr<WindowProxy> AutomatedUITestBase::GetAndActivateWindowForBrowser(
379 BrowserProxy* browser) { 379 BrowserProxy* browser) {
380 if (!browser->BringToFront()) { 380 if (!browser->BringToFront()) {
381 LogWarningMessage("failed_to_bring_window_to_front"); 381 LogWarningMessage("failed_to_bring_window_to_front");
382 return NULL; 382 return NULL;
383 } 383 }
384 384
385 return browser->GetWindow(); 385 return browser->GetWindow();
386 } 386 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698