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

Issue 10821114: Refactor the content setting view to allow a subclass for the web intents button. (Closed)

Created:
8 years, 4 months ago by Greg Billock
Modified:
8 years, 4 months ago
Reviewers:
Bernhard Bauer, sky
CC:
chromium-reviews, tfarina
Visibility:
Public.

Description

Refactor the content setting view to allow a subclass for the web intents button. R=bauerb@chromium.org BUG=139028 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=150445

Patch Set 1 #

Total comments: 3

Patch Set 2 : Merge to head #

Total comments: 6

Patch Set 3 : Fix methods. #

Total comments: 2

Patch Set 4 : Consume tap-down gesture #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -11 lines) Patch
M chrome/browser/ui/views/location_bar/content_setting_image_view.h View 1 2 3 chunks +15 lines, -1 line 0 comments Download
M chrome/browser/ui/views/location_bar/content_setting_image_view.cc View 1 2 3 8 chunks +39 lines, -8 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Greg Billock
8 years, 4 months ago (2012-07-31 19:20:54 UTC) #1
Bernhard Bauer
http://codereview.chromium.org/10821114/diff/1/chrome/browser/ui/views/location_bar/content_setting_image_view.cc File chrome/browser/ui/views/location_bar/content_setting_image_view.cc (right): http://codereview.chromium.org/10821114/diff/1/chrome/browser/ui/views/location_bar/content_setting_image_view.cc#newcode72 chrome/browser/ui/views/location_bar/content_setting_image_view.cc:72: if (tab_contents) { Could we do an early-ish return ...
8 years, 4 months ago (2012-07-31 23:31:18 UTC) #2
Bernhard Bauer
Could you a add a bug ID to the CL description?
8 years, 4 months ago (2012-07-31 23:31:48 UTC) #3
Greg Billock
http://codereview.chromium.org/10821114/diff/1/chrome/browser/ui/views/location_bar/content_setting_image_view.cc File chrome/browser/ui/views/location_bar/content_setting_image_view.cc (right): http://codereview.chromium.org/10821114/diff/1/chrome/browser/ui/views/location_bar/content_setting_image_view.cc#newcode72 chrome/browser/ui/views/location_bar/content_setting_image_view.cc:72: if (tab_contents) { On 2012/07/31 23:31:18, Bernhard Bauer wrote: ...
8 years, 4 months ago (2012-08-06 22:49:47 UTC) #4
Bernhard Bauer
http://codereview.chromium.org/10821114/diff/1/chrome/browser/ui/views/location_bar/content_setting_image_view.cc File chrome/browser/ui/views/location_bar/content_setting_image_view.cc (right): http://codereview.chromium.org/10821114/diff/1/chrome/browser/ui/views/location_bar/content_setting_image_view.cc#newcode72 chrome/browser/ui/views/location_bar/content_setting_image_view.cc:72: if (tab_contents) { On 2012/08/06 22:49:47, Greg Billock wrote: ...
8 years, 4 months ago (2012-08-07 00:08:37 UTC) #5
Bernhard Bauer
...and LGTM (Rietveld is acting weird).
8 years, 4 months ago (2012-08-07 00:09:28 UTC) #6
Greg Billock
On 2012/08/07 00:09:28, Bernhard Bauer wrote: > ...and LGTM (Rietveld is acting weird). Thanks. sky, ...
8 years, 4 months ago (2012-08-07 00:30:45 UTC) #7
sky
http://codereview.chromium.org/10821114/diff/6001/chrome/browser/ui/views/location_bar/content_setting_image_view.cc File chrome/browser/ui/views/location_bar/content_setting_image_view.cc (right): http://codereview.chromium.org/10821114/diff/6001/chrome/browser/ui/views/location_bar/content_setting_image_view.cc#newcode169 chrome/browser/ui/views/location_bar/content_setting_image_view.cc:169: void ContentSettingImageView::OnMouseReleased(const views::MouseEvent& event) { This class needs to ...
8 years, 4 months ago (2012-08-07 03:33:00 UTC) #8
Greg Billock
http://codereview.chromium.org/10821114/diff/6001/chrome/browser/ui/views/location_bar/content_setting_image_view.cc File chrome/browser/ui/views/location_bar/content_setting_image_view.cc (right): http://codereview.chromium.org/10821114/diff/6001/chrome/browser/ui/views/location_bar/content_setting_image_view.cc#newcode169 chrome/browser/ui/views/location_bar/content_setting_image_view.cc:169: void ContentSettingImageView::OnMouseReleased(const views::MouseEvent& event) { On 2012/08/07 03:33:00, sky ...
8 years, 4 months ago (2012-08-07 19:29:04 UTC) #9
sky
LGTM with the following change. As to order, someone should do a followup patch to ...
8 years, 4 months ago (2012-08-07 20:46:19 UTC) #10
Greg Billock
http://codereview.chromium.org/10821114/diff/12001/chrome/browser/ui/views/location_bar/content_setting_image_view.cc File chrome/browser/ui/views/location_bar/content_setting_image_view.cc (right): http://codereview.chromium.org/10821114/diff/12001/chrome/browser/ui/views/location_bar/content_setting_image_view.cc#newcode136 chrome/browser/ui/views/location_bar/content_setting_image_view.cc:136: return ui::GESTURE_STATUS_CONSUMED; On 2012/08/07 20:46:19, sky wrote: > You ...
8 years, 4 months ago (2012-08-07 22:11:41 UTC) #11
Greg Billock
On 2012/08/07 20:46:19, sky wrote: > LGTM with the following change. > > As to ...
8 years, 4 months ago (2012-08-07 22:12:26 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gbillock@chromium.org/10821114/8002
8 years, 4 months ago (2012-08-07 22:12:36 UTC) #13
commit-bot: I haz the power
8 years, 4 months ago (2012-08-07 23:44:11 UTC) #14
Change committed as 150445

Powered by Google App Engine
This is Rietveld 408576698