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

Side by Side Diff: sky/shell/android/platform_view.cc

Issue 1139873004: Make android directory for Android-specific bits of SkyShell (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 7 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 unified diff | Download patch
« no previous file with comments | « sky/shell/android/platform_view.h ('k') | sky/shell/android/sky_main.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "sky/shell/platform_view.h" 5 #include "sky/shell/android/platform_view.h"
6 6
7 #include <android/input.h> 7 #include <android/input.h>
8 #include <android/native_window_jni.h> 8 #include <android/native_window_jni.h>
9 9
10 #include "base/android/jni_android.h" 10 #include "base/android/jni_android.h"
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/location.h" 12 #include "base/location.h"
13 #include "jni/PlatformView_jni.h" 13 #include "jni/PlatformView_jni.h"
14 #include "sky/shell/shell.h" 14 #include "sky/shell/shell.h"
15 15
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 ReleaseWindow(); 72 ReleaseWindow();
73 } 73 }
74 74
75 void PlatformView::ReleaseWindow() { 75 void PlatformView::ReleaseWindow() {
76 ANativeWindow_release(window_); 76 ANativeWindow_release(window_);
77 window_ = nullptr; 77 window_ = nullptr;
78 } 78 }
79 79
80 } // namespace shell 80 } // namespace shell
81 } // namespace sky 81 } // namespace sky
OLDNEW
« no previous file with comments | « sky/shell/android/platform_view.h ('k') | sky/shell/android/sky_main.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698