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

Side by Side Diff: chrome/android/testshell/java/src/org/chromium/chrome/testshell/TabManager.java

Issue 165993008: Don't miss to call ContentView.onShow when lunching content shell and test shell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 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 unified diff | Download patch
« no previous file with comments | « no previous file | content/shell/android/java/src/org/chromium/content_shell/Shell.java » ('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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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 package org.chromium.chrome.testshell; 5 package org.chromium.chrome.testshell;
6 6
7 import android.content.Context; 7 import android.content.Context;
8 import android.util.AttributeSet; 8 import android.util.AttributeSet;
9 import android.view.View; 9 import android.view.View;
10 import android.view.ViewGroup; 10 import android.view.ViewGroup;
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 mContentViewHolder.removeView(mCurrentTab.getContentView()); 111 mContentViewHolder.removeView(mCurrentTab.getContentView());
112 mCurrentTab.destroy(); 112 mCurrentTab.destroy();
113 } 113 }
114 114
115 mCurrentTab = tab; 115 mCurrentTab = tab;
116 116
117 mToolbar.showTab(mCurrentTab); 117 mToolbar.showTab(mCurrentTab);
118 mContentViewHolder.addView(mCurrentTab.getContentView()); 118 mContentViewHolder.addView(mCurrentTab.getContentView());
119 mContentViewRenderView.setCurrentContentView(mCurrentTab.getContentView( )); 119 mContentViewRenderView.setCurrentContentView(mCurrentTab.getContentView( ));
120 mCurrentTab.getContentView().requestFocus(); 120 mCurrentTab.getContentView().requestFocus();
121 mCurrentTab.getContentView().onShow();
121 } 122 }
122 } 123 }
OLDNEW
« no previous file with comments | « no previous file | content/shell/android/java/src/org/chromium/content_shell/Shell.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698