Description[Android] On calling openNewTab, pass the disposition instead of incognito.
Currently, when openNewTab is called, we pass a boolean incognito variable that
indicates if it should be opened in incognito mode. This was not consistent with
the desktop. For example, NEW_FOREGROUND_TAB and NEW_BACKGROUND_TAB open incognito
tab if the current tab is incognito.
So this CL instead passes the actual disposition so that Java side has the full
information required to be consistent with the desktop.
BUG=268283
BUG=268414
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=215973
Patch Set 1 #Patch Set 2 : used .template instead of manually copying the constants. #Patch Set 3 : gyp indent fix #Patch Set 4 : added missing .template (forgot) #
Total comments: 6
Patch Set 5 : address joth@'s commments on patch set 4 #
Total comments: 3
Patch Set 6 : @param disposition comment revision #
Total comments: 1
Patch Set 7 : reverted copyright year update #Messages
Total messages: 12 (0 generated)
|