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

Side by Side Diff: base/message_loop/message_pump_dispatcher.h

Issue 985003004: base: Fix/add header #ifndef guards. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: headers: . Created 5 years, 9 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 | « base/message_loop/message_pump_default.h ('k') | base/numerics/safe_conversions.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 (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_LOOP_MESSAGE_PUMP_DISPATCHER_H 5 #ifndef BASE_MESSAGE_LOOP_MESSAGE_PUMP_DISPATCHER_H_
6 #define BASE_MESSAGE_LOOP_MESSAGE_PUMP_DISPATCHER_H 6 #define BASE_MESSAGE_LOOP_MESSAGE_PUMP_DISPATCHER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/base_export.h" 10 #include "base/base_export.h"
11 #include "base/event_types.h" 11 #include "base/event_types.h"
12 12
13 namespace base { 13 namespace base {
14 14
15 // Dispatcher is used during a nested invocation of Run to dispatch events when 15 // Dispatcher is used during a nested invocation of Run to dispatch events when
16 // |RunLoop(dispatcher).Run()| is used. If |RunLoop().Run()| is invoked, 16 // |RunLoop(dispatcher).Run()| is used. If |RunLoop().Run()| is invoked,
(...skipping 16 matching lines...) Expand all
33 // Dispatches the event. The return value can have more than one 33 // Dispatches the event. The return value can have more than one
34 // PostDispatchAction flags OR'ed together. If POST_DISPATCH_PERFORM_DEFAULT 34 // PostDispatchAction flags OR'ed together. If POST_DISPATCH_PERFORM_DEFAULT
35 // is set in the returned value, then the message-pump performs the default 35 // is set in the returned value, then the message-pump performs the default
36 // action. If POST_DISPATCH_QUIT_LOOP is set, in the return value, then the 36 // action. If POST_DISPATCH_QUIT_LOOP is set, in the return value, then the
37 // nested loop exits immediately. 37 // nested loop exits immediately.
38 virtual uint32_t Dispatch(const NativeEvent& event) = 0; 38 virtual uint32_t Dispatch(const NativeEvent& event) = 0;
39 }; 39 };
40 40
41 } // namespace base 41 } // namespace base
42 42
43 #endif // BASE_MESSAGE_LOOP_MESSAGE_PUMP_DISPATCHER_H 43 #endif // BASE_MESSAGE_LOOP_MESSAGE_PUMP_DISPATCHER_H_
OLDNEW
« no previous file with comments | « base/message_loop/message_pump_default.h ('k') | base/numerics/safe_conversions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698