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

Issue 6334101: Removal of chrome.experimental.popup set of APIs (Closed)

Created:
9 years, 10 months ago by Jeff Timanus
Modified:
9 years, 7 months ago
Reviewers:
Aaron Boodman, rafaelw, aa
CC:
chromium-reviews, Erik does not do reviews, Paweł Hajdan Jr., pam+watch_chromium.org, brettw-cc_chromium.org, rafaelpoli
Visibility:
Public.

Description

Removing the experimental Chrome extension popup API. This API will not be added to the set of available extension APIs. I also removed some of the plumbing associated with the popup api: - Drop-shadow support removed from BrowserBubble. This had only been supported on Windows. - Removed the ExtensionPopup::PopupChrome type. Only popups from the popup API supported rectangle chrome. - Removed the activate-on-show parameter from ExtensionPopup. This was only used for the popup API. All popups activate on show, by default. - Removed the AddRef/Release magic from ExtensionPopup. The API required these semantics because of the complex, asynchronous lifetime management required by the popup API. See ExtensionPopup::Observer::ExtensionPopupClosed. - Removed unneeded methods from ExtensionPopup::Observer, and ExtensionFunctionDispatcher::Delegate. BUG=None TEST=None Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=74835

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 18

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 4

Patch Set 5 : '' #

Total comments: 1

Patch Set 6 : '' #

Patch Set 7 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -1893 lines) Patch
M chrome/browser/extensions/extension_function_dispatcher.h View 1 2 3 4 5 1 chunk +0 lines, -7 lines 0 comments Download
M chrome/browser/extensions/extension_function_dispatcher.cc View 1 2 3 4 5 2 chunks +0 lines, -4 lines 0 comments Download
D chrome/browser/extensions/extension_popup_api.h View 1 2 3 4 5 1 chunk +0 lines, -52 lines 0 comments Download
D chrome/browser/extensions/extension_popup_api.cc View 1 2 3 4 5 1 chunk +0 lines, -555 lines 0 comments Download
D chrome/browser/extensions/extension_popup_apitest.cc View 1 2 3 4 5 1 chunk +0 lines, -24 lines 0 comments Download
M chrome/browser/ui/views/browser_actions_container.cc View 1 2 3 4 5 1 chunk +3 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/browser_bubble.h View 1 2 3 4 5 3 chunks +3 lines, -7 lines 0 comments Download
M chrome/browser/ui/views/browser_bubble.cc View 1 2 3 4 5 1 chunk +2 lines, -11 lines 0 comments Download
M chrome/browser/ui/views/browser_bubble_gtk.cc View 1 2 3 4 5 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/browser_bubble_win.cc View 1 2 3 4 5 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/extensions/extension_popup.h View 1 2 3 4 5 8 chunks +4 lines, -101 lines 0 comments Download
M chrome/browser/ui/views/extensions/extension_popup.cc View 1 2 3 4 5 8 chunks +64 lines, -200 lines 0 comments Download
M chrome/browser/ui/views/location_bar/page_action_image_view.cc View 1 2 3 4 5 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/extensions/api/extension_api.json View 1 2 3 4 5 2 chunks +0 lines, -109 lines 0 comments Download
M chrome/renderer/extensions/extension_process_bindings.cc View 1 2 3 4 5 3 chunks +3 lines, -74 lines 0 comments Download
M chrome/renderer/resources/extension_process_bindings.js View 1 2 3 4 5 4 chunks +0 lines, -74 lines 0 comments Download
D chrome/test/data/extensions/api_test/popup/popup_from_infobar/background.html View 1 2 3 4 5 1 chunk +0 lines, -29 lines 0 comments Download
D chrome/test/data/extensions/api_test/popup/popup_from_infobar/in-infobar.html View 1 2 3 4 5 1 chunk +0 lines, -25 lines 0 comments Download
D chrome/test/data/extensions/api_test/popup/popup_from_infobar/in-popup.html View 1 2 3 4 5 1 chunk +0 lines, -22 lines 0 comments Download
D chrome/test/data/extensions/api_test/popup/popup_from_infobar/manifest.json View 1 2 3 4 5 1 chunk +0 lines, -8 lines 0 comments Download
D chrome/test/data/extensions/api_test/popup/popup_main/background_page.html View 1 2 3 4 5 1 chunk +0 lines, -10 lines 0 comments Download
D chrome/test/data/extensions/api_test/popup/popup_main/dom_ui.html View 1 2 3 4 5 1 chunk +0 lines, -307 lines 0 comments Download
D chrome/test/data/extensions/api_test/popup/popup_main/dom_ui_popup.html View 1 2 3 4 5 1 chunk +0 lines, -19 lines 0 comments Download
D chrome/test/data/extensions/api_test/popup/popup_main/dom_ui_popup_a.html View 1 2 3 4 5 1 chunk +0 lines, -24 lines 0 comments Download
D chrome/test/data/extensions/api_test/popup/popup_main/dom_ui_popup_b.html View 1 2 3 4 5 1 chunk +0 lines, -24 lines 0 comments Download
D chrome/test/data/extensions/api_test/popup/popup_main/dom_ui_popup_dismissal.html View 1 2 3 4 5 1 chunk +0 lines, -67 lines 0 comments Download
D chrome/test/data/extensions/api_test/popup/popup_main/dom_ui_popup_sizing.html View 1 2 3 4 5 1 chunk +0 lines, -112 lines 0 comments Download
D chrome/test/data/extensions/api_test/popup/popup_main/manifest.json View 1 2 3 4 5 1 chunk +0 lines, -8 lines 0 comments Download
M ui/views/focus/focus_manager.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M views/focus/focus_manager.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 14 (0 generated)
Jeff Timanus
PTAL.
9 years, 10 months ago (2011-02-04 03:38:45 UTC) #1
Jeff Timanus
On 2011/02/04 03:38:45, Jeff Timanus wrote: > PTAL. Aaron, will you have a moment to ...
9 years, 10 months ago (2011-02-08 00:05:12 UTC) #2
Jeff Timanus
On 2011/02/08 00:05:12, Jeff Timanus wrote: > On 2011/02/04 03:38:45, Jeff Timanus wrote: > > ...
9 years, 10 months ago (2011-02-08 15:48:31 UTC) #3
Aaron Boodman
Reviewing, but trybots seem very unhappy.
9 years, 10 months ago (2011-02-08 20:37:20 UTC) #4
Aaron Boodman
LGTM, but I'm not the best person to review the deleted bits in the bubble ...
9 years, 10 months ago (2011-02-08 20:40:53 UTC) #5
Aaron Boodman
Raf, do you mind taking a look at the modifications to the bubble code? Also, ...
9 years, 10 months ago (2011-02-08 20:41:55 UTC) #6
Aaron Boodman
One more thing. Don't forget to remove the entries from extension_api.json.
9 years, 10 months ago (2011-02-08 20:43:45 UTC) #7
Jeff Timanus
On 2011/02/08 20:37:20, Aaron Boodman wrote: > Reviewing, but trybots seem very unhappy. Thanks. Double ...
9 years, 10 months ago (2011-02-08 20:44:26 UTC) #8
rafaelw
http://codereview.chromium.org/6334101/diff/5002/chrome/browser/ui/views/browser_bubble.h File chrome/browser/ui/views/browser_bubble.h (left): http://codereview.chromium.org/6334101/diff/5002/chrome/browser/ui/views/browser_bubble.h#oldcode123 chrome/browser/ui/views/browser_bubble.h:123: bool drop_shadow_enabled_; You'll need to remove the DCHECK(!drop_shadow_enabled_) from ...
9 years, 10 months ago (2011-02-09 22:08:28 UTC) #9
Jeff Timanus
Thanks for your review, Rafael. I made the changes you suggested. I will try to ...
9 years, 10 months ago (2011-02-10 00:17:49 UTC) #10
aa
I don't know if it is related, but in case you didn't know, the try ...
9 years, 10 months ago (2011-02-10 00:20:37 UTC) #11
rafaelw
lgtm w/ remaining nits. http://codereview.chromium.org/6334101/diff/15005/chrome/browser/ui/views/extensions/extension_popup.h File chrome/browser/ui/views/extensions/extension_popup.h (right): http://codereview.chromium.org/6334101/diff/15005/chrome/browser/ui/views/extensions/extension_popup.h#newcode47 chrome/browser/ui/views/extensions/extension_popup.h:47: // |profile| is the user ...
9 years, 10 months ago (2011-02-10 20:22:00 UTC) #12
Jeff Timanus
http://codereview.chromium.org/6334101/diff/15005/chrome/browser/ui/views/extensions/extension_popup.h File chrome/browser/ui/views/extensions/extension_popup.h (right): http://codereview.chromium.org/6334101/diff/15005/chrome/browser/ui/views/extensions/extension_popup.h#newcode47 chrome/browser/ui/views/extensions/extension_popup.h:47: // |profile| is the user profile instance associated with ...
9 years, 10 months ago (2011-02-10 21:51:29 UTC) #13
Jeff Timanus
9 years, 10 months ago (2011-02-14 18:38:17 UTC) #14
On 2011/02/08 20:44:26, Jeff Timanus wrote:
> On 2011/02/08 20:37:20, Aaron Boodman wrote:
> > Reviewing, but trybots seem very unhappy.
> 
> Thanks.  Double checking the try-bot issue.  Spoke earlier with maruel, and
the
> failures seem to be related to my removal of the files.  Somehow the patch is
> failing.  Will resolve.

Bots were failing because some of the test files did not end with newlines. 
Removed those files, and observed successful try passes.

See trys here:
http://build.chromium.org/p/tryserver.chromium/builders/linux/builds/12274
http://build.chromium.org/p/tryserver.chromium/builders/linux_view/builds/2830
http://build.chromium.org/p/tryserver.chromium/builders/mac/builds/12722
http://build.chromium.org/p/tryserver.chromium/builders/linux_chromeos/builds...

Jeff

Powered by Google App Engine
This is Rietveld 408576698