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

Side by Side Diff: ui/views/touchui/touch_selection_controller_impl_unittest.cc

Issue 1543173002: Switch to standard integer types in ui/views/. (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
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 <stddef.h>
6
5 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/macros.h"
6 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
7 #include "ui/aura/client/screen_position_client.h" 10 #include "ui/aura/client/screen_position_client.h"
8 #include "ui/aura/test/test_cursor_client.h" 11 #include "ui/aura/test/test_cursor_client.h"
9 #include "ui/aura/window.h" 12 #include "ui/aura/window.h"
10 #include "ui/base/resource/resource_bundle.h" 13 #include "ui/base/resource/resource_bundle.h"
11 #include "ui/base/touch/touch_editing_controller.h" 14 #include "ui/base/touch/touch_editing_controller.h"
12 #include "ui/base/ui_base_switches.h" 15 #include "ui/base/ui_base_switches.h"
13 #include "ui/events/event_utils.h" 16 #include "ui/events/event_utils.h"
14 #include "ui/events/test/event_generator.h" 17 #include "ui/events/test/event_generator.h"
15 #include "ui/gfx/canvas.h" 18 #include "ui/gfx/canvas.h"
(...skipping 816 matching lines...) Expand 10 before | Expand all | Expand 10 after
832 // Start touch editing; then press a key and ensure it deactivates touch 835 // Start touch editing; then press a key and ensure it deactivates touch
833 // selection. 836 // selection.
834 StartTouchEditing(); 837 StartTouchEditing();
835 EXPECT_TRUE(GetSelectionController()); 838 EXPECT_TRUE(GetSelectionController());
836 generator.PressKey(ui::VKEY_A, 0); 839 generator.PressKey(ui::VKEY_A, 0);
837 RunPendingMessages(); 840 RunPendingMessages();
838 EXPECT_FALSE(GetSelectionController()); 841 EXPECT_FALSE(GetSelectionController());
839 } 842 }
840 843
841 } // namespace views 844 } // namespace views
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698