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

Issue 222973003: Conversion of content_shell target to use WebLocalFrame. (Closed)

Created:
6 years, 8 months ago by dcheng
Modified:
6 years, 8 months ago
CC:
chromium-reviews, creis+watch_chromium.org, plundblad+watch_chromium.org, feature-media-reviews_chromium.org, aboxhall+watch_chromium.org, ben+mojo_chromium.org, nasko+codewatch_chromium.org, jam, mcasas+watch_chromium.org, yuzo+watch_chromium.org, abarth-chromium, fischman+watch_chromium.org, darin-cc_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, darin (slow to review), wjia+watch_chromium.org, viettrungluu+watch_chromium.org, jochen+watch_chromium.org, Aaron Boodman, site-isolation-reviews_chromium.org
Visibility:
Public.

Description

Conversion of content_shell target to use WebLocalFrame. Fairly straightforward, as the locations where I had to add conversions should only ever expect to be called in the context of a local frame. BUG=346764 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=261764

Patch Set 1 #

Patch Set 2 : Remove some TODOs #

Total comments: 22

Patch Set 3 : Update comments #

Patch Set 4 : #

Patch Set 5 : Rebase #

Patch Set 6 : Fixed rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+484 lines, -468 lines) Patch
M content/public/renderer/render_frame.h View 2 chunks +5 lines, -4 lines 0 comments Download
M content/public/renderer/render_view.h View 2 chunks +3 lines, -1 line 0 comments Download
M content/public/renderer/render_view_observer.h View 2 chunks +19 lines, -16 lines 0 comments Download
M content/public/test/render_view_test.h View 1 chunk +2 lines, -1 line 0 comments Download
M content/public/test/render_view_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/accessibility/renderer_accessibility_complete.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/accessibility/renderer_accessibility_complete.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/accessibility/renderer_accessibility_focus_only.h View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/accessibility/renderer_accessibility_focus_only.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M content/renderer/media/crypto/pepper_cdm_wrapper_impl.h View 2 chunks +3 lines, -2 lines 0 comments Download
M content/renderer/media/crypto/pepper_cdm_wrapper_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/media/webcontentdecryptionmodule_impl.h View 2 chunks +3 lines, -2 lines 0 comments Download
M content/renderer/media/webcontentdecryptionmodule_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/media/webmediaplayer_impl.h View 3 chunks +7 lines, -7 lines 0 comments Download
M content/renderer/media/webmediaplayer_impl.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/pepper/resource_converter.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/render_frame_impl.h View 1 2 3 4 6 chunks +72 lines, -78 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 5 48 chunks +64 lines, -63 lines 0 comments Download
M content/renderer/render_view_impl.h View 1 2 3 4 7 chunks +65 lines, -71 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 32 chunks +83 lines, -73 lines 0 comments Download
M content/renderer/web_ui_mojo.h View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/web_ui_mojo.cc View 3 chunks +6 lines, -3 lines 0 comments Download
M content/shell/renderer/leak_detector.h View 2 chunks +3 lines, -5 lines 0 comments Download
M content/shell/renderer/leak_detector.cc View 1 chunk +2 lines, -1 line 0 comments Download
M content/shell/renderer/shell_render_view_observer.h View 1 chunk +1 line, -1 line 0 comments Download
M content/shell/renderer/shell_render_view_observer.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/shell/renderer/test_runner/WebFrameTestProxy.h View 1 2 3 4 4 chunks +22 lines, -22 lines 0 comments Download
M content/shell/renderer/test_runner/WebPermissions.h View 1 2 3 1 chunk +6 lines, -6 lines 0 comments Download
M content/shell/renderer/test_runner/WebPermissions.cpp View 1 2 3 1 chunk +6 lines, -6 lines 0 comments Download
M content/shell/renderer/test_runner/WebTestProxy.h View 1 2 3 4 8 chunks +57 lines, -54 lines 0 comments Download
M content/shell/renderer/test_runner/WebTestProxy.cpp View 1 2 3 4 23 chunks +28 lines, -28 lines 0 comments Download
M content/shell/renderer/webkit_test_runner.h View 1 chunk +4 lines, -4 lines 0 comments Download
M content/shell/renderer/webkit_test_runner.cc View 1 7 chunks +11 lines, -9 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
dcheng
This patch is just the bits needed to build content_shell without errors when WebLocalFrame subclasses ...
6 years, 8 months ago (2014-04-02 22:08:15 UTC) #1
Charlie Reis
Hmm, I guess I need a little more context to be able to review this. ...
6 years, 8 months ago (2014-04-02 23:34:14 UTC) #2
dcheng
Hmm. Right now, checking if toWebLocalFrame() is null happens to be the way to determine ...
6 years, 8 months ago (2014-04-02 23:47:07 UTC) #3
Charlie Reis
Jochen: One question for you in WebFrameTestProxy.h below. Daniel: Looks pretty good to me. Just ...
6 years, 8 months ago (2014-04-03 00:37:11 UTC) #4
dcheng
Since no one depends on using toWebLocalFrame() to check if a WebFrame is local yet, ...
6 years, 8 months ago (2014-04-03 20:39:57 UTC) #5
Charlie Reis
I think I forgot to actually CC Jochen last time. Jochen: One style question for ...
6 years, 8 months ago (2014-04-03 20:56:31 UTC) #6
dcheng
https://codereview.chromium.org/222973003/diff/20001/content/public/renderer/render_view_observer.h File content/public/renderer/render_view_observer.h (right): https://codereview.chromium.org/222973003/diff/20001/content/public/renderer/render_view_observer.h#newcode71 content/public/renderer/render_view_observer.h:71: virtual void FrameDetached(blink::WebFrame* frame) {} On 2014/04/03 20:56:31, Charlie ...
6 years, 8 months ago (2014-04-03 21:03:24 UTC) #7
jochen (gone - plz use gerrit)
https://codereview.chromium.org/222973003/diff/20001/content/shell/renderer/test_runner/WebFrameTestProxy.h File content/shell/renderer/test_runner/WebFrameTestProxy.h (left): https://codereview.chromium.org/222973003/diff/20001/content/shell/renderer/test_runner/WebFrameTestProxy.h#oldcode36 content/shell/renderer/test_runner/WebFrameTestProxy.h:36: blink::WebPlugin* createPlugin(blink::WebFrame* frame, const blink::WebPluginParams& params) On 2014/04/03 20:56:31, ...
6 years, 8 months ago (2014-04-04 09:01:38 UTC) #8
dcheng
On 2014/04/04 09:01:38, jochen wrote: > https://codereview.chromium.org/222973003/diff/20001/content/shell/renderer/test_runner/WebFrameTestProxy.h > File content/shell/renderer/test_runner/WebFrameTestProxy.h (left): > > https://codereview.chromium.org/222973003/diff/20001/content/shell/renderer/test_runner/WebFrameTestProxy.h#oldcode36 > ...
6 years, 8 months ago (2014-04-04 10:07:18 UTC) #9
jochen (gone - plz use gerrit)
lgtm
6 years, 8 months ago (2014-04-04 10:25:45 UTC) #10
dcheng
The CQ bit was checked by dcheng@chromium.org
6 years, 8 months ago (2014-04-04 10:39:14 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dcheng@chromium.org/222973003/100001
6 years, 8 months ago (2014-04-04 10:39:23 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dcheng@chromium.org/222973003/100001
6 years, 8 months ago (2014-04-04 15:24:00 UTC) #13
commit-bot: I haz the power
6 years, 8 months ago (2014-04-04 15:50:24 UTC) #14
Message was sent while issue was closed.
Change committed as 261764

Powered by Google App Engine
This is Rietveld 408576698