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

Unified Diff: ui/base/dragdrop/os_exchange_data_unittest.cc

Issue 219743002: x11: Move X event handling out of the message-pump. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: self-nits Created 6 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 side-by-side diff with in-line comments
Download patch
Index: ui/base/dragdrop/os_exchange_data_unittest.cc
diff --git a/ui/base/dragdrop/os_exchange_data_unittest.cc b/ui/base/dragdrop/os_exchange_data_unittest.cc
index f1e3153ba6d5128a6c676b3b9b47c7e55bbea9df..8c5e75d78c8fec1e4a687d1e0f52d7a64d4124da 100644
--- a/ui/base/dragdrop/os_exchange_data_unittest.cc
+++ b/ui/base/dragdrop/os_exchange_data_unittest.cc
@@ -8,13 +8,19 @@
#include "testing/gtest/include/gtest/gtest.h"
#include "testing/platform_test.h"
#include "ui/base/dragdrop/os_exchange_data.h"
+#include "ui/events/platform/platform_event_source.h"
#include "url/gurl.h"
namespace ui {
class OSExchangeDataTest : public PlatformTest {
+ public:
+ OSExchangeDataTest()
+ : event_source_(ui::PlatformEventSource::CreateDefault()) {}
+
private:
base::MessageLoopForUI message_loop_;
+ scoped_ptr<PlatformEventSource> event_source_;
sky 2014/03/31 20:57:28 It sure would be nice if MessageLoopForUI could au
sadrul 2014/03/31 23:30:16 I looked into adding this to PlatformTest (since t
};
TEST_F(OSExchangeDataTest, StringDataGetAndSet) {

Powered by Google App Engine
This is Rietveld 408576698