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

Unified Diff: runtime/embedders/android/dart_host.h

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/context.h ('k') | runtime/embedders/android/dart_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/embedders/android/dart_host.h
diff --git a/samples/android_sample/jni/dart_host.h b/runtime/embedders/android/dart_host.h
similarity index 76%
rename from samples/android_sample/jni/dart_host.h
rename to runtime/embedders/android/dart_host.h
index 1cd3ac507877942a3181e2afde34316925d8ff7e..d77500ff5e5e3b40b43bfc76b7cdce744f3c7fa5 100644
--- a/samples/android_sample/jni/dart_host.h
+++ b/runtime/embedders/android/dart_host.h
@@ -2,18 +2,18 @@
// 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.
-#ifndef DART_HOST_H
-#define DART_HOST_H
+#ifndef EMBEDDERS_ANDROID_DART_HOST_H_
+#define EMBEDDERS_ANDROID_DART_HOST_H_
#include <android_native_app_glue.h>
#include "include/dart_api.h"
-#include "jni/activity_handler.h"
-#include "jni/context.h"
-#include "jni/graphics.h"
-#include "jni/input_service.h"
-#include "jni/sound_service.h"
-#include "jni/timer.h"
-#include "jni/vm_glue.h"
+#include "embedders/android/activity_handler.h"
+#include "embedders/android/context.h"
+#include "embedders/android/graphics.h"
+#include "embedders/android/input_service.h"
+#include "embedders/android/sound_service.h"
+#include "embedders/android/timer.h"
+#include "embedders/android/vm_glue.h"
// Currently the life cycle management is very crude. We conservatively
// shutdown the main isolate when we lose focus and create a new one when
@@ -51,13 +51,12 @@ class DartHost : public ActivityHandler {
void Deactivate();
ANativeWindow_Buffer window_buffer_;
- InputHandler* input_handler_;
Graphics* graphics_;
+ InputHandler* input_handler_;
SoundService* sound_service_;
Timer* timer_;
VMGlue* vm_glue_;
bool active_;
};
-#endif
-
+#endif // EMBEDDERS_ANDROID_DART_HOST_H_
« no previous file with comments | « runtime/embedders/android/context.h ('k') | runtime/embedders/android/dart_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698