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

Unified Diff: content/shell/shell_android.cc

Issue 14977010: Android: implement content::Shell::Close() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/shell/android/shell_manager.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/shell_android.cc
diff --git a/content/shell/shell_android.cc b/content/shell/shell_android.cc
index d8a6fcbbfc7df78d11746dbbfbabfdb760d8da90..d12d0d7a09e9fdc18eac615ff6dc5c1a87fb6f18 100644
--- a/content/shell/shell_android.cc
+++ b/content/shell/shell_android.cc
@@ -80,8 +80,9 @@ bool Shell::PlatformIsFullscreenForTabOrPending(
}
void Shell::Close() {
- // TODO(tedchoc): Implement Close method for android shell
- NOTIMPLEMENTED();
+ CloseShellView(java_object_.obj());
+ java_object_.Reset();
+ delete this;
}
// static
« no previous file with comments | « content/shell/android/shell_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698