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

Side by Side Diff: chrome/test/base/interactive_test_utils.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, 12 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 "build/build_config.h"
7 #include "chrome/browser/ui/browser.h" 8 #include "chrome/browser/ui/browser.h"
8 #include "chrome/browser/ui/browser_window.h" 9 #include "chrome/browser/ui/browser_window.h"
9 10
10 namespace ui_test_utils { 11 namespace ui_test_utils {
11 12
12 namespace { 13 namespace {
13 14
14 bool GetNativeWindow(const Browser* browser, gfx::NativeWindow* native_window) { 15 bool GetNativeWindow(const Browser* browser, gfx::NativeWindow* native_window) {
15 BrowserWindow* window = browser->window(); 16 BrowserWindow* window = browser->window();
16 if (!window) 17 if (!window)
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 const base::Closure& followup) { 118 const base::Closure& followup) {
118 if (!followup.is_null()) 119 if (!followup.is_null())
119 ui_controls::SendMouseEventsNotifyWhenDone(button, state, followup); 120 ui_controls::SendMouseEventsNotifyWhenDone(button, state, followup);
120 else 121 else
121 ui_controls::SendMouseEvents(button, state); 122 ui_controls::SendMouseEvents(button, state);
122 } 123 }
123 124
124 } // namespace internal 125 } // namespace internal
125 126
126 } // namespace ui_test_utils 127 } // namespace ui_test_utils
OLDNEW
« no previous file with comments | « chrome/test/base/in_process_browser_test_browsertest.cc ('k') | chrome/test/base/interactive_test_utils_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698