Show Pin option in app launcher context menu only when Shelf is present
commit4ce3ba0ee735226189b0e2223bfc85a0204b9065
authormichaelpg@chromium.org <michaelpg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 4 Oct 2013 20:13:32 +0000 (4 20:13 +0000)
committermichaelpg@chromium.org <michaelpg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 4 Oct 2013 20:13:32 +0000 (4 20:13 +0000)
tree997f0f97eb435f8d2e7c819e74c0c1b857b5f727
parentb289ee00cf4b122e8cd600b6db6b272e638dab98
Show Pin option in app launcher context menu only when Shelf is present

Pin to Shelf option should only be present when applicable, i.e., in ChromeOS
and Windows in Metro Mode with the Ash shelf.

BUG=303571
TEST=Ensure Pin option is not visible in Windows 7 or Windows 8, except in
     Windows 8 multi-window Metro mode. Option should still be visible in
     ChromeOS.
R=Mr4D@chromium.org, xiyuan@chromium.org, tapted@chromium.org

Review URL: https://codereview.chromium.org/25929002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227070 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/ui/app_list/app_context_menu.cc
chrome/browser/ui/app_list/app_list_controller_delegate.h
chrome/browser/ui/app_list/app_list_service_mac.mm
chrome/browser/ui/ash/app_list/app_list_controller_ash.cc
chrome/browser/ui/ash/app_list/app_list_controller_ash.h
chrome/browser/ui/views/app_list/win/app_list_controller_delegate_win.cc
chrome/browser/ui/views/app_list/win/app_list_controller_delegate_win.h