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

Unified Diff: runtime/embedders/android/eventloop.cc

Issue 11467028: Migrate files to embedder. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Merge and lint fixes Created 7 years, 11 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: runtime/embedders/android/eventloop.cc
diff --git a/samples/android_sample/jni/eventloop.cc b/runtime/embedders/android/eventloop.cc
similarity index 98%
rename from samples/android_sample/jni/eventloop.cc
rename to runtime/embedders/android/eventloop.cc
index b6e3851fccacbb657187f6c252b34098e1832886..65129d8609b85420b58fb262522e55130f09f8ac 100644
--- a/samples/android_sample/jni/eventloop.cc
+++ b/runtime/embedders/android/eventloop.cc
@@ -2,8 +2,8 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-#include "jni/eventloop.h"
-#include "jni/log.h"
+#include "embedders/android/eventloop.h"
+#include "embedders/android/log.h"
EventLoop::EventLoop(android_app* application)
: enabled_(false),
@@ -22,7 +22,6 @@ void EventLoop::Run(ActivityHandler* activity_handler,
int32_t events;
android_poll_source* source;
- app_dummy();
gram 2013/01/09 17:51:36 Actually this line is very important and must be r
vsm 2013/01/09 18:41:24 Added a comment to try to get this back in.
activity_handler_ = activity_handler;
input_handler_ = context->input_handler;
LOGI("Starting event loop");

Powered by Google App Engine
This is Rietveld 408576698