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

Side by Side Diff: ui/events/platform/platform_event_source.cc

Issue 284743009: events: Create a separate platforms target. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « ui/events/platform/events_platform.gyp ('k') | ui/events/platform/x11/x11_events_platform.gyp » ('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 "ui/events/platform/platform_event_source.h" 5 #include "ui/events/platform/platform_event_source.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "ui/events/event.h"
11 #include "ui/events/platform/platform_event_dispatcher.h" 10 #include "ui/events/platform/platform_event_dispatcher.h"
12 #include "ui/events/platform/platform_event_observer.h" 11 #include "ui/events/platform/platform_event_observer.h"
13 #include "ui/events/platform/scoped_event_dispatcher.h" 12 #include "ui/events/platform/scoped_event_dispatcher.h"
14 13
15 namespace ui { 14 namespace ui {
16 15
17 // static 16 // static
18 PlatformEventSource* PlatformEventSource::instance_ = NULL; 17 PlatformEventSource* PlatformEventSource::instance_ = NULL;
19 18
20 PlatformEventSource::PlatformEventSource() 19 PlatformEventSource::PlatformEventSource()
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 102
104 void PlatformEventSource::OnDispatcherListChanged() { 103 void PlatformEventSource::OnDispatcherListChanged() {
105 } 104 }
106 105
107 void PlatformEventSource::OnOverriddenDispatcherRestored() { 106 void PlatformEventSource::OnOverriddenDispatcherRestored() {
108 CHECK(overridden_dispatcher_); 107 CHECK(overridden_dispatcher_);
109 overridden_dispatcher_restored_ = true; 108 overridden_dispatcher_restored_ = true;
110 } 109 }
111 110
112 } // namespace ui 111 } // namespace ui
OLDNEW
« no previous file with comments | « ui/events/platform/events_platform.gyp ('k') | ui/events/platform/x11/x11_events_platform.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698