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

Issue 683203006: Adding option for adding new tab in tab manager for chrome shell. (Closed)

Created:
6 years, 1 month ago by divya.bansal
Modified:
6 years, 1 month ago
Reviewers:
Bernhard Bauer
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Adding option for adding new tab in tab manager for chrome shell. Currently in order to open a new tab, option from menu is used. These changes add new tab button in tabswitcher mode in place of reload/stop button. In this mode reload/stop button is not required. Signed-off-by: divyabansal <divya.bansal@samsung.com>; BUG=428660 Committed: https://crrev.com/8383c8fbdd51ce81a030f783625229cecf08ce89 Cr-Commit-Position: refs/heads/master@{#303820}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Changes according to review comments #

Patch Set 3 : Review changes #

Total comments: 7

Patch Set 4 : Review Changes #

Patch Set 5 : Changes According to Review Comments #

Total comments: 4

Patch Set 6 : Review Changes #

Total comments: 6

Patch Set 7 : Adding Review Comments #

Total comments: 10

Patch Set 8 : Review changes #

Total comments: 4

Patch Set 9 : Review comment changes #

Total comments: 4

Patch Set 10 : Changes For Review Comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -58 lines) Patch
M chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTabModelSelector.java View 1 2 3 4 5 6 7 8 6 chunks +6 lines, -50 lines 0 comments Download
M chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellToolbar.java View 1 2 3 4 5 6 7 8 9 3 chunks +21 lines, -0 lines 0 comments Download
M chrome/android/shell/java/src/org/chromium/chrome/shell/TabManager.java View 1 2 3 4 5 6 7 8 5 chunks +46 lines, -8 lines 0 comments Download
M chrome/android/shell/res/layout/chrome_shell_activity.xml View 1 2 3 4 5 6 7 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (2 generated)
divya.bansal
@Bernhard PTAL
6 years, 1 month ago (2014-11-04 06:49:29 UTC) #2
Bernhard Bauer
https://codereview.chromium.org/683203006/diff/1/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellToolbar.java File chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellToolbar.java (right): https://codereview.chromium.org/683203006/diff/1/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellToolbar.java#newcode104 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellToolbar.java:104: mAddButton.setVisibility(GONE); So, are we not going to show the ...
6 years, 1 month ago (2014-11-04 12:22:10 UTC) #3
divya.bansal
Review changes are done. Please check and give your suggestions https://codereview.chromium.org/683203006/diff/1/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellToolbar.java File chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellToolbar.java (right): https://codereview.chromium.org/683203006/diff/1/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellToolbar.java#newcode104 ...
6 years, 1 month ago (2014-11-05 09:04:22 UTC) #4
Bernhard Bauer
https://codereview.chromium.org/683203006/diff/40001/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTabModelSelector.java File chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTabModelSelector.java (right): https://codereview.chromium.org/683203006/diff/40001/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTabModelSelector.java#newcode123 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTabModelSelector.java:123: mTabManager.mToolbar.initializeAddButton(false); Hmm... the encapsulation violation here aside, I'm not ...
6 years, 1 month ago (2014-11-05 10:01:53 UTC) #5
divya.bansal
Please suggest https://codereview.chromium.org/683203006/diff/40001/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTabModelSelector.java File chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTabModelSelector.java (right): https://codereview.chromium.org/683203006/diff/40001/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTabModelSelector.java#newcode123 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTabModelSelector.java:123: mTabManager.mToolbar.initializeAddButton(false); On 2014/11/05 10:01:53, Bernhard Bauer wrote: ...
6 years, 1 month ago (2014-11-05 12:22:17 UTC) #6
Bernhard Bauer
https://codereview.chromium.org/683203006/diff/40001/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTabModelSelector.java File chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTabModelSelector.java (right): https://codereview.chromium.org/683203006/diff/40001/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTabModelSelector.java#newcode123 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTabModelSelector.java:123: mTabManager.mToolbar.initializeAddButton(false); On 2014/11/05 12:22:17, divya.bansal wrote: > On 2014/11/05 ...
6 years, 1 month ago (2014-11-05 12:36:04 UTC) #7
divya.bansal
On 2014/11/05 12:36:04, Bernhard Bauer wrote: > https://codereview.chromium.org/683203006/diff/40001/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTabModelSelector.java > File > chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTabModelSelector.java > (right): > ...
6 years, 1 month ago (2014-11-05 12:45:07 UTC) #8
Bernhard Bauer
On 2014/11/05 12:45:07, divya.bansal wrote: > On 2014/11/05 12:36:04, Bernhard Bauer wrote: > > > ...
6 years, 1 month ago (2014-11-05 13:15:04 UTC) #9
divya.bansal
On 2014/11/05 13:15:04, Bernhard Bauer wrote: > On 2014/11/05 12:45:07, divya.bansal wrote: > > On ...
6 years, 1 month ago (2014-11-05 14:33:00 UTC) #10
divya.bansal
PTAL new changes https://codereview.chromium.org/683203006/diff/40001/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTabModelSelector.java File chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTabModelSelector.java (right): https://codereview.chromium.org/683203006/diff/40001/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTabModelSelector.java#newcode123 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTabModelSelector.java:123: mTabManager.mToolbar.initializeAddButton(false); On 2014/11/05 12:36:03, Bernhard Bauer ...
6 years, 1 month ago (2014-11-07 05:26:26 UTC) #11
Bernhard Bauer
On 2014/11/07 05:26:26, divya.bansal wrote: > PTAL new changes > > https://codereview.chromium.org/683203006/diff/40001/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTabModelSelector.java > File > ...
6 years, 1 month ago (2014-11-07 15:11:56 UTC) #12
divya.bansal
PTAL new changes. I have implemented code in TabManager. https://codereview.chromium.org/683203006/diff/40001/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTabModelSelector.java File chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTabModelSelector.java (right): https://codereview.chromium.org/683203006/diff/40001/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTabModelSelector.java#newcode123 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTabModelSelector.java:123: ...
6 years, 1 month ago (2014-11-10 13:49:59 UTC) #13
Bernhard Bauer
Nice! https://codereview.chromium.org/683203006/diff/80001/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTabModelSelector.java File chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTabModelSelector.java (right): https://codereview.chromium.org/683203006/diff/80001/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTabModelSelector.java#newcode34 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTabModelSelector.java:34: private AccessibilityTabModelWrapper mTabModelWrapper; This doesn't seem to be ...
6 years, 1 month ago (2014-11-10 13:58:33 UTC) #14
divya.bansal
PTAL https://codereview.chromium.org/683203006/diff/80001/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTabModelSelector.java File chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTabModelSelector.java (right): https://codereview.chromium.org/683203006/diff/80001/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTabModelSelector.java#newcode34 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTabModelSelector.java:34: private AccessibilityTabModelWrapper mTabModelWrapper; On 2014/11/10 13:58:33, Bernhard Bauer ...
6 years, 1 month ago (2014-11-11 05:18:19 UTC) #15
Bernhard Bauer
https://codereview.chromium.org/683203006/diff/100001/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellToolbar.java File chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellToolbar.java (right): https://codereview.chromium.org/683203006/diff/100001/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellToolbar.java#newcode262 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellToolbar.java:262: public void showAddButton(boolean tabSwitcherStatus) { Please add a Javadoc ...
6 years, 1 month ago (2014-11-11 09:08:22 UTC) #16
divya.bansal
PTAL https://codereview.chromium.org/683203006/diff/100001/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellToolbar.java File chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellToolbar.java (right): https://codereview.chromium.org/683203006/diff/100001/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellToolbar.java#newcode262 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellToolbar.java:262: public void showAddButton(boolean tabSwitcherStatus) { On 2014/11/11 09:08:22, ...
6 years, 1 month ago (2014-11-11 09:29:52 UTC) #17
Bernhard Bauer
https://codereview.chromium.org/683203006/diff/120001/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTabModelSelector.java File chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTabModelSelector.java (right): https://codereview.chromium.org/683203006/diff/120001/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTabModelSelector.java#newcode95 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTabModelSelector.java:95: mParent.getContext(), loadUrlParams.getUrl(), mWindow, client, mTabManager); This is the only ...
6 years, 1 month ago (2014-11-11 11:34:02 UTC) #18
divya.bansal
PTAL https://codereview.chromium.org/683203006/diff/120001/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTabModelSelector.java File chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTabModelSelector.java (right): https://codereview.chromium.org/683203006/diff/120001/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTabModelSelector.java#newcode95 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTabModelSelector.java:95: mParent.getContext(), loadUrlParams.getUrl(), mWindow, client, mTabManager); On 2014/11/11 11:34:02, ...
6 years, 1 month ago (2014-11-12 06:45:48 UTC) #19
Bernhard Bauer
https://codereview.chromium.org/683203006/diff/140001/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTabModelSelector.java File chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTabModelSelector.java (right): https://codereview.chromium.org/683203006/diff/140001/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTabModelSelector.java#newcode37 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTabModelSelector.java:37: WindowAndroid window, ContentVideoViewClient videoViewClient, ViewGroup parent, You don't even ...
6 years, 1 month ago (2014-11-12 09:23:17 UTC) #20
divya.bansal
@Bernhard PTAL https://codereview.chromium.org/683203006/diff/140001/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTabModelSelector.java File chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTabModelSelector.java (right): https://codereview.chromium.org/683203006/diff/140001/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTabModelSelector.java#newcode37 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTabModelSelector.java:37: WindowAndroid window, ContentVideoViewClient videoViewClient, ViewGroup parent, On ...
6 years, 1 month ago (2014-11-12 09:48:22 UTC) #21
Bernhard Bauer
https://codereview.chromium.org/683203006/diff/160001/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellToolbar.java File chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellToolbar.java (right): https://codereview.chromium.org/683203006/diff/160001/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellToolbar.java#newcode263 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellToolbar.java:263: * Shows the add button and hides the stop/reload ...
6 years, 1 month ago (2014-11-12 10:00:14 UTC) #22
divya.bansal
PTAL https://codereview.chromium.org/683203006/diff/160001/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellToolbar.java File chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellToolbar.java (right): https://codereview.chromium.org/683203006/diff/160001/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellToolbar.java#newcode263 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellToolbar.java:263: * Shows the add button and hides the ...
6 years, 1 month ago (2014-11-12 10:18:04 UTC) #23
Bernhard Bauer
LGTM
6 years, 1 month ago (2014-11-12 10:40:37 UTC) #24
divya.bansal
On 2014/11/12 10:40:37, Bernhard Bauer wrote: > LGTM @Bernhard Thanks for the review and suggestions.
6 years, 1 month ago (2014-11-12 10:43:56 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/683203006/180001
6 years, 1 month ago (2014-11-12 10:45:12 UTC) #27
commit-bot: I haz the power
Committed patchset #10 (id:180001)
6 years, 1 month ago (2014-11-12 12:04:03 UTC) #28
commit-bot: I haz the power
6 years, 1 month ago (2014-11-12 12:05:33 UTC) #29
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/8383c8fbdd51ce81a030f783625229cecf08ce89
Cr-Commit-Position: refs/heads/master@{#303820}

Powered by Google App Engine
This is Rietveld 408576698