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

Side by Side Diff: base/message_pump_observer.h

Issue 10895020: Merge aura::DispatcherLinux into base::MessagePumpAuraX11. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes for sadrul Created 8 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 | Annotate | Revision Log
« no previous file with comments | « base/message_pump_glib.h ('k') | ui/aura/aura.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 (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 #ifndef BASE_MESSAGE_PUMP_OBSERVER_H 5 #ifndef BASE_MESSAGE_PUMP_OBSERVER_H
6 #define BASE_MESSAGE_PUMP_OBSERVER_H 6 #define BASE_MESSAGE_PUMP_OBSERVER_H
7 7
8 #include "base/base_export.h"
8 #include "base/event_types.h" 9 #include "base/event_types.h"
9 10
10 namespace base { 11 namespace base {
11 12
12 enum EventStatus { 13 enum EventStatus {
13 EVENT_CONTINUE, // The event should be dispatched as normal. 14 EVENT_CONTINUE, // The event should be dispatched as normal.
14 #if defined(USE_X11) 15 #if defined(USE_X11)
15 EVENT_HANDLED // The event should not be processed any farther. 16 EVENT_HANDLED // The event should not be processed any farther.
16 #endif 17 #endif
17 }; 18 };
(...skipping 19 matching lines...) Expand all
37 // will not be called if WillProcessEvent returns EVENT_HANDLED. 38 // will not be called if WillProcessEvent returns EVENT_HANDLED.
38 virtual void DidProcessEvent(const NativeEvent& event) = 0; 39 virtual void DidProcessEvent(const NativeEvent& event) = 0;
39 40
40 protected: 41 protected:
41 virtual ~MessagePumpObserver() {} 42 virtual ~MessagePumpObserver() {}
42 }; 43 };
43 44
44 } // namespace base 45 } // namespace base
45 46
46 #endif // BASE_MESSAGE_PUMP_OBSERVER_VIEWS_H 47 #endif // BASE_MESSAGE_PUMP_OBSERVER_VIEWS_H
OLDNEW
« no previous file with comments | « base/message_pump_glib.h ('k') | ui/aura/aura.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698