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

Side by Side Diff: chrome/browser/ui/ash/event_rewriter_unittest.cc

Issue 16431004: Use a direct include of strings headers in chrome/browser/ui/a*/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 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
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/browser/ui/ash/event_rewriter.h" 5 #include "chrome/browser/ui/ash/event_rewriter.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/prefs/pref_member.h" 9 #include "base/prefs/pref_member.h"
10 #include "base/stringprintf.h" 10 #include "base/strings/stringprintf.h"
11 #include "chrome/common/pref_names.h" 11 #include "chrome/common/pref_names.h"
12 #include "chrome/test/base/testing_pref_service_syncable.h" 12 #include "chrome/test/base/testing_pref_service_syncable.h"
13 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
14 #include "ui/base/events/event.h" 14 #include "ui/base/events/event.h"
15 15
16 #if defined(OS_CHROMEOS) 16 #if defined(OS_CHROMEOS)
17 #include <X11/keysym.h> 17 #include <X11/keysym.h>
18 #include <X11/XF86keysym.h> 18 #include <X11/XF86keysym.h>
19 #include <X11/Xlib.h> 19 #include <X11/Xlib.h>
20 20
(...skipping 2269 matching lines...) Expand 10 before | Expand all | Expand 10 after
2290 // flag in the event is True. 2290 // flag in the event is True.
2291 EXPECT_EQ(GetExpectedResultAsString(ui::VKEY_CONTROL, 2291 EXPECT_EQ(GetExpectedResultAsString(ui::VKEY_CONTROL,
2292 ui::EF_CONTROL_DOWN, 2292 ui::EF_CONTROL_DOWN,
2293 ui::ET_KEY_PRESSED, 2293 ui::ET_KEY_PRESSED,
2294 keycode_control_l_, 2294 keycode_control_l_,
2295 0U, 2295 0U,
2296 KeyPress), 2296 KeyPress),
2297 rewritten_event); 2297 rewritten_event);
2298 } 2298 }
2299 #endif // OS_CHROMEOS 2299 #endif // OS_CHROMEOS
OLDNEW
« no previous file with comments | « chrome/browser/ui/ash/event_rewriter.cc ('k') | chrome/browser/ui/ash/launcher/browser_launcher_item_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698