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

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: Code review 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
« no previous file with comments | « runtime/embedders/android/eventloop.h ('k') | runtime/embedders/android/graphics.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/embedders/android/eventloop.cc
diff --git a/samples/android_sample/jni/eventloop.cc b/runtime/embedders/android/eventloop.cc
similarity index 96%
rename from samples/android_sample/jni/eventloop.cc
rename to runtime/embedders/android/eventloop.cc
index b6e3851fccacbb657187f6c252b34098e1832886..a3cdbb590f072c8be30fc3c02bef82eb745b5d28 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,8 @@ void EventLoop::Run(ActivityHandler* activity_handler,
int32_t events;
android_poll_source* source;
- app_dummy();
+ // TODO(vsm): We need to link in native_app_glue.
+ // app_dummy();
activity_handler_ = activity_handler;
input_handler_ = context->input_handler;
LOGI("Starting event loop");
« no previous file with comments | « runtime/embedders/android/eventloop.h ('k') | runtime/embedders/android/graphics.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698