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

Issue 7461093: Web Intents: Preparatory work. (Closed)

Created:
9 years, 5 months ago by James Hawkins
Modified:
9 years, 4 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, Avi (use Gerrit), brettw-cc_chromium.org, jam, Paweł Hajdan Jr.
Visibility:
Public.

Description

Web Intents: Preparatory work. * Added --enable-web-intents switch. * Added enable_web_intents build variable, for use in WebKit mostly. * Added registration InfoBar and piping to the WebKit side, which is not hooked up on that side yet. BUG=none TEST=RegisterIntentHandlerInfoBarDelegateTest.* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=94867

Patch Set 1 #

Patch Set 2 : Indentation fix. #

Total comments: 7

Patch Set 3 : pkasting fix 1. #

Total comments: 8

Patch Set 4 : Logic simplification. #

Patch Set 5 : pkasting fix 2. #

Total comments: 4

Patch Set 6 : pkasting fix 3. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+150 lines, -10 lines) Patch
M build/common.gypi View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/app/generated_resources.grd View 1 2 1 chunk +13 lines, -10 lines 0 comments Download
A chrome/browser/intents/register_intent_handler_infobar_delegate.h View 1 2 3 4 1 chunk +36 lines, -0 lines 0 comments Download
A chrome/browser/intents/register_intent_handler_infobar_delegate.cc View 1 2 3 4 5 1 chunk +49 lines, -0 lines 0 comments Download
M chrome/browser/ui/tab_contents/tab_contents_wrapper.h View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/tab_contents/tab_contents_wrapper.cc View 3 chunks +16 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M content/common/view_messages.h View 1 1 chunk +7 lines, -0 lines 0 comments Download
M content/renderer/render_view.h View 1 chunk +4 lines, -0 lines 0 comments Download
M content/renderer/render_view.cc View 1 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
James Hawkins
+darin Feel free to let me know if I should find a different reviewer.
9 years, 5 months ago (2011-07-26 21:20:38 UTC) #1
James Hawkins
+sky for infobar
9 years, 5 months ago (2011-07-26 21:32:15 UTC) #2
sky
I'm trading myself for Peter. Peter is Mr Infobars (see his status for the last ...
9 years, 5 months ago (2011-07-26 21:45:12 UTC) #3
Peter Kasting
http://codereview.chromium.org/7461093/diff/4001/chrome/browser/intents/register_intent_handler_infobar_delegate.cc File chrome/browser/intents/register_intent_handler_infobar_delegate.cc (right): http://codereview.chromium.org/7461093/diff/4001/chrome/browser/intents/register_intent_handler_infobar_delegate.cc#newcode20 chrome/browser/intents/register_intent_handler_infobar_delegate.cc:20: RegisterIntentHandlerInfoBarDelegate::GetInfoBarType() const { Nit: Indent 4 http://codereview.chromium.org/7461093/diff/4001/chrome/browser/intents/register_intent_handler_infobar_delegate.cc#newcode30 chrome/browser/intents/register_intent_handler_infobar_delegate.cc:30: return ...
9 years, 5 months ago (2011-07-26 22:08:32 UTC) #4
James Hawkins
http://codereview.chromium.org/7461093/diff/4001/chrome/browser/intents/register_intent_handler_infobar_delegate.cc File chrome/browser/intents/register_intent_handler_infobar_delegate.cc (right): http://codereview.chromium.org/7461093/diff/4001/chrome/browser/intents/register_intent_handler_infobar_delegate.cc#newcode20 chrome/browser/intents/register_intent_handler_infobar_delegate.cc:20: RegisterIntentHandlerInfoBarDelegate::GetInfoBarType() const { On 2011/07/26 22:08:32, Peter Kasting wrote: ...
9 years, 5 months ago (2011-07-26 22:35:39 UTC) #5
Peter Kasting
http://codereview.chromium.org/7461093/diff/4001/chrome/browser/intents/register_intent_handler_infobar_delegate_unittest.cc File chrome/browser/intents/register_intent_handler_infobar_delegate_unittest.cc (right): http://codereview.chromium.org/7461093/diff/4001/chrome/browser/intents/register_intent_handler_infobar_delegate_unittest.cc#newcode11 chrome/browser/intents/register_intent_handler_infobar_delegate_unittest.cc:11: TEST(RegisterIntentHandlerInfoBarDelegateTest, GetInfoBarType) { On 2011/07/26 22:35:39, James Hawkins wrote: ...
9 years, 5 months ago (2011-07-26 22:52:12 UTC) #6
James Hawkins
http://codereview.chromium.org/7461093/diff/5002/chrome/browser/intents/register_intent_handler_infobar_delegate.cc File chrome/browser/intents/register_intent_handler_infobar_delegate.cc (right): http://codereview.chromium.org/7461093/diff/5002/chrome/browser/intents/register_intent_handler_infobar_delegate.cc#newcode30 chrome/browser/intents/register_intent_handler_infobar_delegate.cc:30: return BUTTON_OK | BUTTON_CANCEL; On 2011/07/26 22:52:12, Peter Kasting ...
9 years, 5 months ago (2011-07-26 23:04:55 UTC) #7
James Hawkins
Forgot to mention that I removed the tests; I'll add the tests I had TODOs ...
9 years, 5 months ago (2011-07-26 23:06:21 UTC) #8
Peter Kasting
LGTM on infobars http://codereview.chromium.org/7461093/diff/2003/chrome/browser/intents/register_intent_handler_infobar_delegate.cc File chrome/browser/intents/register_intent_handler_infobar_delegate.cc (right): http://codereview.chromium.org/7461093/diff/2003/chrome/browser/intents/register_intent_handler_infobar_delegate.cc#newcode33 chrome/browser/intents/register_intent_handler_infobar_delegate.cc:33: string16(), string16()); Only one string16(), I ...
9 years, 5 months ago (2011-07-26 23:10:52 UTC) #9
James Hawkins
http://codereview.chromium.org/7461093/diff/2003/chrome/browser/intents/register_intent_handler_infobar_delegate.cc File chrome/browser/intents/register_intent_handler_infobar_delegate.cc (right): http://codereview.chromium.org/7461093/diff/2003/chrome/browser/intents/register_intent_handler_infobar_delegate.cc#newcode33 chrome/browser/intents/register_intent_handler_infobar_delegate.cc:33: string16(), string16()); On 2011/07/26 23:10:52, Peter Kasting wrote: > ...
9 years, 5 months ago (2011-07-26 23:18:25 UTC) #10
darin (slow to review)
9 years, 4 months ago (2011-07-29 22:39:03 UTC) #11
LGTM

Powered by Google App Engine
This is Rietveld 408576698