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

Side by Side Diff: chrome/test/base/interactive_test_utils_views.cc

Issue 1548153002: Switch to standard integer types in chrome/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
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/interactive_test_utils.h" 5 #include "chrome/test/base/interactive_test_utils.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/message_loop/message_loop.h" 8 #include "base/message_loop/message_loop.h"
9 #include "build/build_config.h"
9 #include "chrome/browser/ui/browser.h" 10 #include "chrome/browser/ui/browser.h"
10 #include "chrome/browser/ui/views/frame/browser_view.h" 11 #include "chrome/browser/ui/views/frame/browser_view.h"
11 #include "ui/base/test/ui_controls.h" 12 #include "ui/base/test/ui_controls.h"
12 #include "ui/compositor/layer.h" 13 #include "ui/compositor/layer.h"
13 #include "ui/compositor/layer_animator.h" 14 #include "ui/compositor/layer_animator.h"
14 #include "ui/views/focus/focus_manager.h" 15 #include "ui/views/focus/focus_manager.h"
15 16
16 namespace ui_test_utils { 17 namespace ui_test_utils {
17 18
18 // Until the whole browser UI is ported to tookit-views on Mac, these need to 19 // Until the whole browser UI is ported to tookit-views on Mac, these need to
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 70
70 gfx::Point view_center(view->width() / 2, view->height() / 2); 71 gfx::Point view_center(view->width() / 2, view->height() / 2);
71 views::View::ConvertPointToScreen(view, &view_center); 72 views::View::ConvertPointToScreen(view, &view_center);
72 ui_controls::SendMouseMoveNotifyWhenDone( 73 ui_controls::SendMouseMoveNotifyWhenDone(
73 view_center.x(), 74 view_center.x(),
74 view_center.y(), 75 view_center.y(),
75 base::Bind(&internal::ClickTask, button, state, closure)); 76 base::Bind(&internal::ClickTask, button, state, closure));
76 } 77 }
77 78
78 } // namespace ui_test_utils 79 } // namespace ui_test_utils
OLDNEW
« no previous file with comments | « chrome/test/base/interactive_test_utils_aura.cc ('k') | chrome/test/base/interactive_test_utils_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698