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

Issue 8666013: Add a public content/ interface for intents. Use it. (Closed)

Created:
9 years, 1 month ago by Greg Billock
Modified:
9 years ago
CC:
chromium-reviews, Avi (use Gerrit), creis+watch_chromium.org, ajwong+watch_chromium.org, jam, dpranke-watch+content_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Add a public content/ interface for intents. Use it. R=jam@chromium.org BUG=104980 TEST=None. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=112545

Patch Set 1 #

Total comments: 8

Patch Set 2 : Change method signature. #

Total comments: 6

Patch Set 3 : Fix IntentInjector; use TCO::tab_contents() #

Total comments: 20

Patch Set 4 : Review comments and comment fixes #

Total comments: 2

Patch Set 5 : Merge to head #

Patch Set 6 : Add test fix. #

Patch Set 7 : Fix windows external tab contents delegate. #

Patch Set 8 : Fix typo #

Patch Set 9 : For try servers. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+256 lines, -126 lines) Patch
M chrome/browser/external_tab_container_win.h View 1 2 3 4 5 6 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/external_tab_container_win.cc View 1 2 3 4 5 6 7 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/browser.h View 1 2 3 4 5 1 chunk +1 line, -3 lines 0 comments Download
M chrome/browser/ui/browser.cc View 1 2 3 4 5 2 chunks +5 lines, -8 lines 0 comments Download
M chrome/browser/ui/intents/web_intent_picker_controller.h View 1 2 3 4 5 3 chunks +11 lines, -17 lines 0 comments Download
M chrome/browser/ui/intents/web_intent_picker_controller.cc View 5 chunks +15 lines, -67 lines 0 comments Download
M chrome/browser/ui/intents/web_intent_picker_controller_browsertest.cc View 1 2 3 4 5 3 chunks +30 lines, -1 line 0 comments Download
M content/browser/intents/intent_injector.h View 1 2 2 chunks +5 lines, -4 lines 0 comments Download
M content/browser/intents/intent_injector.cc View 1 2 4 chunks +7 lines, -12 lines 0 comments Download
A content/browser/intents/intents_host_impl.h View 1 2 3 1 chunk +59 lines, -0 lines 0 comments Download
A content/browser/intents/intents_host_impl.cc View 1 2 3 1 chunk +54 lines, -0 lines 0 comments Download
M content/browser/tab_contents/tab_contents.cc View 1 2 3 4 2 chunks +3 lines, -1 line 0 comments Download
M content/browser/tab_contents/tab_contents_delegate.h View 2 chunks +3 lines, -4 lines 0 comments Download
M content/browser/tab_contents/tab_contents_delegate.cc View 1 2 3 2 chunks +5 lines, -3 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 2 chunks +3 lines, -0 lines 0 comments Download
A content/public/browser/intents_host.h View 1 2 1 chunk +47 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Greg Billock
9 years, 1 month ago (2011-11-23 01:16:58 UTC) #1
jam
looks great, some nits: http://codereview.chromium.org/8666013/diff/1/content/browser/intents/intents_host_impl.h File content/browser/intents/intents_host_impl.h (right): http://codereview.chromium.org/8666013/diff/1/content/browser/intents/intents_host_impl.h#newcode14 content/browser/intents/intents_host_impl.h:14: class TabContents; nit: not needed ...
9 years, 1 month ago (2011-11-23 21:00:00 UTC) #2
Greg Billock
http://codereview.chromium.org/8666013/diff/1/content/browser/intents/intents_host_impl.h File content/browser/intents/intents_host_impl.h (right): http://codereview.chromium.org/8666013/diff/1/content/browser/intents/intents_host_impl.h#newcode14 content/browser/intents/intents_host_impl.h:14: class TabContents; On 2011/11/23 21:00:00, John Abd-El-Malek wrote: > ...
9 years, 1 month ago (2011-11-24 00:42:12 UTC) #3
jam
lgtm with removal of source_tab_ http://codereview.chromium.org/8666013/diff/1/content/browser/intents/intents_host_impl.h File content/browser/intents/intents_host_impl.h (right): http://codereview.chromium.org/8666013/diff/1/content/browser/intents/intents_host_impl.h#newcode36 content/browser/intents/intents_host_impl.h:36: TabContents* source_tab_; On 2011/11/24 ...
9 years, 1 month ago (2011-11-24 21:27:49 UTC) #4
binji
http://codereview.chromium.org/8666013/diff/6001/content/browser/intents/intents_host_impl.cc File content/browser/intents/intents_host_impl.cc (right): http://codereview.chromium.org/8666013/diff/6001/content/browser/intents/intents_host_impl.cc#newcode54 content/browser/intents/intents_host_impl.cc:54: intent_injector_->SourceTabContentsDestroyed(tab); You might want to mention here that the ...
9 years ago (2011-11-28 22:50:14 UTC) #5
Greg Billock
http://codereview.chromium.org/8666013/diff/1/content/browser/intents/intents_host_impl.h File content/browser/intents/intents_host_impl.h (right): http://codereview.chromium.org/8666013/diff/1/content/browser/intents/intents_host_impl.h#newcode36 content/browser/intents/intents_host_impl.h:36: TabContents* source_tab_; Good point. It's documented in the API ...
9 years ago (2011-11-29 00:19:55 UTC) #6
James Hawkins
http://codereview.chromium.org/8666013/diff/18001/chrome/browser/ui/intents/web_intent_picker_controller.h File chrome/browser/ui/intents/web_intent_picker_controller.h (right): http://codereview.chromium.org/8666013/diff/18001/chrome/browser/ui/intents/web_intent_picker_controller.h#newcode46 chrome/browser/ui/intents/web_intent_picker_controller.h:46: // this picker was created. The picker takes ownership ...
9 years ago (2011-11-29 02:57:54 UTC) #7
Greg Billock
http://codereview.chromium.org/8666013/diff/18001/chrome/browser/ui/intents/web_intent_picker_controller.h File chrome/browser/ui/intents/web_intent_picker_controller.h (right): http://codereview.chromium.org/8666013/diff/18001/chrome/browser/ui/intents/web_intent_picker_controller.h#newcode46 chrome/browser/ui/intents/web_intent_picker_controller.h:46: // this picker was created. The picker takes ownership ...
9 years ago (2011-11-29 19:18:15 UTC) #8
James Hawkins
LGTM with nit. http://codereview.chromium.org/8666013/diff/22003/chrome/browser/ui/intents/web_intent_picker_controller.h File chrome/browser/ui/intents/web_intent_picker_controller.h (right): http://codereview.chromium.org/8666013/diff/22003/chrome/browser/ui/intents/web_intent_picker_controller.h#newcode47 chrome/browser/ui/intents/web_intent_picker_controller.h:47: // Must not be NULL. To ...
9 years ago (2011-11-29 19:20:04 UTC) #9
Greg Billock
http://codereview.chromium.org/8666013/diff/22003/chrome/browser/ui/intents/web_intent_picker_controller.h File chrome/browser/ui/intents/web_intent_picker_controller.h (right): http://codereview.chromium.org/8666013/diff/22003/chrome/browser/ui/intents/web_intent_picker_controller.h#newcode47 chrome/browser/ui/intents/web_intent_picker_controller.h:47: // Must not be NULL. On 2011/11/29 19:20:04, James ...
9 years ago (2011-11-29 23:41:40 UTC) #10
groby-ooo-7-16
lgtm
9 years ago (2011-12-01 00:58:14 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gbillock@chromium.org/8666013/32001
9 years ago (2011-12-01 20:34:32 UTC) #12
commit-bot: I haz the power
9 years ago (2011-12-01 21:54:55 UTC) #13
Change committed as 112545

Powered by Google App Engine
This is Rietveld 408576698