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

Issue 9693047: Add Extension Keybinding test for page actions. This is to facilitate an upcoming port of the PageA… (Closed)

Created:
8 years, 9 months ago by Finnur
Modified:
8 years, 9 months ago
CC:
chromium-reviews, Aaron Boodman, mihaip+watch_chromium.org
Visibility:
Public.

Description

Add Extension Keybinding test for page actions and port the PageAction keybindings to GTK. BUG=27702 TEST=KeybindingApiTest.PageAction Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=127146

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 1

Patch Set 5 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+212 lines, -15 lines) Patch
M chrome/browser/extensions/extension_keybinding_apitest.cc View 1 2 3 4 5 chunks +46 lines, -13 lines 0 comments Download
M chrome/browser/ui/gtk/location_bar_view_gtk.h View 1 2 3 4 5 chunks +37 lines, -0 lines 0 comments Download
M chrome/browser/ui/gtk/location_bar_view_gtk.cc View 1 2 3 4 9 chunks +92 lines, -1 line 2 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
A chrome/test/data/extensions/api_test/keybinding/page_action/background.js View 1 chunk +15 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/api_test/keybinding/page_action/manifest.json View 1 chunk +21 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Finnur
Matt, can you review this CL? Scott, can you give OWNERS approval for browser/ui. https://chromiumcodereview.appspot.com/9693047/diff/7007/chrome/browser/ui/views/location_bar/location_bar_view.cc ...
8 years, 9 months ago (2012-03-15 13:49:28 UTC) #1
Finnur
Oh, and Elliot... Can you review the GTK part (see also previous note about GetText() ...
8 years, 9 months ago (2012-03-15 13:57:12 UTC) #2
Finnur
> I'll fix this in GTK when I port keybindings for page actions > to ...
8 years, 9 months ago (2012-03-15 13:59:58 UTC) #3
sky
LGTM
8 years, 9 months ago (2012-03-15 16:55:36 UTC) #4
Elliot Glaysher
lgtm
8 years, 9 months ago (2012-03-15 17:20:13 UTC) #5
Matt Perry
8 years, 9 months ago (2012-03-15 19:31:24 UTC) #6
lgtm, though I'll leave it up to erg to really review the gtk bits.

https://chromiumcodereview.appspot.com/9693047/diff/6003/chrome/browser/ui/gt...
File chrome/browser/ui/gtk/location_bar_view_gtk.cc (right):

https://chromiumcodereview.appspot.com/9693047/diff/6003/chrome/browser/ui/gt...
chrome/browser/ui/gtk/location_bar_view_gtk.cc:1629:
GetExtensionService()->GetExtensionById(page_action_->extension_id(),
Use extensions()->GetByID() instead. We're trying to move away from this method.

https://chromiumcodereview.appspot.com/9693047/diff/6003/chrome/browser/ui/gt...
chrome/browser/ui/gtk/location_bar_view_gtk.cc:1655:
keybinding_.get()->gdk_modifier_type(),
nit: can skip the .get()

Powered by Google App Engine
This is Rietveld 408576698