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

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

Issue 8230034: Split most of RenderViewTest and associated classes into content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Mac build breaks. Created 9 years, 2 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 | Annotate | Revision Log
« 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) 2009 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 "chrome/renderer/mock_keyboard.h" 5 #include "content/test/mock_keyboard.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 8
9 MockKeyboard::MockKeyboard() 9 MockKeyboard::MockKeyboard()
10 : keyboard_layout_(LAYOUT_NULL), 10 : keyboard_layout_(LAYOUT_NULL),
11 keyboard_modifiers_(INVALID) { 11 keyboard_modifiers_(INVALID) {
12 } 12 }
13 13
14 MockKeyboard::~MockKeyboard() { 14 MockKeyboard::~MockKeyboard() {
15 } 15 }
(...skipping 22 matching lines...) Expand all
38 keyboard_modifiers_ = modifiers; 38 keyboard_modifiers_ = modifiers;
39 } 39 }
40 40
41 // Retrieve Unicode characters associate with the key code. 41 // Retrieve Unicode characters associate with the key code.
42 return driver_.GetCharacters(key_code, output); 42 return driver_.GetCharacters(key_code, output);
43 #else 43 #else
44 NOTIMPLEMENTED(); 44 NOTIMPLEMENTED();
45 return -1; 45 return -1;
46 #endif 46 #endif
47 } 47 }
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