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

Issue 427009: Preliminary work toward page actions on Mac. (Closed)

Created:
11 years, 1 month ago by Pam (message me for reviews)
Modified:
9 years, 5 months ago
Reviewers:
Bons
CC:
chromium-reviews_googlegroups.com, John Grabowski, pam+watch_chromium.org, ben+cc_chromium.org, Miranda Callahan
Visibility:
Public.

Description

First steps toward page actions on Mac. Page action icons shold show and perform their click actions when clicked. This is very rough, being committed in an early form so more people can contribute to the effort. Includes some early work from andybons too, toward making popups work. Known issues: * Icons don't refresh properly when an extension is installed or removed. Switching windows, then back again, updates the location bar properly. * Right- and middle-clicks do nothing * No tooltips, badges, installation previews, or popups yet * No unit tests yet BUG=12281 TEST=none yet Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=34509

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Total comments: 11

Patch Set 7 : '' #

Patch Set 8 : '' #

Patch Set 9 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+551 lines, -67 lines) Patch
M chrome/browser/cocoa/autocomplete_text_field.mm View 3 4 5 6 2 chunks +15 lines, -3 lines 0 comments Download
M chrome/browser/cocoa/autocomplete_text_field_cell.h View 1 2 3 4 5 6 2 chunks +19 lines, -1 line 0 comments Download
M chrome/browser/cocoa/autocomplete_text_field_cell.mm View 1 2 3 4 5 6 7 8 6 chunks +118 lines, -47 lines 0 comments Download
M chrome/browser/cocoa/autocomplete_text_field_cell_unittest.mm View 3 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/cocoa/autocomplete_text_field_unittest.mm View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/cocoa/location_bar_view_mac.h View 1 2 3 4 5 6 7 8 7 chunks +120 lines, -5 lines 0 comments Download
M chrome/browser/cocoa/location_bar_view_mac.mm View 1 2 3 4 5 6 7 8 10 chunks +274 lines, -8 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Pam (message me for reviews)
(Not actually a review yet.) Here's the work I have so far for page actions ...
11 years, 1 month ago (2009-11-21 03:34:04 UTC) #1
Pam (message me for reviews)
OK, this is still an early implementation, but let's get it reviewed and checked in ...
11 years ago (2009-12-11 00:05:57 UTC) #2
Bons
LG with comments below. http://codereview.chromium.org/427009/diff/14001/15005 File chrome/browser/cocoa/autocomplete_text_field.mm (right): http://codereview.chromium.org/427009/diff/14001/15005#newcode119 chrome/browser/cocoa/autocomplete_text_field.mm:119: // Check to see if ...
11 years ago (2009-12-11 01:17:25 UTC) #3
Pam (message me for reviews)
Patch coming tomorrow, but in the meantime one question. http://codereview.chromium.org/427009/diff/14001/15005 File chrome/browser/cocoa/autocomplete_text_field.mm (right): http://codereview.chromium.org/427009/diff/14001/15005#newcode122 chrome/browser/cocoa/autocomplete_text_field.mm:122: ...
11 years ago (2009-12-11 04:41:08 UTC) #4
Bons
http://codereview.chromium.org/427009/diff/14001/15005 File chrome/browser/cocoa/autocomplete_text_field.mm (right): http://codereview.chromium.org/427009/diff/14001/15005#newcode122 chrome/browser/cocoa/autocomplete_text_field.mm:122: size_t pageActionCount = [cell pageActionCount]; On 2009/12/11 04:41:08, Pam ...
11 years ago (2009-12-11 15:44:27 UTC) #5
Pam (message me for reviews)
New patch uploaded, addressing your comments and fixing unit tests. http://codereview.chromium.org/427009/diff/14001/15002 File chrome/browser/cocoa/autocomplete_text_field_cell.mm (right): http://codereview.chromium.org/427009/diff/14001/15002#newcode251 ...
11 years ago (2009-12-11 23:16:48 UTC) #6
Bons
11 years ago (2009-12-12 16:00:34 UTC) #7
LGTM. Nice work :)

Powered by Google App Engine
This is Rietveld 408576698