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

Side by Side Diff: base/message_loop.h

Issue 8660001: Remove obsolete usage of TOUCH_UI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Report Aura as a different config. Created 9 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 | Annotate | Revision Log
« no previous file with comments | « base/linux_util.cc ('k') | base/message_loop.cc » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_H_ 5 #ifndef BASE_MESSAGE_LOOP_H_
6 #define BASE_MESSAGE_LOOP_H_ 6 #define BASE_MESSAGE_LOOP_H_
7 #pragma once 7 #pragma once
8 8
9 #include <queue> 9 #include <queue>
10 #include <string> 10 #include <string>
(...skipping 15 matching lines...) Expand all
26 #if defined(OS_WIN) 26 #if defined(OS_WIN)
27 // We need this to declare base::MessagePumpWin::Dispatcher, which we should 27 // We need this to declare base::MessagePumpWin::Dispatcher, which we should
28 // really just eliminate. 28 // really just eliminate.
29 #include "base/message_pump_win.h" 29 #include "base/message_pump_win.h"
30 #elif defined(OS_POSIX) 30 #elif defined(OS_POSIX)
31 #include "base/message_pump_libevent.h" 31 #include "base/message_pump_libevent.h"
32 #if !defined(OS_MACOSX) && !defined(OS_ANDROID) 32 #if !defined(OS_MACOSX) && !defined(OS_ANDROID)
33 33
34 #if defined(USE_WAYLAND) 34 #if defined(USE_WAYLAND)
35 #include "base/message_pump_wayland.h" 35 #include "base/message_pump_wayland.h"
36 #elif defined(TOUCH_UI) || defined(USE_AURA) 36 #elif defined(USE_AURA)
37 #include "base/message_pump_x.h" 37 #include "base/message_pump_x.h"
38 #else 38 #else
39 #include "base/message_pump_gtk.h" 39 #include "base/message_pump_gtk.h"
40 #endif 40 #endif
41 41
42 #endif 42 #endif
43 #endif 43 #endif
44 44
45 namespace base { 45 namespace base {
46 class Histogram; 46 class Histogram;
(...skipping 619 matching lines...) Expand 10 before | Expand all | Expand 10 after
666 #endif // defined(OS_POSIX) 666 #endif // defined(OS_POSIX)
667 }; 667 };
668 668
669 // Do not add any member variables to MessageLoopForIO! This is important b/c 669 // Do not add any member variables to MessageLoopForIO! This is important b/c
670 // MessageLoopForIO is often allocated via MessageLoop(TYPE_IO). Any extra 670 // MessageLoopForIO is often allocated via MessageLoop(TYPE_IO). Any extra
671 // data that you need should be stored on the MessageLoop's pump_ instance. 671 // data that you need should be stored on the MessageLoop's pump_ instance.
672 COMPILE_ASSERT(sizeof(MessageLoop) == sizeof(MessageLoopForIO), 672 COMPILE_ASSERT(sizeof(MessageLoop) == sizeof(MessageLoopForIO),
673 MessageLoopForIO_should_not_have_extra_member_variables); 673 MessageLoopForIO_should_not_have_extra_member_variables);
674 674
675 #endif // BASE_MESSAGE_LOOP_H_ 675 #endif // BASE_MESSAGE_LOOP_H_
OLDNEW
« no previous file with comments | « base/linux_util.cc ('k') | base/message_loop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698