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

Side by Side Diff: content/test/mock_keyboard.cc

Issue 1544273002: Switch to standard integer types in content/. (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 | « content/test/mock_keyboard.h ('k') | content/test/mock_keyboard_driver_win.h » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "content/test/mock_keyboard.h" 5 #include "content/test/mock_keyboard.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "build/build_config.h"
8 9
9 namespace content { 10 namespace content {
10 11
11 MockKeyboard::MockKeyboard() 12 MockKeyboard::MockKeyboard()
12 : keyboard_layout_(LAYOUT_NULL), 13 : keyboard_layout_(LAYOUT_NULL),
13 keyboard_modifiers_(INVALID) { 14 keyboard_modifiers_(INVALID) {
14 } 15 }
15 16
16 MockKeyboard::~MockKeyboard() { 17 MockKeyboard::~MockKeyboard() {
17 } 18 }
(...skipping 24 matching lines...) Expand all
42 43
43 // Retrieve Unicode characters associate with the key code. 44 // Retrieve Unicode characters associate with the key code.
44 return driver_.GetCharacters(key_code, output); 45 return driver_.GetCharacters(key_code, output);
45 #else 46 #else
46 NOTIMPLEMENTED(); 47 NOTIMPLEMENTED();
47 return -1; 48 return -1;
48 #endif 49 #endif
49 } 50 }
50 51
51 } // namespace content 52 } // namespace content
OLDNEW
« no previous file with comments | « content/test/mock_keyboard.h ('k') | content/test/mock_keyboard_driver_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698