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

Issue 10544021: Disable the new window context menu option in the bookmarks extension for Windows 8 metro mode. (Closed)

Created:
8 years, 6 months ago by ananta
Modified:
8 years, 6 months ago
CC:
chromium-reviews, Aaron Boodman, mihaip-chromium-reviews_chromium.org, pam+watch_chromium.org, arv (Not doing code reviews)
Visibility:
Public.

Description

Disable the new window context menu option in the bookmarks extension for Windows 8 metro mode. This is done via a new bookmark extension api "experimental.bookmarkManager.canOpenNewWindows" which returns false for metro mode. The other change is to ensure that we first look for an existing browser window for the desired profile when an unnamed extension creates a window in Windows 8 metro mode. This is to prevent new windows from being created in Windows 8 metro mode. BUG=124404 R=sky,aa Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=140864

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -2 lines) Patch
M chrome/browser/bookmarks/bookmark_manager_extension_api.h View 1 chunk +13 lines, -0 lines 0 comments Download
M chrome/browser/bookmarks/bookmark_manager_extension_api.cc View 2 chunks +16 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_function_registry.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/extension_tabs_module.cc View 1 2 3 3 chunks +30 lines, -1 line 0 comments Download
M chrome/browser/resources/bookmark_manager/js/main.js View 1 2 2 chunks +10 lines, -1 line 0 comments Download
M chrome/common/extensions/api/experimental_bookmark_manager.json View 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
ananta
8 years, 6 months ago (2012-06-06 01:35:32 UTC) #1
Aaron Boodman
lgtm http://codereview.chromium.org/10544021/diff/4002/chrome/browser/extensions/extension_tabs_module.cc File chrome/browser/extensions/extension_tabs_module.cc (right): http://codereview.chromium.org/10544021/diff/4002/chrome/browser/extensions/extension_tabs_module.cc#newcode236 chrome/browser/extensions/extension_tabs_module.cc:236: new_window = browser::FindTabbedBrowser(profile, false); Document the magic boolean ...
8 years, 6 months ago (2012-06-06 01:46:26 UTC) #2
ananta
https://chromiumcodereview.appspot.com/10544021/diff/4002/chrome/browser/extensions/extension_tabs_module.cc File chrome/browser/extensions/extension_tabs_module.cc (right): https://chromiumcodereview.appspot.com/10544021/diff/4002/chrome/browser/extensions/extension_tabs_module.cc#newcode236 chrome/browser/extensions/extension_tabs_module.cc:236: new_window = browser::FindTabbedBrowser(profile, false); On 2012/06/06 01:46:26, Aaron Boodman ...
8 years, 6 months ago (2012-06-06 01:52:22 UTC) #3
sky
LGTM
8 years, 6 months ago (2012-06-06 04:06:15 UTC) #4
James Hawkins
8 years, 6 months ago (2012-06-06 22:24:55 UTC) #5
lgtm

Powered by Google App Engine
This is Rietveld 408576698