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

Issue 2058263002: Tied up BlimpNavigationController to NavigationFeature (Closed)

Created:
4 years, 6 months ago by shaktisahu
Modified:
4 years, 2 months ago
CC:
chromium-reviews, anandc+watch-blimp_chromium.org, maniscalco+watch-blimp_chromium.org, sriramsr+watch-blimp_chromium.org, nyquist+watch-blimp_chromium.org, marcinjb+watch-blimp_chromium.org, jessicag+watch-blimp_chromium.org, kmarshall+watch-blimp_chromium.org, lethalantidote+watch-blimp_chromium.org, dtrainor+watch-blimp_chromium.org, shaktisahu+watch-blimp_chromium.org, khushalsagar+watch-blimp_chromium.org, Kevin M
Base URL:
https://chromium.googlesource.com/chromium/src.git@blimp_core
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Tied up BlimpNavigationController to NavigationFeature Added some necessary navigation methods to BlimpNavigationController Java interface and hooked it up all the way to navigation_feature.cc. Added C++ unit tests for the same. BUG=611100 Committed: https://crrev.com/07de74f02ced93bc52625ee8f50f9d9a3f40a841 Cr-Commit-Position: refs/heads/master@{#409689}

Patch Set 1 #

Patch Set 2 : Hooked up the Java layer #

Total comments: 15

Patch Set 3 : Addressed code review comments #

Total comments: 25

Patch Set 4 : Addressed David's comments #

Patch Set 5 : Changed BlimpContentsObserver's navigation methods to OnNavigationStateChanged #

Total comments: 8

Patch Set 6 : Addressed nits from David #

Total comments: 1

Patch Set 7 : Moved NavigationFeature to blimp/client/core/contents #

Total comments: 47

Patch Set 8 : Kevin's comments #

Total comments: 17

Patch Set 9 : kmarshall comments #

Total comments: 12

Patch Set 10 : More kmarshall comments #

Total comments: 6

Patch Set 11 : nits and merge origin/master #

Patch Set 12 : Fixed DEPS #

Patch Set 13 : DEPS for linux #

Patch Set 14 : More deps #

Patch Set 15 : Removed BlimpContentsTest.java #

Unified diffs Side-by-side diffs Delta from patch set Stats (+415 lines, -670 lines) Patch
M blimp/client/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 7 chunks +3 lines, -7 lines 0 comments Download
M blimp/client/app/android/javatests/src/org/chromium/blimp/core/contents/BlimpContentsTest.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -93 lines 0 comments Download
M blimp/client/app/android/toolbar.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M blimp/client/app/linux/blimp_client_session_linux.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M blimp/client/app/linux/blimp_main.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M blimp/client/core/contents/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +37 lines, -3 lines 0 comments Download
M blimp/client/core/contents/android/blimp_contents_observer_proxy.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M blimp/client/core/contents/android/blimp_contents_observer_proxy.cc View 1 2 3 4 5 6 1 chunk +3 lines, -7 lines 0 comments Download
M blimp/client/core/contents/android/blimp_navigation_controller_impl_android.h View 1 2 3 4 5 6 1 chunk +7 lines, -0 lines 0 comments Download
M blimp/client/core/contents/android/blimp_navigation_controller_impl_android.cc View 1 2 3 4 5 6 1 chunk +30 lines, -0 lines 0 comments Download
M blimp/client/core/contents/android/java/src/org/chromium/blimp/core/contents/BlimpContentsObserverProxy.java View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M blimp/client/core/contents/android/java/src/org/chromium/blimp/core/contents/BlimpNavigationControllerImpl.java View 1 2 3 4 5 6 1 chunk +35 lines, -0 lines 0 comments Download
M blimp/client/core/contents/blimp_contents_impl.h View 1 2 3 4 5 6 7 8 9 2 chunks +1 line, -3 lines 0 comments Download
M blimp/client/core/contents/blimp_contents_impl.cc View 1 2 3 4 5 6 2 chunks +5 lines, -3 lines 0 comments Download
M blimp/client/core/contents/blimp_contents_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +23 lines, -23 lines 0 comments Download
M blimp/client/core/contents/blimp_navigation_controller_delegate.h View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -2 lines 0 comments Download
M blimp/client/core/contents/blimp_navigation_controller_impl.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +27 lines, -13 lines 0 comments Download
M blimp/client/core/contents/blimp_navigation_controller_impl.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +62 lines, -16 lines 0 comments Download
M blimp/client/core/contents/blimp_navigation_controller_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +25 lines, -16 lines 0 comments Download
A blimp/client/core/contents/fake_navigation_feature.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +37 lines, -0 lines 0 comments Download
A blimp/client/core/contents/fake_navigation_feature.cc View 1 2 3 4 5 6 7 8 1 chunk +34 lines, -0 lines 0 comments Download
A + blimp/client/core/contents/mock_navigation_feature_delegate.h View 1 2 3 4 5 6 2 chunks +4 lines, -4 lines 0 comments Download
A + blimp/client/core/contents/mock_navigation_feature_delegate.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
A + blimp/client/core/contents/navigation_feature.h View 1 2 3 4 5 6 7 3 chunks +13 lines, -11 lines 0 comments Download
A + blimp/client/core/contents/navigation_feature.cc View 1 2 3 4 5 6 7 8 9 4 chunks +5 lines, -5 lines 0 comments Download
A + blimp/client/core/contents/navigation_feature_unittest.cc View 1 2 3 4 5 6 2 chunks +2 lines, -3 lines 0 comments Download
D blimp/client/feature/mock_navigation_feature_delegate.h View 1 2 3 4 5 6 1 chunk +0 lines, -35 lines 0 comments Download
D blimp/client/feature/mock_navigation_feature_delegate.cc View 1 2 3 4 5 6 1 chunk +0 lines, -18 lines 0 comments Download
M blimp/client/feature/navigation_feature.h View 1 2 3 4 5 6 1 chunk +0 lines, -76 lines 0 comments Download
D blimp/client/feature/navigation_feature.cc View 1 2 3 4 5 6 1 chunk +0 lines, -156 lines 0 comments Download
D blimp/client/feature/navigation_feature_unittest.cc View 1 2 3 4 5 6 1 chunk +0 lines, -156 lines 0 comments Download
M blimp/client/public/android/java/src/org/chromium/blimp_public/contents/BlimpContentsObserver.java View 1 2 3 4 5 6 7 1 chunk +2 lines, -3 lines 0 comments Download
M blimp/client/public/android/java/src/org/chromium/blimp_public/contents/BlimpNavigationController.java View 1 2 3 4 5 6 7 8 9 10 1 chunk +28 lines, -0 lines 0 comments Download
M blimp/client/public/android/java/src/org/chromium/blimp_public/contents/EmptyBlimpContentsObserver.java View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M blimp/client/public/contents/blimp_contents.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +6 lines, -4 lines 0 comments Download
M blimp/client/public/contents/blimp_contents_observer.h View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M blimp/client/public/contents/blimp_navigation_controller.h View 1 2 3 4 5 6 1 chunk +9 lines, -0 lines 0 comments Download
M blimp/client/session/blimp_client_session.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M blimp/engine/BUILD.gn View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M blimp/engine/browser_tests/engine_browsertest.cc View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M tools/android/eclipse/.classpath View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 54 (21 generated)
shaktisahu
4 years, 6 months ago (2016-06-13 21:58:51 UTC) #2
shaktisahu
4 years, 6 months ago (2016-06-23 21:23:43 UTC) #6
David Trainor- moved to gerrit
https://codereview.chromium.org/2058263002/diff/20001/blimp/client/core/blimp_contents_impl.h File blimp/client/core/blimp_contents_impl.h (right): https://codereview.chromium.org/2058263002/diff/20001/blimp/client/core/blimp_contents_impl.h#newcode50 blimp/client/core/blimp_contents_impl.h:50: void OnUrlChanged(const GURL& url) override; How are these generally ...
4 years, 5 months ago (2016-06-29 17:27:15 UTC) #7
shaktisahu
Hi David, PTAL https://codereview.chromium.org/2058263002/diff/20001/blimp/client/core/blimp_contents_impl.h File blimp/client/core/blimp_contents_impl.h (right): https://codereview.chromium.org/2058263002/diff/20001/blimp/client/core/blimp_contents_impl.h#newcode50 blimp/client/core/blimp_contents_impl.h:50: void OnUrlChanged(const GURL& url) override; On ...
4 years, 5 months ago (2016-07-19 21:45:30 UTC) #8
David Trainor- moved to gerrit
https://codereview.chromium.org/2058263002/diff/40001/blimp/client/core/blimp_contents_impl.cc File blimp/client/core/blimp_contents_impl.cc (right): https://codereview.chromium.org/2058263002/diff/40001/blimp/client/core/blimp_contents_impl.cc#newcode63 blimp/client/core/blimp_contents_impl.cc:63: OnURLUpdated(navigation_controller_.GetURL())); Shouldn't this be OnNavigationStateChanged()? Should we remove OnURLUpdated? ...
4 years, 5 months ago (2016-07-25 15:57:32 UTC) #9
nyquist
https://codereview.chromium.org/2058263002/diff/40001/blimp/client/BUILD.gn File blimp/client/BUILD.gn (right): https://codereview.chromium.org/2058263002/diff/40001/blimp/client/BUILD.gn#newcode173 blimp/client/BUILD.gn:173: "feature/mock_navigation_feature.cc", Could we move these two new files to ...
4 years, 5 months ago (2016-07-25 22:59:06 UTC) #10
shaktisahu
Hi David, PTAL. Haven't addressed @nyquist's comments related to gn. https://codereview.chromium.org/2058263002/diff/40001/blimp/client/core/blimp_contents_impl.cc File blimp/client/core/blimp_contents_impl.cc (right): https://codereview.chromium.org/2058263002/diff/40001/blimp/client/core/blimp_contents_impl.cc#newcode63 ...
4 years, 5 months ago (2016-07-26 01:25:27 UTC) #11
David Trainor- moved to gerrit
Mostly nits. lgtm % the changes I've requested below. Thanks! https://codereview.chromium.org/2058263002/diff/40001/blimp/client/core/blimp_contents_impl.cc File blimp/client/core/blimp_contents_impl.cc (right): https://codereview.chromium.org/2058263002/diff/40001/blimp/client/core/blimp_contents_impl.cc#newcode63 ...
4 years, 4 months ago (2016-07-27 16:55:01 UTC) #12
nyquist
kmarshall: FYI
4 years, 4 months ago (2016-07-27 17:19:00 UTC) #13
nyquist
https://codereview.chromium.org/2058263002/diff/100001/blimp/client/feature/mock_navigation_feature.cc File blimp/client/feature/mock_navigation_feature.cc (right): https://codereview.chromium.org/2058263002/diff/100001/blimp/client/feature/mock_navigation_feature.cc#newcode17 blimp/client/feature/mock_navigation_feature.cc:17: delegate->OnUrlChanged(tab_id, GURL(url_text)); This is a little bit weird. It ...
4 years, 4 months ago (2016-07-27 22:36:48 UTC) #14
shaktisahu
On 2016/07/27 22:36:48, nyquist wrote: > https://codereview.chromium.org/2058263002/diff/100001/blimp/client/feature/mock_navigation_feature.cc > File blimp/client/feature/mock_navigation_feature.cc (right): > > https://codereview.chromium.org/2058263002/diff/100001/blimp/client/feature/mock_navigation_feature.cc#newcode17 > ...
4 years, 4 months ago (2016-07-27 23:13:48 UTC) #15
Kevin M
https://codereview.chromium.org/2058263002/diff/120001/blimp/client/core/contents/blimp_contents_impl.h File blimp/client/core/contents/blimp_contents_impl.h (right): https://codereview.chromium.org/2058263002/diff/120001/blimp/client/core/contents/blimp_contents_impl.h#newcode43 blimp/client/core/contents/blimp_contents_impl.h:43: BlimpNavigationControllerImpl& GetNavigationController() override; This should be a pointer, not ...
4 years, 4 months ago (2016-07-27 23:35:17 UTC) #17
David Trainor- moved to gerrit
https://codereview.chromium.org/2058263002/diff/120001/blimp/client/core/contents/blimp_contents_impl.h File blimp/client/core/contents/blimp_contents_impl.h (right): https://codereview.chromium.org/2058263002/diff/120001/blimp/client/core/contents/blimp_contents_impl.h#newcode43 blimp/client/core/contents/blimp_contents_impl.h:43: BlimpNavigationControllerImpl& GetNavigationController() override; On 2016/07/27 23:35:17, Kevin M wrote: ...
4 years, 4 months ago (2016-07-28 16:43:25 UTC) #18
nyquist
https://codereview.chromium.org/2058263002/diff/120001/blimp/client/core/contents/blimp_contents_impl.h File blimp/client/core/contents/blimp_contents_impl.h (right): https://codereview.chromium.org/2058263002/diff/120001/blimp/client/core/contents/blimp_contents_impl.h#newcode43 blimp/client/core/contents/blimp_contents_impl.h:43: BlimpNavigationControllerImpl& GetNavigationController() override; On 2016/07/28 16:43:24, David Trainor wrote: ...
4 years, 4 months ago (2016-07-28 19:23:06 UTC) #19
shaktisahu
Kevin, PTAL https://codereview.chromium.org/2058263002/diff/80001/blimp/client/core/blimp_contents_impl_unittest.cc File blimp/client/core/blimp_contents_impl_unittest.cc (right): https://codereview.chromium.org/2058263002/diff/80001/blimp/client/core/blimp_contents_impl_unittest.cc#newcode43 blimp/client/core/blimp_contents_impl_unittest.cc:43: void OnNavigationStateChanged() override{}; On 2016/07/27 16:55:00, David ...
4 years, 4 months ago (2016-07-28 19:32:52 UTC) #20
shaktisahu
Kevin, PTAL
4 years, 4 months ago (2016-07-28 19:32:56 UTC) #21
Kevin M
A couple general comments: * This CL is really big in terms of the number ...
4 years, 4 months ago (2016-07-29 21:05:33 UTC) #22
shaktisahu
@kmarshall, PTAL The CL was started out very small. But as a few files were ...
4 years, 4 months ago (2016-07-29 22:57:31 UTC) #23
Kevin M
Yeah, that's how these things usually go. Still, though, there are ways you can chop ...
4 years, 4 months ago (2016-08-01 23:41:58 UTC) #24
shaktisahu
Hi Kevin, PTAL https://codereview.chromium.org/2058263002/diff/120001/blimp/client/core/contents/blimp_navigation_controller_impl.h File blimp/client/core/contents/blimp_navigation_controller_impl.h (right): https://codereview.chromium.org/2058263002/diff/120001/blimp/client/core/contents/blimp_navigation_controller_impl.h#newcode47 blimp/client/core/contents/blimp_navigation_controller_impl.h:47: // For testing only. On 2016/08/01 ...
4 years, 4 months ago (2016-08-02 17:47:53 UTC) #25
shaktisahu
Hi Kevin, PTAL
4 years, 4 months ago (2016-08-02 17:47:57 UTC) #26
Kevin M
lgtm % nits https://codereview.chromium.org/2058263002/diff/180001/blimp/client/core/contents/android/blimp_contents_observer_proxy.cc File blimp/client/core/contents/android/blimp_contents_observer_proxy.cc (right): https://codereview.chromium.org/2058263002/diff/180001/blimp/client/core/contents/android/blimp_contents_observer_proxy.cc#newcode53 blimp/client/core/contents/android/blimp_contents_observer_proxy.cc:53: java_obj_.obj()); This looks like Java-style formatting? ...
4 years, 4 months ago (2016-08-03 16:55:16 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2058263002/200001
4 years, 4 months ago (2016-08-03 18:38:59 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/106479) android_clang_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, ...
4 years, 4 months ago (2016-08-03 18:43:37 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2058263002/220001
4 years, 4 months ago (2016-08-03 20:03:00 UTC) #35
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_compile_dbg_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_compile_dbg_ng/builds/240881) linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, ...
4 years, 4 months ago (2016-08-03 20:07:45 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2058263002/240001
4 years, 4 months ago (2016-08-03 21:02:44 UTC) #40
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/203608) linux_chromium_clobber_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, ...
4 years, 4 months ago (2016-08-03 21:08:07 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2058263002/260001
4 years, 4 months ago (2016-08-03 21:26:43 UTC) #45
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_clang_dbg_recipe/builds/106742)
4 years, 4 months ago (2016-08-03 22:44:50 UTC) #47
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2058263002/280001
4 years, 4 months ago (2016-08-03 23:26:37 UTC) #50
commit-bot: I haz the power
Committed patchset #15 (id:280001)
4 years, 4 months ago (2016-08-04 01:07:27 UTC) #52
commit-bot: I haz the power
4 years, 4 months ago (2016-08-04 01:09:35 UTC) #54
Message was sent while issue was closed.
Patchset 15 (id:??) landed as
https://crrev.com/07de74f02ced93bc52625ee8f50f9d9a3f40a841
Cr-Commit-Position: refs/heads/master@{#409689}

Powered by Google App Engine
This is Rietveld 408576698