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

Issue 222020: [Mac] Show the page info window after clicking the security icon in the URL bar (Closed)

Created:
11 years, 3 months ago by Robert Sesek
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

[Mac] Show the page info window after clicking the security icon in the URL bar BUG=22922 TEST=Go to https://twitter.com, click the lock icon, see page info window. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=28221

Patch Set 1 #

Total comments: 5

Patch Set 2 : Rename method #

Patch Set 3 : Rename hint rect method, forward message to |observer_| #

Total comments: 9

Patch Set 4 : Unit tests #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -15 lines) Patch
M chrome/browser/autocomplete/autocomplete_edit_view_mac.h View 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_edit_view_mac.mm View 3 2 chunks +12 lines, -0 lines 0 comments Download
M chrome/browser/cocoa/autocomplete_text_field.h View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/cocoa/autocomplete_text_field.mm View 1 2 3 2 chunks +10 lines, -1 line 0 comments Download
M chrome/browser/cocoa/autocomplete_text_field_cell.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/cocoa/autocomplete_text_field_cell.mm View 1 2 3 2 chunks +22 lines, -14 lines 0 comments Download
M chrome/browser/cocoa/autocomplete_text_field_cell_unittest.mm View 1 chunk +34 lines, -0 lines 0 comments Download
M chrome/browser/cocoa/autocomplete_text_field_unittest.mm View 1 chunk +12 lines, -0 lines 1 comment Download
M chrome/browser/cocoa/autocomplete_text_field_unittest_helper.h View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Robert Sesek
11 years, 3 months ago (2009-09-24 17:04:36 UTC) #1
rohitrao (ping after 24h)
http://codereview.chromium.org/222020/diff/1/2 File chrome/browser/cocoa/autocomplete_text_field.mm (right): http://codereview.chromium.org/222020/diff/1/2#newcode130 Line 130: TabContents* tab = BrowserList::GetLastActive()->GetSelectedTabContents(); I'm a bit skittish ...
11 years, 3 months ago (2009-09-24 17:27:36 UTC) #2
Robert Sesek
http://codereview.chromium.org/222020/diff/1/2 File chrome/browser/cocoa/autocomplete_text_field.mm (right): http://codereview.chromium.org/222020/diff/1/2#newcode130 Line 130: TabContents* tab = BrowserList::GetLastActive()->GetSelectedTabContents(); On 2009/09/24 17:27:37, rohitrao ...
11 years, 3 months ago (2009-09-24 17:41:26 UTC) #3
Scott Hess - ex-Googler
Beware of http://codereview.chromium.org/216031 http://codereview.chromium.org/222020/diff/1/2 File chrome/browser/cocoa/autocomplete_text_field.mm (right): http://codereview.chromium.org/222020/diff/1/2#newcode130 Line 130: TabContents* tab = BrowserList::GetLastActive()->GetSelectedTabContents(); On ...
11 years, 3 months ago (2009-09-24 20:03:53 UTC) #4
Scott Hess - ex-Googler
Further note: Putting this inside the field implementation means it's essentially impossible to unit-test that ...
11 years, 3 months ago (2009-09-24 20:31:11 UTC) #5
Robert Sesek
On 2009/09/24 20:03:53, shess wrote: > On 2009/09/24 17:41:26, rsesek wrote: > > On 2009/09/24 ...
11 years, 2 months ago (2009-09-29 03:57:05 UTC) #6
Scott Hess - ex-Googler
This is looking much cleaner. http://codereview.chromium.org/222020/diff/7001/8004 File chrome/browser/cocoa/autocomplete_text_field.mm (right): http://codereview.chromium.org/222020/diff/7001/8004#newcode122 Line 122: observer_->OnSecurityIconClicked(); Could this ...
11 years, 2 months ago (2009-09-30 18:45:47 UTC) #7
Scott Hess - ex-Googler
http://codereview.chromium.org/222020/diff/7001/8004 File chrome/browser/cocoa/autocomplete_text_field.mm (right): http://codereview.chromium.org/222020/diff/7001/8004#newcode122 Line 122: observer_->OnSecurityIconClicked(); On 2009/09/30 18:45:47, shess wrote: > Could ...
11 years, 2 months ago (2009-10-02 14:32:44 UTC) #8
Robert Sesek
http://codereview.chromium.org/222020/diff/7001/8004 File chrome/browser/cocoa/autocomplete_text_field.mm (right): http://codereview.chromium.org/222020/diff/7001/8004#newcode122 Line 122: observer_->OnSecurityIconClicked(); On 2009/09/30 18:45:47, shess wrote: > Could ...
11 years, 2 months ago (2009-10-03 17:42:41 UTC) #9
Scott Hess - ex-Googler
11 years, 2 months ago (2009-10-06 20:30:53 UTC) #10
lgtm!

http://codereview.chromium.org/222020/diff/8014/7010
File chrome/browser/cocoa/autocomplete_text_field_unittest.mm (right):

http://codereview.chromium.org/222020/diff/8014/7010#newcode529
Line 529: [field_ mouseDown:event];
So Awesome.

Powered by Google App Engine
This is Rietveld 408576698