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

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

Issue 765753003: Move window_manager service implementation to //services (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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 | « services/window_manager/view_event_dispatcher.h ('k') | services/window_manager/view_target.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "mojo/services/window_manager/view_event_dispatcher.h" 5 #include "services/window_manager/view_event_dispatcher.h"
6 6
7 #include "mojo/services/public/cpp/view_manager/view.h" 7 #include "mojo/services/public/cpp/view_manager/view.h"
8 #include "mojo/services/window_manager/view_target.h" 8 #include "services/window_manager/view_target.h"
9 9
10 namespace mojo { 10 namespace mojo {
11 11
12 ViewEventDispatcher::ViewEventDispatcher() 12 ViewEventDispatcher::ViewEventDispatcher()
13 : event_dispatch_target_(nullptr), 13 : event_dispatch_target_(nullptr),
14 old_dispatch_target_(nullptr) { 14 old_dispatch_target_(nullptr) {
15 } 15 }
16 16
17 ViewEventDispatcher::~ViewEventDispatcher() {} 17 ViewEventDispatcher::~ViewEventDispatcher() {}
18 18
(...skipping 30 matching lines...) Expand all
49 ui::EventTarget* target, 49 ui::EventTarget* target,
50 const ui::Event& event) { 50 const ui::Event& event) {
51 // TODO(erg): Not at all as long as PreDispatchEvent, but still missing core 51 // TODO(erg): Not at all as long as PreDispatchEvent, but still missing core
52 // details. 52 // details.
53 event_dispatch_target_ = old_dispatch_target_; 53 event_dispatch_target_ = old_dispatch_target_;
54 old_dispatch_target_ = nullptr; 54 old_dispatch_target_ = nullptr;
55 return ui::EventDispatchDetails(); 55 return ui::EventDispatchDetails();
56 } 56 }
57 57
58 } // namespace mojo 58 } // namespace mojo
OLDNEW
« no previous file with comments | « services/window_manager/view_event_dispatcher.h ('k') | services/window_manager/view_target.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698