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

Side by Side Diff: services/window_manager/focus_controller_unittest.cc

Issue 854713003: More old files deletion. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Fix tryjobs? Created 5 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 | « mojo/tools/mojob.py ('k') | ui/android/java/src/org/chromium/ui/base/LocalizationUtils.java » ('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) 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 "services/window_manager/focus_controller.h" 5 #include "services/window_manager/focus_controller.h"
6 6
7 #include "mojo/converters/geometry/geometry_type_converters.h" 7 #include "mojo/converters/geometry/geometry_type_converters.h"
8 #include "services/window_manager/basic_focus_rules.h" 8 #include "services/window_manager/basic_focus_rules.h"
9 #include "services/window_manager/capture_controller.h" 9 #include "services/window_manager/capture_controller.h"
10 #include "services/window_manager/focus_controller_observer.h" 10 #include "services/window_manager/focus_controller_observer.h"
11 #include "services/window_manager/view_event_dispatcher.h" 11 #include "services/window_manager/view_event_dispatcher.h"
12 #include "services/window_manager/view_targeter.h" 12 #include "services/window_manager/view_targeter.h"
13 #include "services/window_manager/window_manager_test_util.h" 13 #include "services/window_manager/window_manager_test_util.h"
14 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
15 #include "ui/events/test/event_generator.h"
16 #include "ui/gfx/geometry/rect.h" 15 #include "ui/gfx/geometry/rect.h"
17 16
18 using mojo::View; 17 using mojo::View;
19 18
20 namespace window_manager { 19 namespace window_manager {
21 20
22 // Counts the number of events that occur. 21 // Counts the number of events that occur.
23 class FocusNotificationObserver : public FocusControllerObserver { 22 class FocusNotificationObserver : public FocusControllerObserver {
24 public: 23 public:
25 FocusNotificationObserver() 24 FocusNotificationObserver()
(...skipping 1121 matching lines...) Expand 10 before | Expand all | Expand 10 after
1147 1146
1148 // See description above DontPassDestroyedView() for details. 1147 // See description above DontPassDestroyedView() for details.
1149 FOCUS_CONTROLLER_TEST(FocusControllerApiTest, DontPassDestroyedView); 1148 FOCUS_CONTROLLER_TEST(FocusControllerApiTest, DontPassDestroyedView);
1150 1149
1151 // TODO(erg): Add the TextInputClient tests here. 1150 // TODO(erg): Add the TextInputClient tests here.
1152 1151
1153 // If a mouse event was handled, it should not activate a view. 1152 // If a mouse event was handled, it should not activate a view.
1154 FOCUS_CONTROLLER_TEST(FocusControllerMouseEventTest, IgnoreHandledEvent); 1153 FOCUS_CONTROLLER_TEST(FocusControllerMouseEventTest, IgnoreHandledEvent);
1155 1154
1156 } // namespace window_manager 1155 } // namespace window_manager
OLDNEW
« no previous file with comments | « mojo/tools/mojob.py ('k') | ui/android/java/src/org/chromium/ui/base/LocalizationUtils.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698