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

Issue 561883006: Hide location icon bubble on 2nd click. (Closed)

Created:
6 years, 3 months ago by Gaja
Modified:
6 years, 3 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Hide location icon bubble on 2nd click. If location icon bubble is shown, then clicking on it again should hide it. That is, it should toggle the popup on every click (press and release). BUG=107876 R=pkasting@chromium.org TEST= 1) Navigate to any webpage so that page info is enabled. 2) Click on page info icon to show the popup. 2) When the popup is shown, click the icon again and observe. 3) 2nd click should close the popup instead of showing it again. Committed: https://crrev.com/d40bf39a81bde583fd72f7c3729a40617a574661 Cr-Commit-Position: refs/heads/master@{#295413}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Addressing nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -2 lines) Patch
M chrome/browser/ui/views/location_bar/location_icon_view.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_icon_view.cc View 1 2 chunks +13 lines, -2 lines 0 comments Download
A chrome/browser/ui/views/location_bar/location_icon_view_interactive_uitest.cc View 1 chunk +52 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (1 generated)
Gaja
@pkasting Please take a look. Thanks.
6 years, 3 months ago (2014-09-17 12:32:41 UTC) #1
Peter Kasting
LGTM https://codereview.chromium.org/561883006/diff/1/chrome/browser/ui/views/location_bar/location_icon_view.cc File chrome/browser/ui/views/location_bar/location_icon_view.cc (right): https://codereview.chromium.org/561883006/diff/1/chrome/browser/ui/views/location_bar/location_icon_view.cc#newcode38 chrome/browser/ui/views/location_bar/location_icon_view.cc:38: return true; Nit: I'd just eliminate both comments ...
6 years, 3 months ago (2014-09-17 20:51:42 UTC) #2
Gaja
Addressed nits in Patch Set #2. Checking commit. https://chromiumcodereview.appspot.com/561883006/diff/1/chrome/browser/ui/views/location_bar/location_icon_view.cc File chrome/browser/ui/views/location_bar/location_icon_view.cc (right): https://chromiumcodereview.appspot.com/561883006/diff/1/chrome/browser/ui/views/location_bar/location_icon_view.cc#newcode38 chrome/browser/ui/views/location_bar/location_icon_view.cc:38: return ...
6 years, 3 months ago (2014-09-18 02:51:39 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/561883006/20001
6 years, 3 months ago (2014-09-18 02:52:57 UTC) #5
commit-bot: I haz the power
Committed patchset #2 (id:20001) as 3faf85e55c38d9ca092d8b45a7b582ca81e017b5
6 years, 3 months ago (2014-09-18 04:03:40 UTC) #6
commit-bot: I haz the power
6 years, 3 months ago (2014-09-18 04:10:13 UTC) #7
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/d40bf39a81bde583fd72f7c3729a40617a574661
Cr-Commit-Position: refs/heads/master@{#295413}

Powered by Google App Engine
This is Rietveld 408576698