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

Unified Diff: sky/shell/platform_view.h

Issue 936883002: Connect Sky and Ganesh in SkyShell (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: sort includes Created 5 years, 10 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: sky/shell/platform_view.h
diff --git a/sky/shell/sky_view.h b/sky/shell/platform_view.h
similarity index 88%
rename from sky/shell/sky_view.h
rename to sky/shell/platform_view.h
index b326ea37be429b969e15bd1d5c6bb25cd2187598..7f83cde08398090603ed6730d7df14b2360f222b 100644
--- a/sky/shell/sky_view.h
+++ b/sky/shell/platform_view.h
@@ -18,7 +18,7 @@ struct ANativeWindow;
namespace sky {
namespace shell {
-class SkyView {
+class PlatformView {
public:
struct Config {
base::WeakPtr<GPUDelegate> gpu_delegate;
@@ -30,11 +30,11 @@ class SkyView {
static bool Register(JNIEnv* env);
- explicit SkyView(const Config& config);
- ~SkyView();
+ explicit PlatformView(const Config& config);
+ ~PlatformView();
// Called from Java
- void Destroy(JNIEnv* env, jobject obj);
+ void Detach(JNIEnv* env, jobject obj);
void SurfaceCreated(JNIEnv* env, jobject obj, jobject jsurface);
void SurfaceDestroyed(JNIEnv* env, jobject obj);
void SurfaceSetSize(JNIEnv* env,
@@ -49,7 +49,7 @@ class SkyView {
Config config_;
ANativeWindow* window_;
- DISALLOW_COPY_AND_ASSIGN(SkyView);
+ DISALLOW_COPY_AND_ASSIGN(PlatformView);
};
} // namespace shell
« no previous file with comments | « sky/shell/library_loader.cc ('k') | sky/shell/platform_view.cc » ('j') | sky/shell/shell.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698