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

Side by Side Diff: chrome/test/chromedriver/test_util.h

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
« no previous file with comments | « chrome/test/chromedriver/session.h ('k') | chrome/test/chromedriver/test_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 #ifndef CHROME_TEST_CHROMEDRIVER_TEST_UTIL_H_ 5 #ifndef CHROME_TEST_CHROMEDRIVER_TEST_UTIL_H_
6 #define CHROME_TEST_CHROMEDRIVER_TEST_UTIL_H_ 6 #define CHROME_TEST_CHROMEDRIVER_TEST_UTIL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/macros.h"
11 #include "build/build_config.h"
11 12
12 #if defined(OS_WIN) 13 #if defined(OS_WIN)
13 #include <windows.h> 14 #include <windows.h>
14 #elif defined(OS_MACOSX) 15 #elif defined(OS_MACOSX)
15 #include <Carbon/Carbon.h> 16 #include <Carbon/Carbon.h>
16 #include "base/mac/scoped_cftyperef.h" 17 #include "base/mac/scoped_cftyperef.h"
17 #endif 18 #endif
18 19
19 // Restores the keyboard layout that was active at this object's creation 20 // Restores the keyboard layout that was active at this object's creation
20 // when this object goes out of scope. 21 // when this object goes out of scope.
(...skipping 21 matching lines...) Expand all
42 #endif // defined(OS_WIN) 43 #endif // defined(OS_WIN)
43 44
44 #if defined(OS_MACOSX) 45 #if defined(OS_MACOSX)
45 // Selects the input source for the given input source ID. Returns true on 46 // Selects the input source for the given input source ID. Returns true on
46 // success. 47 // success.
47 // Example: "com.apple.keyboardlayout.US" is the default en-us keyboard layout. 48 // Example: "com.apple.keyboardlayout.US" is the default en-us keyboard layout.
48 bool SwitchKeyboardLayout(const std::string& input_source_id); 49 bool SwitchKeyboardLayout(const std::string& input_source_id);
49 #endif // defined(OS_MACOSX) 50 #endif // defined(OS_MACOSX)
50 51
51 #endif // CHROME_TEST_CHROMEDRIVER_TEST_UTIL_H_ 52 #endif // CHROME_TEST_CHROMEDRIVER_TEST_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/test/chromedriver/session.h ('k') | chrome/test/chromedriver/test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698