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

Issue 1042743002: Make Edit>Speech>Speak Selection work for PDFs on Mac (Closed)

Created:
5 years, 8 months ago by raymes
Modified:
5 years, 8 months ago
CC:
chromium-reviews, yusukes+watch_chromium.org, yukishiino+watch_chromium.org, jam, penghuang+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, James Su, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make Edit>Speech>Speak Selection work for PDFs on Mac This makes Speak Selection from the menu work for PDFs on Mac. It also simplifies the code slightly by creating a function which gets the "full page" guest if there is one. BUG=476787 Committed: https://crrev.com/5491de1829c10ec6d2a1e8ed1abea274cde12ab7 Cr-Commit-Position: refs/heads/master@{#325584}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : . #

Total comments: 3

Patch Set 4 : #

Patch Set 5 : #

Total comments: 8

Patch Set 6 : #

Total comments: 6

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -60 lines) Patch
M content/browser/browser_plugin/browser_plugin_embedder.h View 1 2 3 4 5 2 chunks +4 lines, -12 lines 0 comments Download
M content/browser/browser_plugin/browser_plugin_embedder.cc View 1 2 3 4 5 2 chunks +6 lines, -40 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.mm View 1 2 3 4 5 6 3 chunks +21 lines, -2 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 4 5 6 1 chunk +8 lines, -6 lines 0 comments Download
M content/public/browser/browser_plugin_guest_manager.h View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M content/public/browser/browser_plugin_guest_manager.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M extensions/browser/guest_view/guest_view_manager.h View 1 2 3 4 2 chunks +5 lines, -0 lines 0 comments Download
M extensions/browser/guest_view/guest_view_manager.cc View 1 2 3 4 2 chunks +20 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (5 generated)
raymes
Hey Fady, this CL isn't ready to land but I need some help figuring out ...
5 years, 8 months ago (2015-03-30 23:02:04 UTC) #2
Fady Samuel
https://codereview.chromium.org/1042743002/diff/40001/content/browser/renderer_host/render_widget_host_view_mac.mm File content/browser/renderer_host/render_widget_host_view_mac.mm (right): https://codereview.chromium.org/1042743002/diff/40001/content/browser/renderer_host/render_widget_host_view_mac.mm#newcode117 content/browser/renderer_host/render_widget_host_view_mac.mm:117: static_cast<WebContentsImpl*>(render_widget_host_view->GetWebContents()); On 2015/03/30 23:02:03, raymes wrote: > Fady: WebContentsImpl* ...
5 years, 8 months ago (2015-03-31 15:40:23 UTC) #3
raymes
Thanks Fady! That did the trick. PTAL
5 years, 8 months ago (2015-04-01 05:05:40 UTC) #5
Sam McNally
https://codereview.chromium.org/1042743002/diff/80001/content/browser/browser_plugin/browser_plugin_embedder.cc File content/browser/browser_plugin/browser_plugin_embedder.cc (right): https://codereview.chromium.org/1042743002/diff/80001/content/browser/browser_plugin/browser_plugin_embedder.cc#newcode186 content/browser/browser_plugin/browser_plugin_embedder.cc:186: return guest_contents->GetBrowserPluginGuest(); Check for a null guest_contents? https://codereview.chromium.org/1042743002/diff/80001/content/browser/browser_plugin/browser_plugin_embedder.h File ...
5 years, 8 months ago (2015-04-01 06:04:50 UTC) #6
Fady Samuel
lgtm once comments are addressed.
5 years, 8 months ago (2015-04-01 21:54:47 UTC) #7
Fady Samuel
https://chromiumcodereview.appspot.com/1042743002/diff/80001/content/public/browser/browser_plugin_guest_manager.h File content/public/browser/browser_plugin_guest_manager.h (right): https://chromiumcodereview.appspot.com/1042743002/diff/80001/content/public/browser/browser_plugin_guest_manager.h#newcode33 content/public/browser/browser_plugin_guest_manager.h:33: virtual WebContents* GetFullPageGuest(WebContents* embedder_web_contents); nit: Add comment as to ...
5 years, 8 months ago (2015-04-01 21:55:14 UTC) #8
raymes
+jam@ for OWNERS for content/browser/web_contents/web_contents_impl.cc content/public/browser/browser_plugin_guest_manager.* +asvitkine@chromium.org for content/browser/renderer_host/render_widget_host_view_mac.mm https://codereview.chromium.org/1042743002/diff/80001/content/browser/browser_plugin/browser_plugin_embedder.cc File content/browser/browser_plugin/browser_plugin_embedder.cc (right): https://codereview.chromium.org/1042743002/diff/80001/content/browser/browser_plugin/browser_plugin_embedder.cc#newcode186 content/browser/browser_plugin/browser_plugin_embedder.cc:186: ...
5 years, 8 months ago (2015-04-13 11:00:31 UTC) #10
jam
https://codereview.chromium.org/1042743002/diff/100001/content/public/browser/browser_plugin_guest_manager.h File content/public/browser/browser_plugin_guest_manager.h (right): https://codereview.chromium.org/1042743002/diff/100001/content/public/browser/browser_plugin_guest_manager.h#newcode36 content/public/browser/browser_plugin_guest_manager.h:36: virtual WebContents* GetFullPageGuest(WebContents* embedder_web_contents); this appears to be called ...
5 years, 8 months ago (2015-04-13 14:40:08 UTC) #11
Alexei Svitkine (slow)
Sweet, happy to see this being worked on! Can you associate the change with a ...
5 years, 8 months ago (2015-04-13 15:08:16 UTC) #12
raymes
On 2015/04/13 14:40:08, jam wrote: > https://codereview.chromium.org/1042743002/diff/100001/content/public/browser/browser_plugin_guest_manager.h > File content/public/browser/browser_plugin_guest_manager.h (right): > > https://codereview.chromium.org/1042743002/diff/100001/content/public/browser/browser_plugin_guest_manager.h#newcode36 > ...
5 years, 8 months ago (2015-04-14 00:29:29 UTC) #13
raymes
Done, thanks! https://codereview.chromium.org/1042743002/diff/100001/content/browser/renderer_host/render_widget_host_view_mac.mm File content/browser/renderer_host/render_widget_host_view_mac.mm (right): https://codereview.chromium.org/1042743002/diff/100001/content/browser/renderer_host/render_widget_host_view_mac.mm#newcode114 content/browser/renderer_host/render_widget_host_view_mac.mm:114: WebContents* web_contents = render_widget_host_view->GetWebContents(); On 2015/04/13 15:08:15, ...
5 years, 8 months ago (2015-04-14 00:37:03 UTC) #14
Sam McNally
lgtm
5 years, 8 months ago (2015-04-14 01:06:48 UTC) #15
Alexei Svitkine (slow)
lgtm
5 years, 8 months ago (2015-04-14 17:08:05 UTC) #16
raymes
jam@: I guess browser_plugin_guest_manager.h is basically a delegate. Is it ok to land this?
5 years, 8 months ago (2015-04-15 04:32:57 UTC) #17
raymes
jam: ping On Wed, 15 Apr 2015 at 14:32 <raymes@chromium.org> wrote: > jam@: I guess ...
5 years, 8 months ago (2015-04-16 02:34:08 UTC) #18
jam
sorry for delay, I didn't see the updates (please ping me if I take more ...
5 years, 8 months ago (2015-04-16 14:45:30 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1042743002/120001
5 years, 8 months ago (2015-04-16 23:20:15 UTC) #22
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 8 months ago (2015-04-17 02:01:36 UTC) #23
commit-bot: I haz the power
5 years, 8 months ago (2015-04-17 02:02:39 UTC) #24
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/5491de1829c10ec6d2a1e8ed1abea274cde12ab7
Cr-Commit-Position: refs/heads/master@{#325584}

Powered by Google App Engine
This is Rietveld 408576698