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

Side by Side Diff: ui/events/blink/web_input_event_unittest.cc

Issue 2273193002: Make compositor_frame.h NOT include base/trace_event/trace_event.h (Closed)
Patch Set: Rebase again + presubmit fix Created 4 years, 3 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 | « ui/base/ime/input_method_win.cc ('k') | ui/events/event.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "ui/events/blink/web_input_event.h" 5 #include "ui/events/blink/web_input_event.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/bind.h"
10 #include "base/macros.h" 11 #include "base/macros.h"
11 #include "build/build_config.h" 12 #include "build/build_config.h"
12 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
13 #include "ui/events/base_event_utils.h" 14 #include "ui/events/base_event_utils.h"
14 #include "ui/events/blink/blink_event_util.h" 15 #include "ui/events/blink/blink_event_util.h"
15 #include "ui/events/event.h" 16 #include "ui/events/event.h"
16 #include "ui/events/event_utils.h" 17 #include "ui/events/event_utils.h"
17 #include "ui/events/keycodes/dom/dom_code.h" 18 #include "ui/events/keycodes/dom/dom_code.h"
18 #include "ui/events/keycodes/dom/dom_key.h" 19 #include "ui/events/keycodes/dom/dom_key.h"
19 #include "ui/events/keycodes/dom/keycode_converter.h" 20 #include "ui/events/keycodes/dom/keycode_converter.h"
(...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after
521 EXPECT_EQ(0, webkit_event.tiltY); 522 EXPECT_EQ(0, webkit_event.tiltY);
522 EXPECT_TRUE(std::isnan(webkit_event.force)); 523 EXPECT_TRUE(std::isnan(webkit_event.force));
523 EXPECT_EQ(123, webkit_event.x); 524 EXPECT_EQ(123, webkit_event.x);
524 EXPECT_EQ(123, webkit_event.windowX); 525 EXPECT_EQ(123, webkit_event.windowX);
525 EXPECT_EQ(321, webkit_event.y); 526 EXPECT_EQ(321, webkit_event.y);
526 EXPECT_EQ(321, webkit_event.windowY); 527 EXPECT_EQ(321, webkit_event.windowY);
527 } 528 }
528 } 529 }
529 530
530 } // namespace ui 531 } // namespace ui
OLDNEW
« no previous file with comments | « ui/base/ime/input_method_win.cc ('k') | ui/events/event.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698