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

Issue 512693003: Add LocationBar PageAction tests (Closed)

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

Description

Add LocationBar PageAction tests Page actions in the location bar have been somewhat loosely tested as a side- effect of the page actions api testing, but (near as I can tell), we never explicity test the ui for page actions. This is a problem because the extensions tests shouldn't care about the UI, and soon won't, since where the page actions are in the UI may change (i.e., location bar vs toolbar). Fix this by adding a few basic UI tests for page actions in the location bar. BUG=408261 Committed: https://crrev.com/a75ac029b21ff4162860eaba3be63a2c651a2a25 Cr-Commit-Position: refs/heads/master@{#292957}

Patch Set 1 : #

Total comments: 7

Patch Set 2 : Sky's #

Patch Set 3 : Latest master for CQ #

Patch Set 4 : Latest-er master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+160 lines, -0 lines) Patch
A chrome/browser/ui/location_bar/location_bar_browsertest.cc View 2 3 1 chunk +159 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 13 (1 generated)
Devlin
Patchset #1 (id:1) has been deleted
6 years, 3 months ago (2014-08-27 23:07:35 UTC) #1
Devlin
rdevlin.cronin@chromium.org changed reviewers: + finnur@chromium.org, sky@chromium.org
6 years, 3 months ago (2014-08-27 23:10:40 UTC) #2
Devlin
Finnur and Scott, please take a look when you can. :) (Follows https://codereview.chromium.org/516633002/ for removing ...
6 years, 3 months ago (2014-08-27 23:10:40 UTC) #3
sky
https://codereview.chromium.org/512693003/diff/20001/chrome/browser/ui/location_bar/location_bar_browsertest.cc File chrome/browser/ui/location_bar/location_bar_browsertest.cc (right): https://codereview.chromium.org/512693003/diff/20001/chrome/browser/ui/location_bar/location_bar_browsertest.cc#newcode17 chrome/browser/ui/location_bar/location_bar_browsertest.cc:17: #include "chrome/browser/ui/location_bar/location_bar.h" nit: this should be your first include ...
6 years, 3 months ago (2014-08-28 00:03:05 UTC) #4
Devlin
(Will respond to nits tomorrow morning) https://codereview.chromium.org/512693003/diff/20001/chrome/browser/ui/location_bar/location_bar_browsertest.cc File chrome/browser/ui/location_bar/location_bar_browsertest.cc (right): https://codereview.chromium.org/512693003/diff/20001/chrome/browser/ui/location_bar/location_bar_browsertest.cc#newcode46 chrome/browser/ui/location_bar/location_bar_browsertest.cc:46: const extensions::Extension* LoadPageActionExtension( ...
6 years, 3 months ago (2014-08-28 05:30:17 UTC) #5
Finnur
LGTM https://codereview.chromium.org/512693003/diff/20001/chrome/browser/ui/location_bar/location_bar_browsertest.cc File chrome/browser/ui/location_bar/location_bar_browsertest.cc (right): https://codereview.chromium.org/512693003/diff/20001/chrome/browser/ui/location_bar/location_bar_browsertest.cc#newcode17 chrome/browser/ui/location_bar/location_bar_browsertest.cc:17: #include "chrome/browser/ui/location_bar/location_bar.h" Is that a recent rule change?
6 years, 3 months ago (2014-08-28 11:42:04 UTC) #6
sky
Thanks for looking, LGTM
6 years, 3 months ago (2014-08-28 16:29:21 UTC) #7
Devlin
https://codereview.chromium.org/512693003/diff/20001/chrome/browser/ui/location_bar/location_bar_browsertest.cc File chrome/browser/ui/location_bar/location_bar_browsertest.cc (right): https://codereview.chromium.org/512693003/diff/20001/chrome/browser/ui/location_bar/location_bar_browsertest.cc#newcode17 chrome/browser/ui/location_bar/location_bar_browsertest.cc:17: #include "chrome/browser/ui/location_bar/location_bar.h" On 2014/08/28 11:42:04, Finnur wrote: > Is ...
6 years, 3 months ago (2014-08-28 18:18:01 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rdevlin.cronin@chromium.org/512693003/80001
6 years, 3 months ago (2014-09-02 17:06:41 UTC) #10
commit-bot: I haz the power
Committed patchset #4 (id:80001) as 0abaca08e99fa6671758a96829b99aa941696e41
6 years, 3 months ago (2014-09-02 18:05:49 UTC) #11
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:19:25 UTC) #13
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/a75ac029b21ff4162860eaba3be63a2c651a2a25
Cr-Commit-Position: refs/heads/master@{#292957}

Powered by Google App Engine
This is Rietveld 408576698