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

Unified Diff: content/shell/android/java/src/org/chromium/content_shell/ShellManager.java

Issue 10832104: Start upstreaming accessibility. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Dan's Nits Created 8 years, 5 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/java/src/org/chromium/content_shell/Shell.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/android/java/src/org/chromium/content_shell/ShellManager.java
diff --git a/content/shell/android/java/src/org/chromium/content_shell/ShellManager.java b/content/shell/android/java/src/org/chromium/content_shell/ShellManager.java
index e97ba20978a0f1e4b40a235b79e27a0d339badbf..3aba276bf6e1efd186202d30ce3301edbcb49762 100644
--- a/content/shell/android/java/src/org/chromium/content_shell/ShellManager.java
+++ b/content/shell/android/java/src/org/chromium/content_shell/ShellManager.java
@@ -86,9 +86,14 @@ public class ShellManager extends FrameLayout {
shellView.setSurfaceView(mSurfaceView);
removeAllViews();
+ if (mActiveShell != null && mActiveShell.getContentView() != null) {
+ mActiveShell.getContentView().onHide();
+ }
+
addView(shellView, new FrameLayout.LayoutParams(
FrameLayout.LayoutParams.MATCH_PARENT, FrameLayout.LayoutParams.MATCH_PARENT));
mActiveShell = shellView;
+ if (mActiveShell.getContentView() != null) mActiveShell.getContentView().onShow();
return shellView;
}
« no previous file with comments | « content/shell/android/java/src/org/chromium/content_shell/Shell.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698