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

Issue 225093019: Zoom Extension API (Closed)

Created:
6 years, 8 months ago by paulmeyer
Modified:
6 years, 7 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, tfarina, extensions-reviews_chromium.org
Visibility:
Public.

Description

Implementation of a Zoom Extension API as an addition to the chrome.tabs API, as outlined in https://docs.google.com/a/chromium.org/document/d/1sCZjx1J3_M2a02T8NXd-ufGKZDoBHI5Ixis1DaGLQCA/edit?usp=sharing. BUG=30583

Patch Set 1 #

Total comments: 24

Patch Set 2 : Addressed comments. #

Patch Set 3 : Using callbacks instead of zoom IDs. #

Total comments: 64

Patch Set 4 : No longer using notifications. #

Patch Set 5 : Addressed comments. #

Total comments: 34

Patch Set 6 : Addressed comments. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+816 lines, -12 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/tabs/tabs_api.h View 1 2 3 4 2 chunks +52 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/tabs/tabs_api.cc View 1 2 3 4 5 4 chunks +171 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/tabs/tabs_constants.h View 1 2 3 4 5 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/tabs/tabs_constants.cc View 1 2 3 4 5 3 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/tabs/tabs_event_router.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/tabs/tabs_event_router.cc View 1 2 3 4 1 chunk +26 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/tabs/tabs_test.cc View 1 2 3 4 5 2 chunks +233 lines, -0 lines 1 comment Download
M chrome/browser/extensions/api/tabs/tabs_windows_api.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/extension_function_test_utils.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/tabs/tab_strip_model.h View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/tabs/tab_strip_model.cc View 1 2 3 3 chunks +23 lines, -0 lines 0 comments Download
M chrome/browser/ui/tabs/tab_strip_model_observer.h View 1 2 3 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/ui/tabs/tab_strip_model_observer.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/zoom/zoom_controller.h View 1 2 4 chunks +24 lines, -0 lines 0 comments Download
M chrome/browser/ui/zoom/zoom_controller.cc View 1 2 4 chunks +55 lines, -8 lines 0 comments Download
M chrome/common/extensions/api/_api_features.json View 1 2 3 4 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/tabs.json View 1 2 3 4 3 chunks +153 lines, -0 lines 0 comments Download
M chrome/test/data/extensions/api_test/tabs/basics/events.js View 1 2 3 4 1 chunk +17 lines, -1 line 0 comments Download
M extensions/browser/extension_function_histogram_value.h View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
paulmeyer
+fsamuel@
6 years, 8 months ago (2014-04-07 19:43:23 UTC) #1
Fady Samuel
First set of comments. https://codereview.chromium.org/225093019/diff/1/chrome/browser/extensions/api/tabs/tabs_api.cc File chrome/browser/extensions/api/tabs/tabs_api.cc (right): https://codereview.chromium.org/225093019/diff/1/chrome/browser/extensions/api/tabs/tabs_api.cc#newcode1631 chrome/browser/extensions/api/tabs/tabs_api.cc:1631: return false; Spacing looks wrong ...
6 years, 8 months ago (2014-04-07 20:01:14 UTC) #2
Fady Samuel
An initial set of comments. https://codereview.chromium.org/225093019/diff/1/chrome/browser/extensions/api/tabs/tabs_api.cc File chrome/browser/extensions/api/tabs/tabs_api.cc (right): https://codereview.chromium.org/225093019/diff/1/chrome/browser/extensions/api/tabs/tabs_api.cc#newcode2011 chrome/browser/extensions/api/tabs/tabs_api.cc:2011: registrar_.Add(this, chrome::NOTIFICATION_TAB_ZOOM_CHANGE_COMPLETE, So you ...
6 years, 8 months ago (2014-04-07 20:04:53 UTC) #3
paulmeyer
ptal https://codereview.chromium.org/225093019/diff/1/chrome/browser/extensions/api/tabs/tabs_api.cc File chrome/browser/extensions/api/tabs/tabs_api.cc (right): https://codereview.chromium.org/225093019/diff/1/chrome/browser/extensions/api/tabs/tabs_api.cc#newcode1631 chrome/browser/extensions/api/tabs/tabs_api.cc:1631: return false; On 2014/04/07 20:01:14, Fady Samuel wrote: ...
6 years, 8 months ago (2014-04-07 20:56:10 UTC) #4
Fady Samuel
6 years, 8 months ago (2014-04-07 21:34:28 UTC) #5
paulmeyer
+kalman@
6 years, 8 months ago (2014-04-07 21:38:10 UTC) #6
not at google - send to devlin
2 more important things: - split the UI changes out into a separate CL - ...
6 years, 8 months ago (2014-04-09 03:52:11 UTC) #7
paulmeyer
Addressed comments, moved UI changes out to https://codereview.chromium.org/234553003/, and restricted to dev channel. https://codereview.chromium.org/225093019/diff/40001/chrome/browser/extensions/api/tabs/tabs_api.cc File ...
6 years, 8 months ago (2014-04-11 03:01:01 UTC) #8
not at google - send to devlin
long tail you'll need an owner for the chrome/browser/ui changes so I didn't look at ...
6 years, 8 months ago (2014-04-11 15:04:24 UTC) #9
paulmeyer
I have addressed your last set of comments, though I am not sure if it ...
6 years, 8 months ago (2014-04-11 19:09:48 UTC) #10
not at google - send to devlin
lgtm for what it's worth. https://codereview.chromium.org/225093019/diff/90001/chrome/browser/extensions/api/tabs/tabs_api.cc File chrome/browser/extensions/api/tabs/tabs_api.cc (right): https://codereview.chromium.org/225093019/diff/90001/chrome/browser/extensions/api/tabs/tabs_api.cc#newcode1982 chrome/browser/extensions/api/tabs/tabs_api.cc:1982: error_ = keys::kCannotZoomChromePagesError; On ...
6 years, 8 months ago (2014-04-11 20:37:01 UTC) #11
raymes
Hey Fady, Do you think this will land sometime soon? Thanks!
6 years, 8 months ago (2014-04-24 06:50:08 UTC) #12
wjmaclean
6 years, 7 months ago (2014-04-29 20:13:58 UTC) #13
*** Closing this issue, moving review to
https://codereview.chromium.org/232773011/

Powered by Google App Engine
This is Rietveld 408576698