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

Side by Side Diff: chrome/test/base/interactive_test_utils_mac.mm

Issue 11414223: Move the test functions that deal with focus to interactive_ui_tets_utils.h and into the interactiv… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years 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/base/ui_test_utils.h" 5 #include "chrome/test/base/interactive_test_utils.h"
6 6
7 #include <Carbon/Carbon.h> 7 #include <Carbon/Carbon.h>
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/message_loop.h" 12 #include "base/message_loop.h"
13 #include "chrome/browser/ui/browser.h" 13 #include "chrome/browser/ui/browser.h"
14 #include "chrome/browser/ui/browser_window.h" 14 #include "chrome/browser/ui/browser_window.h"
15 #include "ui/ui_controls/ui_controls.h" 15 #include "ui/ui_controls/ui_controls.h"
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 center = [view convertPoint:center toView:nil]; 84 center = [view convertPoint:center toView:nil];
85 center = [window convertBaseToScreen:center]; 85 center = [window convertBaseToScreen:center];
86 center = NSMakePoint(center.x, [screen frame].size.height - center.y); 86 center = NSMakePoint(center.x, [screen frame].size.height - center.y);
87 87
88 ui_controls::SendMouseMoveNotifyWhenDone( 88 ui_controls::SendMouseMoveNotifyWhenDone(
89 center.x, center.y, 89 center.x, center.y,
90 base::Bind(&internal::ClickTask, button, state, task)); 90 base::Bind(&internal::ClickTask, button, state, task));
91 } 91 }
92 92
93 } // namespace ui_test_utils 93 } // namespace ui_test_utils
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698