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

Issue 1326443006: mandoline: Add back/forward support and UI. (Closed)

Created:
5 years, 3 months ago by Elliot Glaysher
Modified:
5 years, 3 months ago
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, penghuang+watch-mandoline_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

mandoline: Add back/forward support and UI. BUG=526268 Committed: https://crrev.com/f72ad72272047f3a1471de9f37e0cba7174ac0b0 Cr-Commit-Position: refs/heads/master@{#348673}

Patch Set 1 #

Patch Set 2 : Merge with ToT to pick up Ben's patch. #

Patch Set 3 : Fix comment #

Total comments: 33

Patch Set 4 : msw nits and comments #

Total comments: 6

Patch Set 5 : All comments minus frame navigation. #

Patch Set 6 : Rebase to ToT #

Total comments: 5

Patch Set 7 : Add apptests. #

Total comments: 7

Patch Set 8 : Actually check the state at the end of CanGoBackAndForward #

Total comments: 1

Patch Set 9 : nits and such. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+474 lines, -74 lines) Patch
A components/test/data/web_view/test_one.html View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
A components/test/data/web_view/test_three.html View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
D components/test/data/web_view/test_title_changed.html View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
A components/test/data/web_view/test_two.html View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M components/web_view/BUILD.gn View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M components/web_view/public/interfaces/web_view.mojom View 1 2 3 4 5 6 7 8 3 chunks +10 lines, -0 lines 0 comments Download
M components/web_view/test_runner/test_runner_application_delegate.h View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M components/web_view/test_runner/test_runner_application_delegate.cc View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
A components/web_view/url_request_cloneable.h View 1 2 3 4 1 chunk +53 lines, -0 lines 0 comments Download
A components/web_view/url_request_cloneable.cc View 1 2 3 4 5 6 1 chunk +60 lines, -0 lines 0 comments Download
M components/web_view/web_view_apptest.cc View 1 2 3 4 5 6 7 8 4 chunks +95 lines, -16 lines 0 comments Download
M components/web_view/web_view_impl.h View 1 2 3 4 5 6 7 8 4 chunks +19 lines, -1 line 0 comments Download
M components/web_view/web_view_impl.cc View 1 2 3 4 5 6 7 8 4 chunks +52 lines, -2 lines 0 comments Download
M mandoline/ui/desktop_ui/BUILD.gn View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M mandoline/ui/desktop_ui/browser_commands.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M mandoline/ui/desktop_ui/browser_window.h View 1 2 3 4 5 6 6 chunks +9 lines, -12 lines 0 comments Download
M mandoline/ui/desktop_ui/browser_window.cc View 1 2 3 4 5 6 11 chunks +53 lines, -42 lines 0 comments Download
A mandoline/ui/desktop_ui/toolbar_view.h View 1 2 3 4 5 6 1 chunk +45 lines, -0 lines 0 comments Download
A mandoline/ui/desktop_ui/toolbar_view.cc View 1 2 3 4 5 6 1 chunk +55 lines, -0 lines 0 comments Download
M mandoline/ui/phone_ui/phone_browser_application_delegate.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M mandoline/ui/phone_ui/phone_browser_application_delegate.cc View 1 2 3 4 5 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 45 (15 generated)
Elliot Glaysher
5 years, 3 months ago (2015-09-04 19:45:42 UTC) #2
Elliot Glaysher
redirect to msw
5 years, 3 months ago (2015-09-04 19:52:22 UTC) #4
msw
Only a couple big comments, lots of minor ones. https://codereview.chromium.org/1326443006/diff/40001/components/web_view/navigation_entry.cc File components/web_view/navigation_entry.cc (right): https://codereview.chromium.org/1326443006/diff/40001/components/web_view/navigation_entry.cc#newcode21 components/web_view/navigation_entry.cc:21: ...
5 years, 3 months ago (2015-09-04 22:05:01 UTC) #5
Elliot Glaysher
ptal As discussed in person, I am ignoring the request to use "backward" since it ...
5 years, 3 months ago (2015-09-04 22:54:48 UTC) #6
Ben Goodger (Google)
+sky also, who is familiar with the content loading flow in webview.
5 years, 3 months ago (2015-09-04 23:42:22 UTC) #8
Ben Goodger (Google)
On 2015/09/04 23:42:22, Ben Goodger (Google) wrote: > +sky also, who is familiar with the ...
5 years, 3 months ago (2015-09-04 23:44:36 UTC) #9
msw
lgtm with nits, modulo feedback from Ben and Scott. https://codereview.chromium.org/1326443006/diff/40001/components/web_view/public/interfaces/web_view.mojom File components/web_view/public/interfaces/web_view.mojom (right): https://codereview.chromium.org/1326443006/diff/40001/components/web_view/public/interfaces/web_view.mojom#newcode32 components/web_view/public/interfaces/web_view.mojom:32: ...
5 years, 3 months ago (2015-09-04 23:49:00 UTC) #10
sky
https://codereview.chromium.org/1326443006/diff/60001/components/web_view/public/interfaces/web_view.mojom File components/web_view/public/interfaces/web_view.mojom (right): https://codereview.chromium.org/1326443006/diff/60001/components/web_view/public/interfaces/web_view.mojom#newcode17 components/web_view/public/interfaces/web_view.mojom:17: BackForwardChanged(bool back_enabled, bool forward_enabled); How about enums instead of ...
5 years, 3 months ago (2015-09-08 16:00:33 UTC) #11
Elliot Glaysher
ptal Do you want the subframe stuff to block this patch? That seems like it ...
5 years, 3 months ago (2015-09-09 19:19:02 UTC) #12
sky
https://codereview.chromium.org/1326443006/diff/100001/components/web_view/url_request_cloneable.cc File components/web_view/url_request_cloneable.cc (right): https://codereview.chromium.org/1326443006/diff/100001/components/web_view/url_request_cloneable.cc#newcode23 components/web_view/url_request_cloneable.cc:23: mojo::common::BlockingCopyToString(original_request->body[i].Pass(), I'm more worried about the effects of this. ...
5 years, 3 months ago (2015-09-09 20:17:27 UTC) #13
sky
https://codereview.chromium.org/1326443006/diff/100001/components/web_view/url_request_cloneable.cc File components/web_view/url_request_cloneable.cc (right): https://codereview.chromium.org/1326443006/diff/100001/components/web_view/url_request_cloneable.cc#newcode23 components/web_view/url_request_cloneable.cc:23: mojo::common::BlockingCopyToString(original_request->body[i].Pass(), On 2015/09/09 20:17:27, sky wrote: > I'm more ...
5 years, 3 months ago (2015-09-09 20:43:28 UTC) #14
sky
Also, you should add test coverage.
5 years, 3 months ago (2015-09-09 20:44:00 UTC) #15
Elliot Glaysher
ptal. I've added tests.
5 years, 3 months ago (2015-09-11 19:07:53 UTC) #16
msw
fwiw, lgtm with nits https://codereview.chromium.org/1326443006/diff/120001/components/web_view/public/interfaces/web_view.mojom File components/web_view/public/interfaces/web_view.mojom (right): https://codereview.chromium.org/1326443006/diff/120001/components/web_view/public/interfaces/web_view.mojom#newcode12 components/web_view/public/interfaces/web_view.mojom:12: DISABLED nit: trailing comma https://codereview.chromium.org/1326443006/diff/120001/components/web_view/web_view_apptest.cc ...
5 years, 3 months ago (2015-09-11 20:07:54 UTC) #17
sky
LGTM https://codereview.chromium.org/1326443006/diff/140001/components/web_view/web_view_apptest.cc File components/web_view/web_view_apptest.cc (right): https://codereview.chromium.org/1326443006/diff/140001/components/web_view/web_view_apptest.cc#newcode54 components/web_view/web_view_apptest.cc:54: ASSERT_TRUE(PathService::Get(base::DIR_SOURCE_ROOT, &data_file)); As you have asserts in here ...
5 years, 3 months ago (2015-09-11 20:22:51 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1326443006/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1326443006/160001
5 years, 3 months ago (2015-09-11 20:56:40 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/112515)
5 years, 3 months ago (2015-09-11 21:48:27 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1326443006/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1326443006/160001
5 years, 3 months ago (2015-09-11 21:50:58 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/112579)
5 years, 3 months ago (2015-09-11 22:34:34 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1326443006/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1326443006/160001
5 years, 3 months ago (2015-09-11 22:56:55 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/67896)
5 years, 3 months ago (2015-09-11 23:13:19 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1326443006/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1326443006/160001
5 years, 3 months ago (2015-09-11 23:31:18 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/51982) linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, ...
5 years, 3 months ago (2015-09-12 00:05:34 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1326443006/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1326443006/160001
5 years, 3 months ago (2015-09-12 00:13:48 UTC) #37
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/102264) linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, ...
5 years, 3 months ago (2015-09-12 03:16:19 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1326443006/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1326443006/160001
5 years, 3 months ago (2015-09-14 17:14:54 UTC) #41
commit-bot: I haz the power
Committed patchset #9 (id:160001)
5 years, 3 months ago (2015-09-14 19:02:18 UTC) #42
commit-bot: I haz the power
Patchset 9 (id:??) landed as https://crrev.com/f72ad72272047f3a1471de9f37e0cba7174ac0b0 Cr-Commit-Position: refs/heads/master@{#348673}
5 years, 3 months ago (2015-09-14 19:02:52 UTC) #43
Devlin
A revert of this CL (patchset #9 id:160001) has been created in https://codereview.chromium.org/1343773003/ by rdevlin.cronin@chromium.org. ...
5 years, 3 months ago (2015-09-14 20:37:34 UTC) #44
commit-bot: I haz the power
5 years, 3 months ago (2015-09-23 12:35:14 UTC) #45
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/f72ad72272047f3a1471de9f37e0cba7174ac0b0
Cr-Commit-Position: refs/heads/master@{#348673}

Powered by Google App Engine
This is Rietveld 408576698