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

Issue 272833002: View synchronization (Closed)

Created:
6 years, 7 months ago by Ben Goodger (Google)
Modified:
6 years, 7 months ago
Reviewers:
sky
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

Synchronizes View instances across clients. Create/DestroyView SetActiveView also adds some tests for creating views & nodes across connections, and some preliminary validation that client side objects from different connections can't be used together. R=sky@chromium.org http://crbug.com/365012 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=270122 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=270174

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : . #

Patch Set 5 : . #

Patch Set 6 : . #

Total comments: 3

Patch Set 7 : . #

Patch Set 8 : . #

Patch Set 9 : . #

Patch Set 10 : . #

Patch Set 11 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+819 lines, -87 lines) Patch
M mojo/mojo_services.gypi View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
M mojo/services/public/cpp/view_manager/lib/view.cc View 1 2 3 4 1 chunk +82 lines, -0 lines 0 comments Download
M mojo/services/public/cpp/view_manager/lib/view_manager.cc View 1 2 3 4 3 chunks +13 lines, -0 lines 0 comments Download
M mojo/services/public/cpp/view_manager/lib/view_manager_private.h View 1 chunk +3 lines, -0 lines 0 comments Download
M mojo/services/public/cpp/view_manager/lib/view_manager_private.cc View 1 2 3 4 5 6 7 2 chunks +12 lines, -0 lines 0 comments Download
M mojo/services/public/cpp/view_manager/lib/view_manager_synchronizer.h View 1 2 3 4 5 6 3 chunks +11 lines, -2 lines 0 comments Download
M mojo/services/public/cpp/view_manager/lib/view_manager_synchronizer.cc View 1 2 3 4 5 6 14 chunks +192 lines, -25 lines 0 comments Download
A mojo/services/public/cpp/view_manager/lib/view_private.h View 1 2 3 1 chunk +46 lines, -0 lines 0 comments Download
A + mojo/services/public/cpp/view_manager/lib/view_private.cc View 1 2 1 chunk +12 lines, -11 lines 0 comments Download
M mojo/services/public/cpp/view_manager/lib/view_tree_node.cc View 1 2 3 4 5 6 chunks +92 lines, -10 lines 0 comments Download
M mojo/services/public/cpp/view_manager/lib/view_tree_node_private.h View 2 chunks +4 lines, -2 lines 0 comments Download
M mojo/services/public/cpp/view_manager/tests/view_manager_unittest.cc View 1 2 3 4 5 6 7 3 chunks +205 lines, -18 lines 0 comments Download
M mojo/services/public/cpp/view_manager/view.h View 1 2 3 4 5 6 7 1 chunk +31 lines, -0 lines 0 comments Download
M mojo/services/public/cpp/view_manager/view_manager.h View 2 chunks +4 lines, -0 lines 0 comments Download
A mojo/services/public/cpp/view_manager/view_observer.h View 1 2 3 1 chunk +35 lines, -0 lines 0 comments Download
M mojo/services/public/cpp/view_manager/view_tree_node.h View 4 chunks +8 lines, -0 lines 0 comments Download
M mojo/services/public/cpp/view_manager/view_tree_node_observer.h View 2 chunks +6 lines, -0 lines 0 comments Download
M mojo/services/public/interfaces/view_manager/view_manager.mojom View 1 2 3 4 5 6 2 chunks +4 lines, -3 lines 0 comments Download
M mojo/services/view_manager/node.h View 1 2 3 4 5 6 7 8 9 3 chunks +5 lines, -3 lines 0 comments Download
M mojo/services/view_manager/node.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M mojo/services/view_manager/root_node_manager.h View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -1 line 0 comments Download
M mojo/services/view_manager/root_node_manager.cc View 1 2 3 4 5 6 7 8 9 2 chunks +10 lines, -1 line 0 comments Download
M mojo/services/view_manager/view.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +3 lines, -2 lines 0 comments Download
M mojo/services/view_manager/view.cc View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -0 lines 0 comments Download
M mojo/services/view_manager/view_manager_connection.h View 1 2 3 4 5 6 7 8 9 3 chunks +7 lines, -2 lines 0 comments Download
M mojo/services/view_manager/view_manager_connection.cc View 1 2 3 4 5 6 7 8 9 7 chunks +14 lines, -5 lines 0 comments Download
M mojo/services/view_manager/view_manager_connection_unittest.cc View 1 2 3 4 5 6 2 chunks +12 lines, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
Ben Goodger (Google)
6 years, 7 months ago (2014-05-12 20:30:25 UTC) #1
sky
LGTM https://codereview.chromium.org/272833002/diff/100001/mojo/services/public/cpp/view_manager/lib/view_manager_private.cc File mojo/services/public/cpp/view_manager/lib/view_manager_private.cc (right): https://codereview.chromium.org/272833002/diff/100001/mojo/services/public/cpp/view_manager/lib/view_manager_private.cc#newcode26 mojo/services/public/cpp/view_manager/lib/view_manager_private.cc:26: manager_->views_[view_id] = view; DCHECK(manager_views_[view_id] == NULL? https://codereview.chromium.org/272833002/diff/100001/mojo/services/public/cpp/view_manager/tests/view_manager_unittest.cc File ...
6 years, 7 months ago (2014-05-12 21:17:57 UTC) #2
Ben Goodger (Google)
The CQ bit was checked by ben@chromium.org
6 years, 7 months ago (2014-05-13 03:40:21 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ben@chromium.org/272833002/140001
6 years, 7 months ago (2014-05-13 03:40:52 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-13 05:05:20 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-13 05:11:05 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/67297) linux_chromium_chromeos_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_chromeos_rel/builds/25932) linux_chromium_clang_dbg ...
6 years, 7 months ago (2014-05-13 05:11:05 UTC) #7
Ben Goodger (Google)
Committed patchset #9 manually as r270122 (presubmit successful).
6 years, 7 months ago (2014-05-13 16:29:13 UTC) #8
Ben Goodger (Google)
The CQ bit was checked by ben@chromium.org
6 years, 7 months ago (2014-05-13 17:33:39 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ben@chromium.org/272833002/190001
6 years, 7 months ago (2014-05-13 17:34:38 UTC) #10
Ben Goodger (Google)
6 years, 7 months ago (2014-05-13 19:46:06 UTC) #11
Message was sent while issue was closed.
Committed patchset #11 manually as r270174 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698