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

Issue 288313002: Tweaks to ViewManager: (Closed)

Created:
6 years, 7 months ago by sky
Modified:
6 years, 7 months ago
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Visibility:
Public.

Description

Tweaks to ViewManager: . OnNodeHierarchyChanged() is only sent for nodes the client cares about (see ShouldNotifyOnHierarchyChange for exact details). . OnNodeHierarchyChanged() now includes any nodes not yet known to the client. . Added OnServerChangeIdAdvanced, which is sent if the change id advances but the client didn't get a notification (this can happen when hierarchy changes are done in other clients that the client isn't notified about). . OnConnectionEstablished now includes the state of the tree. BUG=365012 TEST=covered by tests R=ben@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=270925 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=271025

Patch Set 1 #

Patch Set 2 : cleanup #

Total comments: 1

Patch Set 3 : fix merge errors #

Patch Set 4 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+689 lines, -198 lines) Patch
M mojo/mojo_services.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M mojo/services/public/cpp/view_manager/lib/view_manager_synchronizer.h View 2 chunks +6 lines, -4 lines 0 comments Download
M mojo/services/public/cpp/view_manager/lib/view_manager_synchronizer.cc View 1 2 3 chunks +37 lines, -35 lines 0 comments Download
M mojo/services/public/interfaces/view_manager/view_manager.mojom View 2 chunks +21 lines, -7 lines 0 comments Download
M mojo/services/view_manager/node.h View 1 chunk +12 lines, -1 line 0 comments Download
M mojo/services/view_manager/node.cc View 3 chunks +12 lines, -1 line 0 comments Download
M mojo/services/view_manager/root_node_manager.h View 4 chunks +22 lines, -13 lines 0 comments Download
M mojo/services/view_manager/root_node_manager.cc View 3 chunks +26 lines, -29 lines 0 comments Download
A mojo/services/view_manager/type_converters.h View 1 chunk +36 lines, -0 lines 0 comments Download
A mojo/services/view_manager/type_converters.cc View 1 chunk +34 lines, -0 lines 0 comments Download
M mojo/services/view_manager/view_manager_connection.h View 1 2 5 chunks +36 lines, -11 lines 0 comments Download
M mojo/services/view_manager/view_manager_connection.cc View 1 2 3 14 chunks +119 lines, -64 lines 0 comments Download
M mojo/services/view_manager/view_manager_connection_unittest.cc View 1 2 16 chunks +326 lines, -33 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
sky
6 years, 7 months ago (2014-05-15 20:41:45 UTC) #1
Ben Goodger (Google)
lgtm https://codereview.chromium.org/288313002/diff/20001/mojo/services/view_manager/view_manager_connection.cc File mojo/services/view_manager/view_manager_connection.cc (right): https://codereview.chromium.org/288313002/diff/20001/mojo/services/view_manager/view_manager_connection.cc#newcode238 mojo/services/view_manager/view_manager_connection.cc:238: GetUnknownNodesFrom(new_parent->GetRoot(), to_send); I think this is too permissive. ...
6 years, 7 months ago (2014-05-15 21:52:29 UTC) #2
sky
The CQ bit was checked by sky@chromium.org
6 years, 7 months ago (2014-05-15 21:53:18 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sky@chromium.org/288313002/20001
6 years, 7 months ago (2014-05-15 21:54:36 UTC) #4
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-16 01:21:36 UTC) #5
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-16 01:26:35 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_triggered_tests on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_dbg_triggered_tests/builds/154275)
6 years, 7 months ago (2014-05-16 01:26:36 UTC) #7
sky
The CQ bit was checked by sky@chromium.org
6 years, 7 months ago (2014-05-16 03:19:14 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sky@chromium.org/288313002/20001
6 years, 7 months ago (2014-05-16 03:19:32 UTC) #9
commit-bot: I haz the power
Change committed as 270925
6 years, 7 months ago (2014-05-16 04:37:25 UTC) #10
sky
This was reverted because of a build error on windows. I've since fixed (diff between ...
6 years, 7 months ago (2014-05-16 15:13:33 UTC) #11
sky
6 years, 7 months ago (2014-05-16 15:17:11 UTC) #12
Message was sent while issue was closed.
Committed patchset #4 manually as r271025 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698