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

Unified Diff: chrome/browser/bookmarks/bookmark_node_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: tot-merge-r261267 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
« no previous file with comments | « base/run_loop.cc ('k') | chrome/browser/extensions/global_shortcut_listener_x11.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/bookmarks/bookmark_node_data_unittest.cc
diff --git a/chrome/browser/bookmarks/bookmark_node_data_unittest.cc b/chrome/browser/bookmarks/bookmark_node_data_unittest.cc
index cce44dc6a045741333286ecd60490ee209274eee..774fbd7efa1f80e251c2c610fe5a60c514fc3fea 100644
--- a/chrome/browser/bookmarks/bookmark_node_data_unittest.cc
+++ b/chrome/browser/bookmarks/bookmark_node_data_unittest.cc
@@ -15,6 +15,7 @@
#include "content/public/test/test_browser_thread_bundle.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/base/dragdrop/os_exchange_data.h"
+#include "ui/events/platform/platform_event_source.h"
#include "url/gurl.h"
using base::ASCIIToUTF16;
@@ -24,6 +25,7 @@ class BookmarkNodeDataTest : public testing::Test {
BookmarkNodeDataTest() : model_(NULL) {}
virtual void SetUp() OVERRIDE {
+ event_source_ = ui::PlatformEventSource::CreateDefault();
profile_.reset(new TestingProfile);
profile_->SetID(L"id");
profile_->CreateBookmarkModel(false);
@@ -33,6 +35,7 @@ class BookmarkNodeDataTest : public testing::Test {
virtual void TearDown() OVERRIDE {
profile_.reset();
+ event_source_.reset();
}
Profile* profile() { return profile_.get(); }
@@ -43,6 +46,7 @@ class BookmarkNodeDataTest : public testing::Test {
content::TestBrowserThreadBundle thread_bundle_;
scoped_ptr<TestingProfile> profile_;
BookmarkModel* model_;
+ scoped_ptr<ui::PlatformEventSource> event_source_;
DISALLOW_COPY_AND_ASSIGN(BookmarkNodeDataTest);
};
« no previous file with comments | « base/run_loop.cc ('k') | chrome/browser/extensions/global_shortcut_listener_x11.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698