3 years, 9 months ago
(2017-02-24 13:22:31 UTC)
#8
LGTM if Matt is happy.
mdjones
https://codereview.chromium.org/2710323003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/NativePageHost.java File chrome/android/java/src/org/chromium/chrome/browser/NativePageHost.java (right): https://codereview.chromium.org/2710323003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/NativePageHost.java#newcode23 chrome/android/java/src/org/chromium/chrome/browser/NativePageHost.java:23: int loadUrl(LoadUrlParams urlParams); Can we instead add a boolean ...
3 years, 9 months ago
(2017-02-24 18:03:38 UTC)
#9
https://codereview.chromium.org/2710323003/diff/1/chrome/android/java/src/org...
File chrome/android/java/src/org/chromium/chrome/browser/NativePageHost.java
(right):
https://codereview.chromium.org/2710323003/diff/1/chrome/android/java/src/org...
chrome/android/java/src/org/chromium/chrome/browser/NativePageHost.java:23: int
loadUrl(LoadUrlParams urlParams);
Can we instead add a boolean "loadAsIncognito" or something similar to this api?
It looks like you're pretty close to this already in BottomSheet.
I'm also a little concerned about supporting this api directly in Tab.java since
the caller of this function on Tab should never be able to control the incognito
state. For now we could overload this function to ignore the extra param, but I
would like to see something, maybe TabShim, that implements the NativePageHost
and is backed by a Tab. That way we can obscure these little details from Tab.
Thoughts?
dgn
https://codereview.chromium.org/2710323003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/NativePageHost.java File chrome/android/java/src/org/chromium/chrome/browser/NativePageHost.java (right): https://codereview.chromium.org/2710323003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/NativePageHost.java#newcode23 chrome/android/java/src/org/chromium/chrome/browser/NativePageHost.java:23: int loadUrl(LoadUrlParams urlParams); On 2017/02/24 18:03:38, mdjones wrote: > ...
3 years, 9 months ago
(2017-02-24 18:17:08 UTC)
#10
https://codereview.chromium.org/2710323003/diff/1/chrome/android/java/src/org...
File chrome/android/java/src/org/chromium/chrome/browser/NativePageHost.java
(right):
https://codereview.chromium.org/2710323003/diff/1/chrome/android/java/src/org...
chrome/android/java/src/org/chromium/chrome/browser/NativePageHost.java:23: int
loadUrl(LoadUrlParams urlParams);
On 2017/02/24 18:03:38, mdjones wrote:
> Can we instead add a boolean "loadAsIncognito" or something similar to this
api?
> It looks like you're pretty close to this already in BottomSheet.
>
I thought about doing that but I'm not too excited about changing the 42 calls
to Tab#loadUrl.
> I'm also a little concerned about supporting this api directly in Tab.java
since
> the caller of this function on Tab should never be able to control the
incognito
> state. For now we could overload this function to ignore the extra param, but
I
> would like to see something, maybe TabShim, that implements the NativePageHost
> and is backed by a Tab. That way we can obscure these little details from Tab.
> Thoughts?
The TabShim idea sounds good yes, I'll send a patch for that.
dgn
The CQ bit was checked by dgn@chromium.org to run a CQ dry run
3 years, 9 months ago
(2017-02-24 19:18:17 UTC)
#11
Dry run: Try jobs failed on following builders: ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/builds/161794) mac_chromium_compile_dbg_ng on ...
3 years, 9 months ago
(2017-02-24 19:22:09 UTC)
#15
CQ is committing da patch. Bot data: {"patchset_id": 60001, "attempt_start_ts": 1488208459782880, "parent_rev": "d6336797781587abf6c3fa648d034315714d1134", "commit_rev": "7ac231eae0280b84411b27628bad2f6ec4ea17ba"}
3 years, 9 months ago
(2017-02-27 15:48:03 UTC)
#25
CQ is committing da patch.
Bot data: {"patchset_id": 60001, "attempt_start_ts": 1488208459782880,
"parent_rev": "d6336797781587abf6c3fa648d034315714d1134", "commit_rev":
"7ac231eae0280b84411b27628bad2f6ec4ea17ba"}
commit-bot: I haz the power
Description was changed from ========== 🏠 Close the bottom sheet when opening link in incognito ...
3 years, 9 months ago
(2017-02-27 15:50:06 UTC)
#26
Message was sent while issue was closed.
Description was changed from
==========
🏠 Close the bottom sheet when opening link in incognito
Opening links in the regular profile closes the bottom sheet,
so this makes the behaviour for incognito consistent with that
and fixes the issue of the sheet being open while the tab model
switches from regular to incognito.
BUG=690059
==========
to
==========
🏠 Close the bottom sheet when opening link in incognito
Opening links in the regular profile closes the bottom sheet,
so this makes the behaviour for incognito consistent with that
and fixes the issue of the sheet being open while the tab model
switches from regular to incognito.
BUG=690059
Review-Url: https://codereview.chromium.org/2710323003
Cr-Commit-Position: refs/heads/master@{#453221}
Committed:
https://chromium.googlesource.com/chromium/src/+/7ac231eae0280b84411b27628bad...
==========
commit-bot: I haz the power
Committed patchset #4 (id:60001) as https://chromium.googlesource.com/chromium/src/+/7ac231eae0280b84411b27628bad2f6ec4ea17ba
3 years, 9 months ago
(2017-02-27 15:50:08 UTC)
#27
Issue 2710323003: 🏠 Close the bottom sheet when opening link in incognito
(Closed)
Created 3 years, 10 months ago by dgn
Modified 3 years, 9 months ago
Reviewers: Bernhard Bauer, mdjones
Base URL:
Comments: 3