summaryrefslogtreecommitdiffstats
path: root/ash/shell
Commit message (Collapse)AuthorAgeFilesLines
* Change GetContainer to take a root windowoshima@chromium.org2012-06-112-5/+6
| | | | | | | | | | | Update the use of GetContainer to use the correct root window. BUG=123160 TEST=no functional change. all tests must pass. Review URL: https://chromiumcodereview.appspot.com/10540076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141384 0039d316-1c4b-4281-b951-d872f2087c98
* ash/chromeos: "Search" key to toggle app list.xiyuan@chromium.org2012-06-082-4/+0
| | | | | | | | | | | | | | - "Search" key to toggle app list; - Remove old "Ctrl+Search" shortcut for app list; - Remove ShellDelegate::Search since it no longer in use; BUG=131703 TEST=Verify "Search" key toggles app list and old "Ctrl+Search" stops working. Review URL: https://chromiumcodereview.appspot.com/10534053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141290 0039d316-1c4b-4281-b951-d872f2087c98
* A little more cleanup of content examples.jam@chromium.org2012-06-073-28/+0
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10536054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141045 0039d316-1c4b-4281-b951-d872f2087c98
* Reland 140814 - Rename ShellRenderView{,Host}Observer to ↵jochen@chromium.org2012-06-061-2/+0
| | | | | | | | | | | | | | | | LayoutTestController{,Host} also hook up the stay on page after handling before unload flag. Also removing incorrect references from aura/ui code to layout test controller stuff BUG=111316 TEST=manual TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/10538031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140862 0039d316-1c4b-4281-b951-d872f2087c98
* Refactored mobile activation engine outside of WebUI handler in order to ↵zelidrag@chromium.org2012-06-062-2/+2
| | | | | | | | | | | expose its state to other layer of UI (i.e. dialog, background activation process...). BUG=130420 TEST=manual regression test for mobile device activation Review URL: https://chromiumcodereview.appspot.com/10456045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140686 0039d316-1c4b-4281-b951-d872f2087c98
* Simplify how Content*Client interfaces are created. Instead of depending on ↵jam@chromium.org2012-06-052-36/+4
| | | | | | | | | | | the embedder to know when to create and set them and to handle special cases like zygote/single-process, directly ask the embedder to create an instance of a specific type. Also, if the embedder doesn't return an instance create the empty version. Remove MockContentRendererClient since it existed before ContentRendererClient had an implementation and has no need anymore. Rename MockContentBrowserClient to TestContentBrowserClient to better reflect how it's used. BUG=98716 Review URL: https://chromiumcodereview.appspot.com/10479023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140524 0039d316-1c4b-4281-b951-d872f2087c98
* A little cleanup in the ash content example.jam@chromium.org2012-06-022-35/+1
| | | | | | | BUG=98716 Review URL: https://chromiumcodereview.appspot.com/10506003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140143 0039d316-1c4b-4281-b951-d872f2087c98
* Move UserGestureHandler to shelloshima@chromium.org2012-05-312-0/+4
| | | | | | | | | | | | Rename class names to UserActionXX to avoid confusion with touch gesture and this also handles non gesture mouse button action. This is necessary step to allow multiple root windows. BUG=123160 TEST=none Review URL: https://chromiumcodereview.appspot.com/10448093 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139899 0039d316-1c4b-4281-b951-d872f2087c98
* Convert ash and chromeos parts of chrome/ to ImageSkiapkotwicz@chromium.org2012-05-311-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Used same conversion script as 10437006 Changed by hand afterwards: 1 ash/shell/app_list.cc 2 ash/shell/content_client/shell_content_browser_client.h 3 ash/shell/window_watcher.cc 4 ash/system/tray/tray_views.h 5 ash/system/user/tray_user.cc 6 ash/test/test_launcher_delegate.cc 7 ash/wm/frame_painter.cc 8 ash/wm/image_grid_unittest.cc 9 chrome/browser/chrome_content_browser_client.cc 10 chrome/browser/chrome_content_browser_client.h 11 chrome/browser/chromeos/extensions/file_manager_util.cc 12 chrome/browser/chromeos/login/message_bubble.h 13 chrome/browser/chromeos/login/take_photo_view.cc 14 chrome/browser/chromeos/login/take_photo_view.h 15 chrome/browser/chromeos/login/user.h 16 chrome/browser/chromeos/login/user_image_screen.cc 17 chrome/browser/chromeos/login/user_image_screen_actor.h 18 chrome/browser/chromeos/login/webui_login_view.cc 19 chrome/browser/chromeos/options/take_photo_dialog.cc 20 chrome/browser/chromeos/status/data_promo_notification.cc 21 chrome/browser/chromeos/status/network_menu_icon.cc 22 chrome/browser/chromeos/status/network_menu_icon.h 23 chrome/browser/chromeos/status/network_menu_icon_unittest.cc 24 chrome/browser/debugger/devtools_window.cc 25 chrome/browser/favicon/favicon_handler.cc 26 chrome/browser/favicon/favicon_tab_helper.cc 27 chrome/browser/instant/instant_loader.cc 28 chrome/browser/ui/toolbar/back_forward_menu_model.cc 29 chrome/browser/ui/views/ash/browser_non_client_frame_view_ash.cc 30 chrome/browser/ui/webui/chromeos/login/user_image_screen_handler.cc 31 chrome/browser/ui/webui/chromeos/login/user_image_screen_handler.h 32 chrome/browser/ui/webui/options2/chromeos/change_picture_options_handler2.cc 33 chrome/browser/ui/webui/options2/chromeos/change_picture_options_handler2.h 34 chrome/browser/ui/webui/options2/chromeos/internet_options_handler2.h 35 chrome/browser/ui/webui/options2/chromeos/user_image_source2.cc 36 chrome/browser/ui/webui/options2/chromeos/wallpaper_thumbnail_source2.cc 37 content/browser/mock_content_browser_client.cc 38 content/browser/mock_content_browser_client.h 39 content/public/browser/content_browser_client.h 40 content/public/browser/favicon_status.cc 41 content/public/browser/favicon_status.h 42 content/shell/shell_content_browser_client.cc 43 content/shell/shell_content_browser_client.h 44 ui/views/examples/content_client/examples_content_browser_client.cc 45 ui/views/examples/content_client/examples_content_browser_client.h Fixed headers and spacing 1 ash/desktop_background/desktop_background_controller.cc 2 ash/desktop_background/desktop_background_controller.h 3 ash/desktop_background/desktop_background_resources.cc 4 ash/desktop_background/desktop_background_resources.h 5 ash/shell.h 6 ash/shell_factory.h 7 ash/system/tray/system_tray_delegate.h 8 ash/wm/frame_painter.h 9 chrome/browser/chromeos/login/default_user_images.h 10 chrome/browser/chromeos/status/network_menu.cc Test=Compiles Bug=124566 Review URL: https://chromiumcodereview.appspot.com/10443062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139802 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 139776 - Convert ash and chromeos parts of chrome/ to ImageSkiapkotwicz@chromium.org2012-05-311-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Used same conversion script as 10437006 Changed by hand afterwards: 1 ash/shell/app_list.cc 2 ash/shell/content_client/shell_content_browser_client.h 3 ash/shell/window_watcher.cc 4 ash/system/tray/tray_views.h 5 ash/system/user/tray_user.cc 6 ash/test/test_launcher_delegate.cc 7 ash/wm/frame_painter.cc 8 ash/wm/image_grid_unittest.cc 9 chrome/browser/chrome_content_browser_client.cc 10 chrome/browser/chrome_content_browser_client.h 11 chrome/browser/chromeos/extensions/file_manager_util.cc 12 chrome/browser/chromeos/login/message_bubble.h 13 chrome/browser/chromeos/login/take_photo_view.cc 14 chrome/browser/chromeos/login/take_photo_view.h 15 chrome/browser/chromeos/login/user.h 16 chrome/browser/chromeos/login/user_image_screen.cc 17 chrome/browser/chromeos/login/user_image_screen_actor.h 18 chrome/browser/chromeos/login/webui_login_view.cc 19 chrome/browser/chromeos/options/take_photo_dialog.cc 20 chrome/browser/chromeos/status/data_promo_notification.cc 21 chrome/browser/chromeos/status/network_menu_icon.cc 22 chrome/browser/chromeos/status/network_menu_icon.h 23 chrome/browser/chromeos/status/network_menu_icon_unittest.cc 24 chrome/browser/debugger/devtools_window.cc 25 chrome/browser/favicon/favicon_handler.cc 26 chrome/browser/favicon/favicon_tab_helper.cc 27 chrome/browser/instant/instant_loader.cc 28 chrome/browser/ui/toolbar/back_forward_menu_model.cc 29 chrome/browser/ui/views/ash/browser_non_client_frame_view_ash.cc 30 chrome/browser/ui/webui/chromeos/login/user_image_screen_handler.cc 31 chrome/browser/ui/webui/chromeos/login/user_image_screen_handler.h 32 chrome/browser/ui/webui/options2/chromeos/change_picture_options_handler2.cc 33 chrome/browser/ui/webui/options2/chromeos/change_picture_options_handler2.h 34 chrome/browser/ui/webui/options2/chromeos/internet_options_handler2.h 35 chrome/browser/ui/webui/options2/chromeos/user_image_source2.cc 36 chrome/browser/ui/webui/options2/chromeos/wallpaper_thumbnail_source2.cc 37 content/browser/mock_content_browser_client.cc 38 content/browser/mock_content_browser_client.h 39 content/public/browser/content_browser_client.h 40 content/public/browser/favicon_status.cc 41 content/public/browser/favicon_status.h 42 content/shell/shell_content_browser_client.cc 43 content/shell/shell_content_browser_client.h 44 ui/views/examples/content_client/examples_content_browser_client.cc 45 ui/views/examples/content_client/examples_content_browser_client.h Fixed headers and spacing 1 ash/desktop_background/desktop_background_controller.cc 2 ash/desktop_background/desktop_background_controller.h 3 ash/desktop_background/desktop_background_resources.cc 4 ash/desktop_background/desktop_background_resources.h 5 ash/shell.h 6 ash/shell_factory.h 7 ash/system/tray/system_tray_delegate.h 8 ash/wm/frame_painter.h 9 chrome/browser/chromeos/login/default_user_images.h 10 chrome/browser/chromeos/status/network_menu.cc Test=Compiles Bug=124566 Review URL: https://chromiumcodereview.appspot.com/10443062 TBR=pkotwicz@chromium.org Review URL: https://chromiumcodereview.appspot.com/10456054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139778 0039d316-1c4b-4281-b951-d872f2087c98
* Convert ash and chromeos parts of chrome/ to ImageSkiapkotwicz@chromium.org2012-05-311-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Used same conversion script as 10437006 Changed by hand afterwards: 1 ash/shell/app_list.cc 2 ash/shell/content_client/shell_content_browser_client.h 3 ash/shell/window_watcher.cc 4 ash/system/tray/tray_views.h 5 ash/system/user/tray_user.cc 6 ash/test/test_launcher_delegate.cc 7 ash/wm/frame_painter.cc 8 ash/wm/image_grid_unittest.cc 9 chrome/browser/chrome_content_browser_client.cc 10 chrome/browser/chrome_content_browser_client.h 11 chrome/browser/chromeos/extensions/file_manager_util.cc 12 chrome/browser/chromeos/login/message_bubble.h 13 chrome/browser/chromeos/login/take_photo_view.cc 14 chrome/browser/chromeos/login/take_photo_view.h 15 chrome/browser/chromeos/login/user.h 16 chrome/browser/chromeos/login/user_image_screen.cc 17 chrome/browser/chromeos/login/user_image_screen_actor.h 18 chrome/browser/chromeos/login/webui_login_view.cc 19 chrome/browser/chromeos/options/take_photo_dialog.cc 20 chrome/browser/chromeos/status/data_promo_notification.cc 21 chrome/browser/chromeos/status/network_menu_icon.cc 22 chrome/browser/chromeos/status/network_menu_icon.h 23 chrome/browser/chromeos/status/network_menu_icon_unittest.cc 24 chrome/browser/debugger/devtools_window.cc 25 chrome/browser/favicon/favicon_handler.cc 26 chrome/browser/favicon/favicon_tab_helper.cc 27 chrome/browser/instant/instant_loader.cc 28 chrome/browser/ui/toolbar/back_forward_menu_model.cc 29 chrome/browser/ui/views/ash/browser_non_client_frame_view_ash.cc 30 chrome/browser/ui/webui/chromeos/login/user_image_screen_handler.cc 31 chrome/browser/ui/webui/chromeos/login/user_image_screen_handler.h 32 chrome/browser/ui/webui/options2/chromeos/change_picture_options_handler2.cc 33 chrome/browser/ui/webui/options2/chromeos/change_picture_options_handler2.h 34 chrome/browser/ui/webui/options2/chromeos/internet_options_handler2.h 35 chrome/browser/ui/webui/options2/chromeos/user_image_source2.cc 36 chrome/browser/ui/webui/options2/chromeos/wallpaper_thumbnail_source2.cc 37 content/browser/mock_content_browser_client.cc 38 content/browser/mock_content_browser_client.h 39 content/public/browser/content_browser_client.h 40 content/public/browser/favicon_status.cc 41 content/public/browser/favicon_status.h 42 content/shell/shell_content_browser_client.cc 43 content/shell/shell_content_browser_client.h 44 ui/views/examples/content_client/examples_content_browser_client.cc 45 ui/views/examples/content_client/examples_content_browser_client.h Fixed headers and spacing 1 ash/desktop_background/desktop_background_controller.cc 2 ash/desktop_background/desktop_background_controller.h 3 ash/desktop_background/desktop_background_resources.cc 4 ash/desktop_background/desktop_background_resources.h 5 ash/shell.h 6 ash/shell_factory.h 7 ash/system/tray/system_tray_delegate.h 8 ash/wm/frame_painter.h 9 chrome/browser/chromeos/login/default_user_images.h 10 chrome/browser/chromeos/status/network_menu.cc Test=Compiles Bug=124566 Review URL: https://chromiumcodereview.appspot.com/10443062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139776 0039d316-1c4b-4281-b951-d872f2087c98
* Remove WindowWatcher observer from panel_container_stevenjb@google.com2012-05-301-0/+1
| | | | | | | | | | | Crash was introduced here: http://codereview.chromium.org/10091017 BUG=130306 TEST=ash_shell does not crash on shutdown. Review URL: https://chromiumcodereview.appspot.com/10459028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139669 0039d316-1c4b-4281-b951-d872f2087c98
* Give ContentMainDelegate a default implementation to simplify embedders.jam@chromium.org2012-05-302-47/+1
| | | | | | | BUG=98716 Review URL: https://chromiumcodereview.appspot.com/10458034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139582 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of ContentBrowserClient::GetClipboard as part of simplifying the ↵jam@chromium.org2012-05-302-5/+0
| | | | | | | | | | | work that each embedder has to do. Also remove some code in the views WebView example that isn't needed. BUG=98716 Review URL: https://chromiumcodereview.appspot.com/10442078 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139558 0039d316-1c4b-4281-b951-d872f2087c98
* Give a default implementation for ContentBrowserClient so that there's less ↵jam@chromium.org2012-05-292-488/+0
| | | | | | | | | boilerplate for each embedder. BUG=98716 Review URL: https://chromiumcodereview.appspot.com/10443059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139350 0039d316-1c4b-4281-b951-d872f2087c98
* Promotes touch-devices to ui_base so that ash can use it.sky@chromium.org2012-05-251-0/+7
| | | | | | | | | | | BUG=none TEST=none R=sadrul@chromium.org Review URL: https://chromiumcodereview.appspot.com/10449027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139101 0039d316-1c4b-4281-b951-d872f2087c98
* Handle more browser commands in ash.mazda@chromium.org2012-05-252-0/+12
| | | | | | | | | | | | | | | This CL modifies the shell accelerator controller to handle the shortcuts for the following browser commands so that they work with no browser window shown. - IDC_NEW_TAB - IDC_RESTORE_TAB - IDC_SHOW_BOOKMARK_MANAGER BUG=124232,120642 TEST=Checked all the shortcuts worked properly with no browser window shown. aura_shell_unittests Review URL: https://chromiumcodereview.appspot.com/10414064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138982 0039d316-1c4b-4281-b951-d872f2087c98
* Rename GetRootWindow() -> GetPrimaryRootWindow()oshima@chromium.org2012-05-252-2/+2
| | | | | | | | | BUG=123160 TEST=none Review URL: https://chromiumcodereview.appspot.com/10442017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138950 0039d316-1c4b-4281-b951-d872f2087c98
* app_list: Add search box and search result view for v2. xiyuan@chromium.org2012-05-251-10/+138
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add a SearchBoxModel that represents search box's icon, placeholder text, user typed text and selection model (current selection and cursor position); - Add a SearchBoxView that displays SearchBoxModel and observes SearchBoxModel changes via SearchBoxModelObserver; When user typed/changed text in search box, the view also fires query changed notification to its SearchBoxViewDelegate; - Add a SearchResult that carries an icon, two tagged texts; - Add a SearchResultView that displays a SearchResult; - Change AppListModel to be a master model that has three sub models: apps list, search box and search results; - Add a SearchResultListView that display search results sub model of AppListModel using a list of SeachResultView; The view supports up/down key navigation and when user selects a result via mouse click or enter key, it asks its SearchResultListViewDelegate to OpenResult; - Update AppListViewDelegate: - Add new methods: StartSearch, StopSearch and OpenResult; - Deleted no-longer needed UpdateModel method; - Rename OnAppListItemActivated -> ActivateAppListItem; - Update ash_shell's app_list to support a simple substr match search; - Add a SearchBuilder that implements the search via AutoCompleteController; - Other changes: - Rename AppListModelBuilder -> AppsModelBuilder; - Rename AppListModelView -> AppsGridView; BUG=125964 TEST=Manual. In ash_shell, it searches the 5 example apps. In ash/chrome, it should show similar results as omnibox. Review URL: https://chromiumcodereview.appspot.com/10386224 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138938 0039d316-1c4b-4281-b951-d872f2087c98
* Make the keyboard overlay handle close shortcuts in JavaScript code.mazda@chromium.org2012-05-242-2/+2
| | | | | | | | | | | | | The aim of this change is to remove the dependency to chrome/browser/ui/views/accelerator_table.cc as a preparation for moving the keyboard overlay code to src/ash. BUG=124222 TEST=Manually checked that the keyboard overlay is closed with shrotcut keys. Review URL: https://chromiumcodereview.appspot.com/10434012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138903 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Remove unused ViewsDelegate data member.tfarina@chromium.org2012-05-241-5/+0
| | | | | | | | R=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/10409094 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138841 0039d316-1c4b-4281-b951-d872f2087c98
* Move RenderViewHostDelegate::View to content/port and rename it to ↵jam@chromium.org2012-05-242-2/+5
| | | | | | | | | RenderViewHostDelegateView. This only needs to be seen by embedders who override WebContentsView. As a result, WebContentsView doesn't derive from it anymore. BUG=98716 Review URL: https://chromiumcodereview.appspot.com/10441009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138799 0039d316-1c4b-4281-b951-d872f2087c98
* Fix cros take2jam@chromium.org2012-05-222-2/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138257 0039d316-1c4b-4281-b951-d872f2087c98
* Fix crosjam@chromium.org2012-05-222-1/+10
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138253 0039d316-1c4b-4281-b951-d872f2087c98
* Show the "cannot proceed" text only when appropriate.palmer@chromium.org2012-05-162-0/+2
| | | | | | | | | | Fix some simple lints while here. BUG=122498 Review URL: https://chromiumcodereview.appspot.com/10381051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137349 0039d316-1c4b-4281-b951-d872f2087c98
* Remove some more OS_CHROMEOS from browser.beng@google.com2012-05-152-0/+4
| | | | | | | | BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10377114 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137200 0039d316-1c4b-4281-b951-d872f2087c98
* Quote WebPreferences in namespace webkit_glue.wangxianzhu@chromium.org2012-05-112-2/+2
| | | | | | | | | | | | | | To avoid name conflict when linking DumpRenderTree which has its own implementation of the class with the same name. BUG=127811 TEST=Build all without errors TBR=kalman@chromium.org,dpapad@chromium.org,ben@chromium.org,battre@chromium.org Review URL: https://chromiumcodereview.appspot.com/10384128 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136707 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Remove unused app_list includes from app_list.cctfarina@chromium.org2012-05-111-2/+0
| | | | | | | | | R=xiyuan@chromium.org TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/10387073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136578 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Remove unused declaration of BuildAppListModel() function.tfarina@chromium.org2012-05-101-3/+0
| | | | | | | | | R=xiyuan@chromium.org TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/10377097 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136437 0039d316-1c4b-4281-b951-d872f2087c98
* Add new ResourceBundle::Delegate interface.marshall@chromium.org2012-05-093-3/+3
| | | | | | | | | BUG=125351 TEST=ResourceBundle.* Review URL: https://chromiumcodereview.appspot.com/10270023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136039 0039d316-1c4b-4281-b951-d872f2087c98
* Move app list from ash to ui.xiyuan@chromium.org2012-05-094-17/+23
| | | | | | | | | | The goal is to make app list an independent component so that it could be reused in elsewhere. BUG=none. TEST=none. Review URL: https://chromiumcodereview.appspot.com/10388032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135981 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Handle policy-controlled pinned apps in the launcher.mnissler@chromium.org2012-05-072-0/+5
| | | | | | | | | | | | | Handle the case of the preference being supplied by a non-user pref source correctly, observe and react to pref changes and disable context menu entries and item dragging for policy-controlled pinned apps. BUG=chromium-os:29917 TEST=Everything as before, not testable before policy code lands. Review URL: https://chromiumcodereview.appspot.com/10349012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135676 0039d316-1c4b-4281-b951-d872f2087c98
* Respect WindowOpenDisposition in launcher as is in app-list.mukai@chromium.org2012-05-062-2/+4
| | | | | | | | | | BUG=125902 TEST=manually Review URL: http://codereview.chromium.org/10308005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135584 0039d316-1c4b-4281-b951-d872f2087c98
* ui: Move compositor/ directory out of gfx/, up to ui/.tfarina@chromium.org2012-05-052-6/+6
| | | | | | | | | | BUG=104040 R=piman@chromium.org,ben@chromium.org TBR=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/10365007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135560 0039d316-1c4b-4281-b951-d872f2087c98
* Re-implement the screensaver to use WebView instead of ExtensionDialogHost.rkc@chromium.org2012-05-044-1/+22
| | | | | | | | | | | | | Use WebView to render the screensaver extension instead of ExtensionDialogHost. Using the RenderViewGone override to detect termination of the renderer process to restart it. Added browser tests. R=ben@chromium.org,sky@chromium.org BUG=chromium-os:28211 TEST=Tested that the screensaver comes up; tested the reload via crashing the extension renderer with SIG_ABRT; also ran browser tests. Review URL: https://chromiumcodereview.appspot.com/10191010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135392 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 135369 - Re-implement the screensaver to use WebView instead of ↵rkc@chromium.org2012-05-044-22/+1
| | | | | | | | | | | | | | | | | ExtensionDialogHost. Use WebView to render the screensaver extension instead of ExtensionDialogHost. Using the RenderViewGone override to detect termination of the renderer process to restart it. Added browser tests. R=ben@chromium.org,sky@chromium.org BUG=chromium-os:28211 TEST=Tested that the screensaver comes up; tested the reload via crashing the extension renderer with SIG_ABRT; also ran browser tests. Review URL: https://chromiumcodereview.appspot.com/10191010 TBR=rkc@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135372 0039d316-1c4b-4281-b951-d872f2087c98
* Re-implement the screensaver to use WebView instead of ExtensionDialogHost.rkc@chromium.org2012-05-044-1/+22
| | | | | | | | | | | | | Use WebView to render the screensaver extension instead of ExtensionDialogHost. Using the RenderViewGone override to detect termination of the renderer process to restart it. Added browser tests. R=ben@chromium.org,sky@chromium.org BUG=chromium-os:28211 TEST=Tested that the screensaver comes up; tested the reload via crashing the extension renderer with SIG_ABRT; also ran browser tests. Review URL: https://chromiumcodereview.appspot.com/10191010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135369 0039d316-1c4b-4281-b951-d872f2087c98
* Add ash shortcut for toggling spoken feedback.dmazzoni@chromium.org2012-05-022-0/+4
| | | | | | | | | | | | | | This makes it possible to toggle anywhere, not just on the login screen. It also fixes a bug where even on the login screen, accessibility couldn't be toggled when the status tray had focus. BUG=120953,chromium-os:23566 TEST=Press Ctrl+Alt+Z in login screen and when logged in. Review URL: http://codereview.chromium.org/10339005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135021 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 135000 - Re-implement the screensaver to use WebView instead of ↵rkc@chromium.org2012-05-024-22/+1
| | | | | | | | | | | | | | | | | | ExtensionDialogHost. Use WebView to render the screensaver extension instead of ExtensionDialogHost. Using the RenderViewGone override to detect termination of the renderer process to restart it. Added browser tests. R=ben@chromium.org,sky@chromium.org BUG=chromium-os:28211 TEST=Tested that the screensaver comes up; tested the reload via crashing the extension renderer with SIG_ABRT; also ran browser tests. Review URL: https://chromiumcodereview.appspot.com/10191010 TBR=rkc@chromium.org Review URL: https://chromiumcodereview.appspot.com/10335010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135004 0039d316-1c4b-4281-b951-d872f2087c98
* Re-implement the screensaver to use WebView instead of ExtensionDialogHost.rkc@chromium.org2012-05-024-1/+22
| | | | | | | | | | | | | Use WebView to render the screensaver extension instead of ExtensionDialogHost. Using the RenderViewGone override to detect termination of the renderer process to restart it. Added browser tests. R=ben@chromium.org,sky@chromium.org BUG=chromium-os:28211 TEST=Tested that the screensaver comes up; tested the reload via crashing the extension renderer with SIG_ABRT; also ran browser tests. Review URL: https://chromiumcodereview.appspot.com/10191010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135000 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r134889, "Re-implement the screensaver to use WebView instead of ↵caseq@google.com2012-05-024-22/+1
| | | | | | | | | | | | | | ExtensionDialogHost." The original change broke Win Aura and 3 Linux CrOs builders. TBR=rkc@chromium.org,finnur@chromium.org BUG=chromium-os:28211 TEST=tree goes green Review URL: https://chromiumcodereview.appspot.com/10314008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134893 0039d316-1c4b-4281-b951-d872f2087c98
* Re-implement the screensaver to use WebView instead of ExtensionDialogHost.rkc@chromium.org2012-05-024-1/+22
| | | | | | | | | | | | | | Use WebView to render the screensaver extension instead of ExtensionDialogHost. Using the RenderViewGone override to detect termination of the renderer process to restart it. Added browser tests. R=ben@chromium.org,sky@chromium.org BUG=chromium-os:28211 TEST=Tested that the screensaver comes up; tested the reload via crashing the extension renderer with SIG_ABRT; also ran browser tests. Review URL: http://codereview.chromium.org/10191010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134889 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 134878 - Re-implement the screensaver to use WebView instead of ↵rkc@chromium.org2012-05-024-22/+1
| | | | | | | | | | | | | | | | | | ExtensionDialogHost. Use WebView to render the screensaver extension instead of ExtensionDialogHost. Using the RenderViewGone override to detect termination of the renderer process to restart it. Added browser tests. R=ben@chromium.org,sky@chromium.org BUG=chromium-os:28211 TEST=Tested that the screensaver comes up; tested the reload via crashing the extension renderer with SIG_ABRT; also ran browser tests. Review URL: https://chromiumcodereview.appspot.com/10191010 TBR=rkc@chromium.org Review URL: https://chromiumcodereview.appspot.com/10316004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134881 0039d316-1c4b-4281-b951-d872f2087c98
* Re-implement the screensaver to use WebView instead of ExtensionDialogHost.rkc@chromium.org2012-05-024-1/+22
| | | | | | | | | | | | | Use WebView to render the screensaver extension instead of ExtensionDialogHost. Using the RenderViewGone override to detect termination of the renderer process to restart it. Added browser tests. R=ben@chromium.org,sky@chromium.org BUG=chromium-os:28211 TEST=Tested that the screensaver comes up; tested the reload via crashing the extension renderer with SIG_ABRT; also ran browser tests. Review URL: https://chromiumcodereview.appspot.com/10191010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134878 0039d316-1c4b-4281-b951-d872f2087c98
* Draw panels above their launcher icons.dcheng@chromium.org2012-04-222-2/+9
| | | | | | | | | | | | | Note that this patch doesn't handle dragging panels to rearrange them (if we want that at all) and panels with no launcher icon because they are in overflow. BUG=124115 TEST=aura_shell_unittests --gtest_filter=*Panel* --aura-panels Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=133309 Review URL: http://codereview.chromium.org/10091017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133368 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 133309 - Draw panels above their launcher icons.groby@chromium.org2012-04-212-9/+2
| | | | | | | | | | | | | | | | (Caused test failures on Win and CrOS:PanelLayoutManagerTest.AddOnePanel) Note that this patch doesn't handle dragging panels to rearrange them (if we want that at all) and panels with no launcher icon because they are in overflow. BUG=124115 TEST=aura_shell_unittests --gtest_filter=*Panel* --aura-panels Review URL: https://chromiumcodereview.appspot.com/10091017 TBR=dcheng@chromium.org Review URL: https://chromiumcodereview.appspot.com/10134018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133312 0039d316-1c4b-4281-b951-d872f2087c98
* Draw panels above their launcher icons.dcheng@chromium.org2012-04-212-2/+9
| | | | | | | | | | | Note that this patch doesn't handle dragging panels to rearrange them (if we want that at all) and panels with no launcher icon because they are in overflow. BUG=124115 TEST=aura_shell_unittests --gtest_filter=*Panel* --aura-panels Review URL: https://chromiumcodereview.appspot.com/10091017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133309 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Fix a crash on startup for ash-shell.sadrul@chromium.org2012-04-201-4/+4
| | | | | | | | | | | | It looks like the content-client is expected to be setup in BasicStartupComplete, and not in PreSandboxStartup. BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10162010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133263 0039d316-1c4b-4281-b951-d872f2087c98
* Move a lot of ChromeOS stuff out of Browser and onto various Ash-related ↵ben@chromium.org2012-04-202-2/+18
| | | | | | | | | | | helpers. BUG=none TEST=none TBR=davemoore Review URL: https://chromiumcodereview.appspot.com/10035061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133138 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 132856 - Aura/ash split: Remove hacks and get chrome linking without ash.erg@google.com2012-04-181-7/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | views_unittests failure on Linux Chromeos. For the first time now, you can do: > build/gyp_chromium -Duse_aura=1 -Duse_ash=0 And get a running chrome. It has lots of issues, especially related to window placement, tab handling, etc, but it pops up and renders web content. Also consolidates most of the desktop behavior into its own class. Also makes views_examples_exe work again. Several of the hacks are no longer needed after Ben's refactoring to support WebView. BUG=116458,119759 TEST=none Review URL: http://codereview.chromium.org/10081022 TBR=erg@chromium.org Review URL: https://chromiumcodereview.appspot.com/10083057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132864 0039d316-1c4b-4281-b951-d872f2087c98