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

Side by Side Diff: chrome/test/webdriver/webdriver_key_converter.cc

Issue 9114020: Remove task.h and finish base::Bind() migration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo Created 8 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 | Annotate | Revision Log
« no previous file with comments | « chrome/test/webdriver/webdriver_automation.h ('k') | chrome_frame/chrome_frame_automation.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 "chrome/test/webdriver/webdriver_key_converter.h" 5 #include "chrome/test/webdriver/webdriver_key_converter.h"
6 6
7 #include "base/format_macros.h" 7 #include "base/format_macros.h"
8 #include "base/logging.h"
8 #include "base/stringprintf.h" 9 #include "base/stringprintf.h"
9 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
10 #include "chrome/common/automation_constants.h" 11 #include "chrome/common/automation_constants.h"
11 #include "chrome/test/automation/automation_json_requests.h" 12 #include "chrome/test/automation/automation_json_requests.h"
12 #include "chrome/test/webdriver/keycode_text_conversion.h" 13 #include "chrome/test/webdriver/keycode_text_conversion.h"
13 #include "chrome/test/webdriver/webdriver_logging.h" 14 #include "chrome/test/webdriver/webdriver_logging.h"
14 15
15 namespace { 16 namespace {
16 17
17 struct ModifierMaskAndKeyCode { 18 struct ModifierMaskAndKeyCode {
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 CreateKeyUpEvent(kModifiers[i].key_code, sticky_modifiers)); 310 CreateKeyUpEvent(kModifiers[i].key_code, sticky_modifiers));
310 } 311 }
311 } 312 }
312 } 313 }
313 client_key_events->swap(key_events); 314 client_key_events->swap(key_events);
314 *modifiers = sticky_modifiers; 315 *modifiers = sticky_modifiers;
315 return true; 316 return true;
316 } 317 }
317 318
318 } // namespace webdriver 319 } // namespace webdriver
OLDNEW
« no previous file with comments | « chrome/test/webdriver/webdriver_automation.h ('k') | chrome_frame/chrome_frame_automation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698