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

Issue 776553003: Fix html viewer. (Closed)

Created:
6 years ago by qsr
Modified:
6 years ago
Reviewers:
Aaron Boodman, xhwang
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Fix html viewer. R=aa@chromium.org Committed: https://crrev.com/7221cc36c54297f3d9c435e4e83c6a3d78ea1171 Cr-Commit-Position: refs/heads/master@{#307666}

Patch Set 1 #

Total comments: 12

Patch Set 2 : Follow review #

Patch Set 3 : Follow review #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+143 lines, -511 lines) Patch
M mojo/services/html_viewer/BUILD.gn View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
A + mojo/services/html_viewer/html_document.h View 1 2 6 chunks +30 lines, -33 lines 1 comment Download
A + mojo/services/html_viewer/html_document.cc View 1 2 11 chunks +45 lines, -48 lines 1 comment Download
M mojo/services/html_viewer/html_document_view.h View 1 1 chunk +0 lines, -141 lines 0 comments Download
M mojo/services/html_viewer/html_document_view.cc View 1 1 chunk +0 lines, -281 lines 0 comments Download
M mojo/services/html_viewer/html_viewer.cc View 1 2 3 chunks +66 lines, -6 lines 1 comment Download

Messages

Total messages: 25 (2 generated)
qsr
Not sure we want to push this. This is fixing html_viewer related to the change ...
6 years ago (2014-12-02 17:35:36 UTC) #1
qsr
gentle ping?
6 years ago (2014-12-03 09:51:18 UTC) #2
Aaron Boodman
Doh, thought I did this. Looking...
6 years ago (2014-12-03 15:57:59 UTC) #3
qsr
On 2014/12/03 15:57:59, Aaron Boodman wrote: > Doh, thought I did this. Looking... BTW, we ...
6 years ago (2014-12-03 16:08:42 UTC) #4
Aaron Boodman
https://codereview.chromium.org/776553003/diff/1/mojo/services/html_viewer/html_document_view.cc File mojo/services/html_viewer/html_document_view.cc (right): https://codereview.chromium.org/776553003/diff/1/mojo/services/html_viewer/html_document_view.cc#newcode97 mojo/services/html_viewer/html_document_view.cc:97: shell_(shell), This raw ptr is another way we can ...
6 years ago (2014-12-03 16:42:11 UTC) #5
qsr
https://codereview.chromium.org/776553003/diff/1/mojo/services/html_viewer/html_document_view.cc File mojo/services/html_viewer/html_document_view.cc (right): https://codereview.chromium.org/776553003/diff/1/mojo/services/html_viewer/html_document_view.cc#newcode97 mojo/services/html_viewer/html_document_view.cc:97: shell_(shell), On 2014/12/03 16:42:11, Aaron Boodman wrote: > This ...
6 years ago (2014-12-03 16:56:53 UTC) #6
Aaron Boodman
https://codereview.chromium.org/776553003/diff/1/mojo/services/html_viewer/html_document_view.cc File mojo/services/html_viewer/html_document_view.cc (right): https://codereview.chromium.org/776553003/diff/1/mojo/services/html_viewer/html_document_view.cc#newcode97 mojo/services/html_viewer/html_document_view.cc:97: shell_(shell), On 2014/12/03 16:56:53, qsr wrote: > On 2014/12/03 ...
6 years ago (2014-12-03 17:32:37 UTC) #7
qsr
https://codereview.chromium.org/776553003/diff/1/mojo/services/html_viewer/html_document_view.cc File mojo/services/html_viewer/html_document_view.cc (right): https://codereview.chromium.org/776553003/diff/1/mojo/services/html_viewer/html_document_view.cc#newcode105 mojo/services/html_viewer/html_document_view.cc:105: WeakBindToPipe(&exported_services_, provider.PassMessagePipe()); On 2014/12/03 17:32:37, Aaron Boodman wrote: > ...
6 years ago (2014-12-04 10:11:17 UTC) #8
Aaron Boodman
On 2014/12/04 10:11:17, qsr wrote: > https://codereview.chromium.org/776553003/diff/1/mojo/services/html_viewer/html_document_view.cc > File mojo/services/html_viewer/html_document_view.cc (right): > > https://codereview.chromium.org/776553003/diff/1/mojo/services/html_viewer/html_document_view.cc#newcode105 > ...
6 years ago (2014-12-04 18:40:19 UTC) #9
Aaron Boodman
On 2014/12/04 18:40:19, Aaron Boodman wrote: > On 2014/12/04 10:11:17, qsr wrote: > > > ...
6 years ago (2014-12-04 23:59:09 UTC) #10
qsr
On 2014/12/04 23:59:09, Aaron Boodman wrote: > On 2014/12/04 18:40:19, Aaron Boodman wrote: > > ...
6 years ago (2014-12-05 11:43:59 UTC) #11
qsr
On 2014/12/04 18:40:19, Aaron Boodman wrote: > On 2014/12/04 10:11:17, qsr wrote: > > > ...
6 years ago (2014-12-05 13:02:08 UTC) #12
Aaron Boodman
On 2014/12/05 13:02:08, qsr wrote: > On 2014/12/04 18:40:19, Aaron Boodman wrote: > > On ...
6 years ago (2014-12-05 21:24:10 UTC) #13
qsr
On 2014/12/05 21:24:10, Aaron Boodman wrote: > On 2014/12/05 13:02:08, qsr wrote: > > On ...
6 years ago (2014-12-08 11:54:43 UTC) #14
qsr
gentle ping?
6 years ago (2014-12-09 09:58:36 UTC) #15
Aaron Boodman
https://codereview.chromium.org/776553003/diff/40001/mojo/services/html_viewer/html_document.h File mojo/services/html_viewer/html_document.h (right): https://codereview.chromium.org/776553003/diff/40001/mojo/services/html_viewer/html_document.h#newcode10 mojo/services/html_viewer/html_document.h:10: #include "base/callback.h" unused https://codereview.chromium.org/776553003/diff/40001/mojo/services/html_viewer/html_viewer.cc File mojo/services/html_viewer/html_viewer.cc (right): https://codereview.chromium.org/776553003/diff/40001/mojo/services/html_viewer/html_viewer.cc#newcode91 mojo/services/html_viewer/html_viewer.cc:91: ...
6 years ago (2014-12-10 08:54:29 UTC) #16
Aaron Boodman
lgtm to unblock, i'm out for a week.
6 years ago (2014-12-10 08:55:52 UTC) #17
qsr
On 2014/12/10 08:54:29, Aaron Boodman wrote: > https://codereview.chromium.org/776553003/diff/40001/mojo/services/html_viewer/html_document.h > File mojo/services/html_viewer/html_document.h (right): > > https://codereview.chromium.org/776553003/diff/40001/mojo/services/html_viewer/html_document.h#newcode10 ...
6 years ago (2014-12-10 09:06:57 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/776553003/40001
6 years ago (2014-12-10 09:07:13 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:40001)
6 years ago (2014-12-10 09:54:50 UTC) #21
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/7221cc36c54297f3d9c435e4e83c6a3d78ea1171 Cr-Commit-Position: refs/heads/master@{#307666}
6 years ago (2014-12-10 09:55:43 UTC) #22
xhwang
https://codereview.chromium.org/776553003/diff/40001/mojo/services/html_viewer/html_document.cc File mojo/services/html_viewer/html_document.cc (right): https://codereview.chromium.org/776553003/diff/40001/mojo/services/html_viewer/html_document.cc#newcode124 mojo/services/html_viewer/html_document.cc:124: Load(response_.Pass()); This is breaking my local test. In my ...
6 years ago (2014-12-12 01:50:14 UTC) #24
xhwang
6 years ago (2014-12-12 01:52:44 UTC) #25
Message was sent while issue was closed.
On 2014/12/12 01:50:14, xhwang wrote:
>
https://codereview.chromium.org/776553003/diff/40001/mojo/services/html_viewe...
> File mojo/services/html_viewer/html_document.cc (right):
> 
>
https://codereview.chromium.org/776553003/diff/40001/mojo/services/html_viewe...
> mojo/services/html_viewer/html_document.cc:124: Load(response_.Pass());
> This is breaking my local test. In my chromium checkout, if I run 
> 
> out/GN/mojo_shell <URL>
> 
> OnEmbed() is not called. If I move Load(response_.Pass()) to
> HTMLDocument::HTMLDocument() my test is working.
> 
> I don't fully understand this code. I don't have the html viewer window loaded
> in my chromium checkout (due to missing services). Is this a possible cause
that
> OnEmbed() is not called?

FWIW: this "fix" works for me https://codereview.chromium.org/796963003/, but I
am pretty sure I am missing the big picture...

Powered by Google App Engine
This is Rietveld 408576698