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

Issue 9006027: Rip Out the Sidebar API (Closed)

Created:
9 years ago by Devlin
Modified:
8 years, 11 months ago
CC:
chromium-reviews, Erik does not do reviews, Ben Goodger (Google)
Visibility:
Public.

Description

Rip Out the Sidebar API This fix removes the sidebar api and all its references from the code (primarily relating to chrome/common/extensions and chrome/browser/ui). BUG=107646 TEST=Covered by existing tests. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=116901

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 13

Patch Set 3 : '' #

Total comments: 1

Patch Set 4 : '' #

Total comments: 2

Patch Set 5 : '' #

Total comments: 2

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -2879 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 7 2 chunks +0 lines, -6 lines 0 comments Download
M chrome/browser/browser_process.h View 1 2 3 4 5 6 7 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/browser/browser_process_impl.h View 1 2 3 4 5 6 7 3 chunks +0 lines, -5 lines 0 comments Download
M chrome/browser/browser_process_impl.cc View 1 2 3 4 5 6 7 4 chunks +0 lines, -15 lines 0 comments Download
M chrome/browser/extensions/extension_function_dispatcher.cc View 1 2 3 4 5 6 7 2 chunks +0 lines, -12 lines 0 comments Download
D chrome/browser/extensions/extension_sidebar_api.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -122 lines 0 comments Download
D chrome/browser/extensions/extension_sidebar_api.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -260 lines 0 comments Download
D chrome/browser/extensions/extension_sidebar_apitest.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -19 lines 0 comments Download
D chrome/browser/sidebar/sidebar_browsertest.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -213 lines 0 comments Download
D chrome/browser/sidebar/sidebar_container.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -144 lines 0 comments Download
D chrome/browser/sidebar/sidebar_container.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -131 lines 0 comments Download
D chrome/browser/sidebar/sidebar_manager.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -157 lines 0 comments Download
D chrome/browser/sidebar/sidebar_manager.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -341 lines 0 comments Download
M chrome/browser/ui/browser.h View 1 2 3 4 5 6 7 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/ui/browser.cc View 1 2 3 4 5 6 7 2 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/ui/browser_window.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_cocoa.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/browser_window_cocoa.mm View 1 2 3 4 5 6 7 4 chunks +0 lines, -15 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller.h View 1 2 3 4 5 6 7 3 chunks +0 lines, -6 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller.mm View 1 2 3 4 5 6 7 5 chunks +5 lines, -22 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller_unittest.mm View 1 2 3 4 5 6 7 2 chunks +0 lines, -18 lines 0 comments Download
D chrome/browser/ui/cocoa/sidebar_controller.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -52 lines 0 comments Download
D chrome/browser/ui/cocoa/sidebar_controller.mm View 1 2 3 4 5 6 7 1 chunk +0 lines, -179 lines 0 comments Download
M chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm View 1 2 3 4 5 6 7 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/view_id_util_browsertest.mm View 1 2 3 4 5 6 7 3 chunks +0 lines, -13 lines 0 comments Download
M chrome/browser/ui/gtk/view_id_util_browsertest.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/view_ids.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view.h View 1 2 3 4 5 6 7 9 chunks +12 lines, -38 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view.cc View 1 2 3 4 5 6 7 10 chunks +0 lines, -130 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view_layout.cc View 1 2 3 4 5 6 7 5 chunks +6 lines, -44 lines 0 comments Download
M chrome/browser/ui/views/tab_contents/tab_contents_container.h View 1 2 3 4 5 6 7 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 3 chunks +0 lines, -8 lines 0 comments Download
M chrome/chrome_common.gypi View 1 2 3 4 5 6 7 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 2 chunks +0 lines, -3 lines 0 comments Download
M chrome/common/chrome_notification_types.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -7 lines 0 comments Download
M chrome/common/common_resources.grd View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
D chrome/common/extensions/api/experimental.sidebar.json View 1 2 3 4 5 6 7 1 chunk +0 lines, -245 lines 0 comments Download
M chrome/common/extensions/api/extension_api.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/extensions/docs/js/api_page_generator.js View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/extensions/extension.h View 1 2 3 4 5 6 7 5 chunks +0 lines, -13 lines 0 comments Download
M chrome/common/extensions/extension.cc View 1 2 3 4 5 6 7 4 chunks +0 lines, -69 lines 0 comments Download
M chrome/common/extensions/extension_constants.h View 1 2 3 4 5 6 7 3 chunks +0 lines, -9 lines 0 comments Download
M chrome/common/extensions/extension_constants.cc View 1 2 3 4 5 6 7 3 chunks +0 lines, -15 lines 0 comments Download
M chrome/common/extensions/extension_file_util.cc View 1 2 3 4 5 6 7 2 chunks +0 lines, -16 lines 0 comments Download
M chrome/common/extensions/extension_manifests_unittest.cc View 1 2 3 4 5 6 7 2 chunks +0 lines, -32 lines 0 comments Download
D chrome/common/extensions/extension_sidebar_defaults.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -47 lines 0 comments Download
D chrome/common/extensions/extension_sidebar_utils.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -28 lines 0 comments Download
D chrome/common/extensions/extension_sidebar_utils.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -37 lines 0 comments Download
M chrome/common/extensions/manifest.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/extensions/manifest_unittest.cc View 1 2 3 4 5 6 7 3 chunks +0 lines, -3 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/renderer/extensions/schema_generated_bindings.cc View 1 2 3 4 5 6 7 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/renderer/resources/extensions/schema_generated_bindings.js View 1 2 3 4 5 6 7 1 chunk +0 lines, -8 lines 0 comments Download
M chrome/test/base/testing_browser_process.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
M chrome/test/base/testing_browser_process.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -4 lines 0 comments Download
D chrome/test/data/extensions/api_test/sidebar/manifest.json View 1 2 3 4 5 6 7 1 chunk +0 lines, -11 lines 0 comments Download
D chrome/test/data/extensions/api_test/sidebar/simple_page.html View 1 2 3 4 5 6 7 1 chunk +0 lines, -11 lines 0 comments Download
D chrome/test/data/extensions/api_test/sidebar/test.html View 1 2 3 4 5 6 7 1 chunk +0 lines, -6 lines 0 comments Download
D chrome/test/data/extensions/api_test/sidebar/test.js View 1 2 3 4 5 6 7 1 chunk +0 lines, -246 lines 0 comments Download
D chrome/test/data/extensions/manifest_tests/sidebar.json View 1 2 3 4 5 6 7 1 chunk +0 lines, -12 lines 0 comments Download
D chrome/test/data/extensions/manifest_tests/sidebar_icon_empty.json View 1 2 3 4 5 6 7 1 chunk +0 lines, -10 lines 0 comments Download
D chrome/test/data/extensions/manifest_tests/sidebar_icon_invalid_type.json View 1 2 3 4 5 6 7 1 chunk +0 lines, -10 lines 0 comments Download
D chrome/test/data/extensions/manifest_tests/sidebar_no_permissions.json View 1 2 3 4 5 6 7 1 chunk +0 lines, -6 lines 0 comments Download
D chrome/test/data/extensions/manifest_tests/sidebar_page_empty.json View 1 2 3 4 5 6 7 1 chunk +0 lines, -10 lines 0 comments Download
D chrome/test/data/extensions/manifest_tests/sidebar_page_invalid_type.json View 1 2 3 4 5 6 7 1 chunk +0 lines, -10 lines 0 comments Download
D chrome/test/data/extensions/manifest_tests/sidebar_title_invalid_type.json View 1 2 3 4 5 6 7 1 chunk +0 lines, -10 lines 0 comments Download
D chrome/test/data/sidebar/manifest.json View 1 2 3 4 5 6 7 1 chunk +0 lines, -8 lines 0 comments Download
D chrome/test/data/sidebar/simple_page.html View 1 2 3 4 5 6 7 1 chunk +0 lines, -6 lines 0 comments Download

Messages

Total messages: 34 (0 generated)
Devlin
9 years ago (2011-12-20 20:15:54 UTC) #1
Ben Goodger (Google)
On 2011/12/20 20:15:54, D Cronin wrote: Are you also going to remove traces of it ...
9 years ago (2011-12-20 20:20:16 UTC) #2
Devlin
I can certainly do that as well. Thanks for pointing out where I missed it! ...
9 years ago (2011-12-20 20:39:57 UTC) #3
Aaron Boodman
After I patched this in, I still see a few results that look related for ...
9 years ago (2011-12-20 21:22:00 UTC) #4
Devlin
The latest patch includes removal of the sidebar from more places in chrome/common, as well ...
9 years ago (2011-12-21 02:11:27 UTC) #5
Aaron Boodman
OK, net's a little too wide now. http://codereview.chromium.org/9006027/diff/8001/chrome/browser/resources/component_extension_resources.grd File chrome/browser/resources/component_extension_resources.grd (left): http://codereview.chromium.org/9006027/diff/8001/chrome/browser/resources/component_extension_resources.grd#oldcode49 chrome/browser/resources/component_extension_resources.grd:49: <include name="IDR_FILE_MANAGER_OPEN_SIDEBAR_ICON" ...
9 years ago (2011-12-21 08:38:20 UTC) #6
Devlin
All requested changes have been made. Sorry about removing in excess - I guessed that ...
9 years ago (2011-12-21 18:07:52 UTC) #7
Aaron Boodman
http://codereview.chromium.org/9006027/diff/13009/chrome/common/extensions/docs/template/page_shell.html File chrome/common/extensions/docs/template/page_shell.html (left): http://codereview.chromium.org/9006027/diff/13009/chrome/common/extensions/docs/template/page_shell.html#oldcode22 chrome/common/extensions/docs/template/page_shell.html:22: <script type="text/javascript" src="js/sidebar.js"></script> You still need to undo this ...
9 years ago (2011-12-21 18:49:00 UTC) #8
Devlin
Sorry for missing that - I made the mistake of not realizing that your comment ...
9 years ago (2011-12-21 19:47:12 UTC) #9
Aaron Boodman
http://codereview.chromium.org/9006027/diff/11016/chrome/common/extensions/docs/images/intermediate/i18n-after.graffle File chrome/common/extensions/docs/images/intermediate/i18n-after.graffle (left): http://codereview.chromium.org/9006027/diff/11016/chrome/common/extensions/docs/images/intermediate/i18n-after.graffle#oldcode2134 chrome/common/extensions/docs/images/intermediate/i18n-after.graffle:2134: <key>RightSidebar</key> On 2011/12/21 19:47:13, D Cronin wrote: > Is ...
9 years ago (2011-12-21 20:31:00 UTC) #10
Devlin
Fixed. Anything else? :) On 2011/12/21 20:31:00, Aaron Boodman wrote: > http://codereview.chromium.org/9006027/diff/11016/chrome/common/extensions/docs/images/intermediate/i18n-after.graffle > File chrome/common/extensions/docs/images/intermediate/i18n-after.graffle ...
9 years ago (2011-12-22 00:58:21 UTC) #11
Aaron Boodman
LGTM, but a UI person should weigh in on the browser frame changes. Let me ...
9 years ago (2011-12-22 01:03:22 UTC) #12
Aaron Boodman
+some UI people. Looking for someone to review the changes to browser_view_layout.cc. Thanks!
9 years ago (2011-12-22 01:04:12 UTC) #13
Peter Kasting
I don't really know browser_view_layout.cc very well but the changes seem obvious enough, LGTM http://codereview.chromium.org/9006027/diff/14014/chrome/browser/ui/views/frame/browser_view_layout.cc ...
9 years ago (2011-12-22 02:10:51 UTC) #14
Devlin
Done. Thanks for the input. On 2011/12/22 02:10:51, Peter Kasting wrote: > I don't really ...
9 years ago (2011-12-22 16:44:53 UTC) #15
Aaron Boodman
Ok, can you please sync, resolve any changes, run relevant* tests locally, and then upload ...
8 years, 12 months ago (2011-12-26 19:39:02 UTC) #16
Devlin
Done. Changes resolved, passing all relevant tests locally. On 2011/12/26 19:39:02, Aaron Boodman wrote: > ...
8 years, 11 months ago (2012-01-02 18:05:39 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rdevlin.cronin@chromium.org/9006027/25001
8 years, 11 months ago (2012-01-03 00:25:57 UTC) #18
commit-bot: I haz the power
Can't apply patch for file chrome/browser/sidebar/sidebar_browsertest.cc. While running patch -p0 --forward --force; patching file chrome/browser/sidebar/sidebar_browsertest.cc ...
8 years, 11 months ago (2012-01-03 00:26:14 UTC) #19
Aaron Boodman
Tried patching locally, get same issue. Can you let me know what revision this patch ...
8 years, 11 months ago (2012-01-03 06:47:45 UTC) #20
Devlin
On 2012/01/03 06:47:45, Aaron Boodman wrote: > Tried patching locally, get same issue. Can you ...
8 years, 11 months ago (2012-01-04 02:52:56 UTC) #21
Aaron Boodman
I ran this through the trybot, and it had some problems on os x: http://build.chromium.org/p/tryserver.chromium/builders/mac_rel/builds/7482 ...
8 years, 11 months ago (2012-01-05 23:23:56 UTC) #22
Aaron Boodman
Devlin, this work is starting to block some other people in the area. Can you ...
8 years, 11 months ago (2012-01-06 02:34:23 UTC) #23
Aaron Boodman
Crap, I gave you the wrong trybot results. Actual results here: http://build.chromium.org/p/tryserver.chromium/builders/mac_rel/builds/7472 Looking at this ...
8 years, 11 months ago (2012-01-06 02:39:40 UTC) #24
Devlin
All bugs tracked down, thanks to the try-bot access :) Latest patch fails only flaky/failing ...
8 years, 11 months ago (2012-01-07 22:01:00 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rdevlin.cronin@chromium.org/9006027/46002
8 years, 11 months ago (2012-01-07 22:19:06 UTC) #26
commit-bot: I haz the power
Presubmit check for 9006027-46002 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 11 months ago (2012-01-07 22:19:34 UTC) #27
Aaron Boodman
+cocoa and gtk owners
8 years, 11 months ago (2012-01-08 06:53:01 UTC) #28
Nico
Cool! Can you also undo the root window resizer rect changes that were done when ...
8 years, 11 months ago (2012-01-08 07:03:23 UTC) #29
Aaron Boodman
On Sat, Jan 7, 2012 at 11:03 PM, <thakis@chromium.org> wrote: > Can you also undo ...
8 years, 11 months ago (2012-01-08 07:36:36 UTC) #30
Nico
Makes sense. Mac parts lgtm. On Jan 7, 2012 11:36 PM, "Aaron Boodman" <aa@chromium.org> wrote: ...
8 years, 11 months ago (2012-01-08 16:31:58 UTC) #31
Elliot Glaysher
two line gtk patch lgtm
8 years, 11 months ago (2012-01-09 17:34:26 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rdevlin.cronin@chromium.org/9006027/46002
8 years, 11 months ago (2012-01-09 18:40:13 UTC) #33
commit-bot: I haz the power
8 years, 11 months ago (2012-01-09 19:53:33 UTC) #34
Change committed as 116901

Powered by Google App Engine
This is Rietveld 408576698