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

Side by Side Diff: components/mus/ws/event_dispatcher_unittest.cc

Issue 1548113002: Switch to standard integer types in components/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn Created 4 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
« no previous file with comments | « components/mus/ws/event_dispatcher_delegate.h ('k') | components/mus/ws/focus_controller.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "components/mus/ws/event_dispatcher.h" 5 #include "components/mus/ws/event_dispatcher.h"
6 6
7 #include <stddef.h>
8 #include <stdint.h>
9
10 #include "base/macros.h"
7 #include "components/mus/public/cpp/event_matcher.h" 11 #include "components/mus/public/cpp/event_matcher.h"
8 #include "components/mus/ws/event_dispatcher_delegate.h" 12 #include "components/mus/ws/event_dispatcher_delegate.h"
9 #include "components/mus/ws/server_window.h" 13 #include "components/mus/ws/server_window.h"
10 #include "components/mus/ws/server_window_surface_manager_test_api.h" 14 #include "components/mus/ws/server_window_surface_manager_test_api.h"
11 #include "components/mus/ws/test_server_window_delegate.h" 15 #include "components/mus/ws/test_server_window_delegate.h"
12 #include "mojo/converters/input_events/input_events_type_converters.h" 16 #include "mojo/converters/input_events/input_events_type_converters.h"
13 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
14 #include "ui/events/event.h" 18 #include "ui/events/event.h"
15 19
16 namespace mus { 20 namespace mus {
(...skipping 624 matching lines...) Expand 10 before | Expand all | Expand 10 after
641 dispatched_event_mojo.To<scoped_ptr<ui::Event>>()); 645 dispatched_event_mojo.To<scoped_ptr<ui::Event>>());
642 ASSERT_TRUE(dispatched_event.get()); 646 ASSERT_TRUE(dispatched_event.get());
643 ASSERT_TRUE(dispatched_event->IsMouseEvent()); 647 ASSERT_TRUE(dispatched_event->IsMouseEvent());
644 ui::MouseEvent* dispatched_mouse_event = 648 ui::MouseEvent* dispatched_mouse_event =
645 static_cast<ui::MouseEvent*>(dispatched_event.get()); 649 static_cast<ui::MouseEvent*>(dispatched_event.get());
646 EXPECT_EQ(gfx::Point(-2, -1), dispatched_mouse_event->location()); 650 EXPECT_EQ(gfx::Point(-2, -1), dispatched_mouse_event->location());
647 } 651 }
648 652
649 } // namespace ws 653 } // namespace ws
650 } // namespace mus 654 } // namespace mus
OLDNEW
« no previous file with comments | « components/mus/ws/event_dispatcher_delegate.h ('k') | components/mus/ws/focus_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698