summaryrefslogtreecommitdiffstats
path: root/ash/ash.gyp
Commit message (Collapse)AuthorAgeFilesLines
* Merge native_theme resources into ui_resources_standardoshima@chromium.org2012-05-261-4/+0
| | | | | | | | | BUG=124566 TEST=none Review URL: https://chromiumcodereview.appspot.com/10447003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139178 0039d316-1c4b-4281-b951-d872f2087c98
* Reland 138212zork@chromium.org2012-05-241-0/+2
| | | | | | | | | | | | | | | | | Implement High Contrast mode for Chrome OS. -Add controller to ash for managing the state of High Contrast mode -Add API to shell to allow Chromium to turn the mode on and off -Add the option to the Chromium OS accessibility settings page. -Add functions to layer.cc/h to enable an inversion filter. TBR=sky@chromium.org,jhawkins@chromium.org BUG=chromium-os:30678 Review URL: https://chromiumcodereview.appspot.com/10408085 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138771 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 138212 - Implement High Contrast mode for Chrome OS.steveblock@chromium.org2012-05-221-2/+0
| | | | | | | | | | | | | | | | | | | | | | | -Add controller to ash for managing the state of High Contrast mode -Add API to shell to allow Chromium to turn the mode on and off -Add the option to the Chromium OS accessibility settings page. -Add functions to layer.cc/h to enable an inversion filter. This change breaks the build on the Windows canaries after WebKit r117864 due to a change in the the Chromium WebFilterOperation API. See http://build.chromium.org/p/chromium.webkit/builders/Win%20Builder/builds/22082 and https://bugs.webkit.org/show_bug.cgi?id=87046. BUG=chromium-os:30678 Review URL: https://chromiumcodereview.appspot.com/10201014 TBR=zork@chromium.org Review URL: https://chromiumcodereview.appspot.com/10407089 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138239 0039d316-1c4b-4281-b951-d872f2087c98
* Implement High Contrast mode for Chrome OS.zork@chromium.org2012-05-221-0/+2
| | | | | | | | | | | | | -Add controller to ash for managing the state of High Contrast mode -Add API to shell to allow Chromium to turn the mode on and off -Add the option to the Chromium OS accessibility settings page. -Add functions to layer.cc/h to enable an inversion filter. BUG=chromium-os:30678 Review URL: https://chromiumcodereview.appspot.com/10201014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138212 0039d316-1c4b-4281-b951-d872f2087c98
* Add TrayLocale for locale change notifications.stevenjb@google.com2012-05-171-0/+2
| | | | | | | | | | TBR=ben for ash/ string changes BUG=124726 TEST=On a device wuth ash-notify enabled in about:flags, change the locale and re-login. Notification should appear. Revert should revert the change after re-login. If ignored, the notification should appear again after re-login. Closing the notification should clear it. Review URL: https://chromiumcodereview.appspot.com/10391177 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137700 0039d316-1c4b-4281-b951-d872f2087c98
* Add TraySms for SMS messages.stevenjb@google.com2012-05-171-0/+2
| | | | | | | | | | BUG=124724 TEST=Test SMS messages running Chrome with --aura-notify TBR=ben for ash strings Review URL: https://chromiumcodereview.appspot.com/10332152 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137671 0039d316-1c4b-4281-b951-d872f2087c98
* Let Chrome app handle Ash accelerators first if the app is launched as a window.yusukes@chromium.org2012-05-171-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, Ash accelerators are handled at a very early stage, right after a native key event is received by aura::RootWindowHost. This CL change the way of handling Ash accelerators as follows to make it more App friendly: 1. If no window is focused, handle an Ash accelerator immediately in ash/accelerators/accelerator_filter.cc in the same way as before. 2. Otherwise, do not handle it in ash/accelerators/accelerator_filter.cc but let a custom views::FocusManager handle it (see ash/shell.cc). There are 3 types of scenarios here depending on the type of the focused window: 2-a. If the focused window is a browser, and the browser is not for an app, let the custom focus manager pre-handle Ash accelerators before passing it to the browser (see PreHandleKeyboardEvent() in chrome/browser/ui/views/frame/browser_view.cc). 2-b. If the focused window is a browser, and the browser is for an app, let the app handle Ash accelerators first (see chrome/browser/ui/views/frame/browser_view.cc). If the accelerator is not consumed by the app, let the custom focus manager handle it. 2-c. If the focused window is not a browser, let the window handle Ash accelerators first. If the accelerator is not consumed by the window, then let the custom focus manager handle it. This means a WebView without the chrome/browser/ui/ layer can handle Ash accelerators first whenever needed. Other changes: chrome/browser/ui/views/frame/browser_view.cc: Support ET_KEY_RELEASED accelerators in BrowserView::PreHandleKeyboardEvent(). ui/views/focus/focus_manager.cc: Support ET_KEY_RELEASED accelerators. Also fix code for handing VKEY_MENU so that the Shift+Alt+ET_KEY_RELEASED accelerator for Ash could be handled correctly. This CL depends on http://codereview.chromium.org/10377158/ (by jochen), https://chromiumcodereview.appspot.com/10388023, http://codereview.chromium.org/10389035/, and https://chromiumcodereview.appspot.com/10332051/, and should not be submitted until the 4 CLs are landed. BUG=123856 TEST=ran aura_shell_unittests TEST=manual; launch Chromoting app as a window, connect to a Chromoting server, focus Chrome on the remote machine, press Ctrl-n, confirm a new window is opened on the remote machine. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=135791 Review URL: https://chromiumcodereview.appspot.com/10134036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137629 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Add a heads-up display to track touch-point states and positions.sadrul@chromium.org2012-05-171-0/+2
| | | | | | | | | | | | | | The command-line flag to turn on the HUD is --ash-touch-hud. It can also be turned on from about:flags BUG=none TEST=manually Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=137549 Review URL: https://chromiumcodereview.appspot.com/10386178 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137605 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 137549 because it broke win_aura and linux_chromeos_clang compile.sadrul@chromium.org2012-05-161-2/+0
| | | | | | | | | | | | | | | | | | --- ash: Add a heads-up display to track touch-point states and positions. The command-line flag to turn on the HUD is --ash-touch-hud. It can also be turned on from about:flags BUG=none TEST=manually Review URL: https://chromiumcodereview.appspot.com/10386178 TBR=sadrul@chromium.org Review URL: https://chromiumcodereview.appspot.com/10383223 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137551 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Add a heads-up display to track touch-point states and positions.sadrul@chromium.org2012-05-161-0/+2
| | | | | | | | | | | | The command-line flag to turn on the HUD is --ash-touch-hud. It can also be turned on from about:flags BUG=none TEST=manually Review URL: https://chromiumcodereview.appspot.com/10386178 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137549 0039d316-1c4b-4281-b951-d872f2087c98
* Move ui/gfx/resources to ui/base/native_theme/resourcesoshima@chromium.org2012-05-161-4/+4
| | | | | | | | | | | | | | | | Step2. - Move ui/gfx/gfx_resources.grd to ui/base/native_theme/native_theme_resources.grd -Updated gyp/DEPS/py files to use new target. -Removed old files. I had to keep the gfx_resources.pak as DumpRendererTree depends on it. I'll update DumpRendererTree first and then remove copy of gfx_resources.pak. BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10377155 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137527 0039d316-1c4b-4281-b951-d872f2087c98
* aura/ash split: Moves RootWindowEventFilter and InputMethodEventFilter to ↵erg@google.com2012-05-151-5/+0
| | | | | | | | | | | | | | | | | | | ui/aura/. All of InputMethodEventFilter and more than half of RootWindowEventFilter were copied verbatim to a DesktopRootWindowEventFilter. Instead of copying the other half for another patch, I'm just moving RWEF and deleting the desktop version. (InputMethodEventFilterUnittest was simple enough to move with the file, but RootWindowEventFilter seems to act more like an integraiton test of a lot of the stuff on Shell.) BUG=125106 Review URL: https://chromiumcodereview.appspot.com/10332145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137175 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Make sure all the sub-popups retain the same height as the main popup.sadrul@chromium.org2012-05-151-0/+2
| | | | | | | | | | | | | | This required a few smaller changes: * Refactor some code for creating the detailed view. * Change the layout code for the new layout in the mocks. * Add a way for re-using an existing bubble instead of creating a new one. BUG=127430 TEST=aura_shell_unittests.BubbleCreationTypesTest Review URL: https://chromiumcodereview.appspot.com/10384178 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137149 0039d316-1c4b-4281-b951-d872f2087c98
* Adds the option of aligning the launcher to the left or right. Theresky@chromium.org2012-05-101-0/+2
| | | | | | | | | | | | | is a ton of rough edges after this patch, but I don't want this patch to get any bigger. BUG=121962 TEST=covered by tests. R=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/10388036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136312 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor HandleWindowCycleLinear code in AcceleratorController:mukai@chromium.org2012-05-101-0/+3
| | | | | | | | | | | | - Introduce launcher/launcher_navigator files for this code - Add tests for the logic of launcher_navigator BUG=119424 TEST=aura_shell_unittests passed Review URL: https://chromiumcodereview.appspot.com/10377064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136215 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Separate out SystemTrayBubble and related classes into a new file.sadrul@chromium.org2012-05-091-0/+2
| | | | | | | | | BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10378070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136156 0039d316-1c4b-4281-b951-d872f2087c98
* Move app list from ash to ui.xiyuan@chromium.org2012-05-091-26/+4
| | | | | | | | | | 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
* Revert 135791 - Let Chrome app handle Ash accelerators first if the app is ↵yusukes@google.com2012-05-091-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | launched as a window. Currently, Ash accelerators are handled at a very early stage, right after a native key event is received by aura::RootWindowHost. This CL change the way of handling Ash accelerators as follows to make it more App friendly: 1. If no window is focused, handle an Ash accelerator in ash/accelerators/accelerator_filter.cc in the same way as before. 2. Otherwise, do not handle it in ash/accelerators/accelerator_filter.cc but let a custom views::FocusManager handle it (see ash/shell.cc). There are 3 types of scenarios here depending on the type of the focused window: 2-a. If the focused window is a browser, and the browser is not for an app, let the custom focus manager pre-handle Ash accelerators before passing it to the browser (see PreHandleKeyboardEvent() in chrome/browser/ui/views/frame/browser_view.cc). 2-b. If the focused window is a browser, and the browser is for an app, let the app handle Ash accelerators first (see chrome/browser/ui/views/frame/browser_view.cc). If the accelerator is not consumed by the app, let the custom focus manager handle it. 2-c. If the focused window is not a browser, let the window handle Ash accelerators first. If the accelerator is not consumed by the window, then let the custom focus manager handle it. This means a WebView (without chrome/browser/ layer) can handle Ash accelerators first whenever needed. Other changes: chrome/browser/ui/views/frame/browser_view.cc: Support ET_KEY_RELEASED accelerators in BrowserView::PreHandleKeyboardEvent(). ui/views/focus/focus_manager.cc: Support ET_KEY_RELEASED accelerators. Also fix code for handing VKEY_MENU so that the Shift+Alt+ET_KEY_RELEASED accelerator for Ash could be handled correctly. BUG=123856 TEST=ran aura_shell_unittests TEST=manual; launch Chromoting app as a window, connect to a Chromoting server, focus Chrome on the remote machine, press Ctrl-n, confirm a new window is opened on the remote machine. Review URL: https://chromiumcodereview.appspot.com/10134036 TBR=yusukes@google.com Review URL: https://chromiumcodereview.appspot.com/10384074 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135978 0039d316-1c4b-4281-b951-d872f2087c98
* Let Chrome app handle Ash accelerators first if the app is launched as a window.yusukes@google.com2012-05-081-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | Currently, Ash accelerators are handled at a very early stage, right after a native key event is received by aura::RootWindowHost. This CL change the way of handling Ash accelerators as follows to make it more App friendly: 1. If no window is focused, handle an Ash accelerator in ash/accelerators/accelerator_filter.cc in the same way as before. 2. Otherwise, do not handle it in ash/accelerators/accelerator_filter.cc but let a custom views::FocusManager handle it (see ash/shell.cc). There are 3 types of scenarios here depending on the type of the focused window: 2-a. If the focused window is a browser, and the browser is not for an app, let the custom focus manager pre-handle Ash accelerators before passing it to the browser (see PreHandleKeyboardEvent() in chrome/browser/ui/views/frame/browser_view.cc). 2-b. If the focused window is a browser, and the browser is for an app, let the app handle Ash accelerators first (see chrome/browser/ui/views/frame/browser_view.cc). If the accelerator is not consumed by the app, let the custom focus manager handle it. 2-c. If the focused window is not a browser, let the window handle Ash accelerators first. If the accelerator is not consumed by the window, then let the custom focus manager handle it. This means a WebView (without chrome/browser/ layer) can handle Ash accelerators first whenever needed. Other changes: chrome/browser/ui/views/frame/browser_view.cc: Support ET_KEY_RELEASED accelerators in BrowserView::PreHandleKeyboardEvent(). ui/views/focus/focus_manager.cc: Support ET_KEY_RELEASED accelerators. Also fix code for handing VKEY_MENU so that the Shift+Alt+ET_KEY_RELEASED accelerator for Ash could be handled correctly. BUG=123856 TEST=ran aura_shell_unittests TEST=manual; launch Chromoting app as a window, connect to a Chromoting server, focus Chrome on the remote machine, press Ctrl-n, confirm a new window is opened on the remote machine. Review URL: https://chromiumcodereview.appspot.com/10134036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135791 0039d316-1c4b-4281-b951-d872f2087c98
* ash: First pass of Applist v2.xiyuan@chromium.org2012-05-071-0/+7
| | | | | | | | | | | | | | - Add an "enable-applist-v2" command line switch and an about flag to trigger v2; - Add paging support to AppListModelView; - Add page switcher buttons for v2 UI; - Add AppListBubbleBorder to paint bubble for v2 UI; BUG=125964, 125044 TEST=Issue 125964 is not ready for test yet. For issue 125044, user can now gets overflown apps via keyboard. Review URL: https://chromiumcodereview.appspot.com/10381018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135729 0039d316-1c4b-4281-b951-d872f2087c98
* Add unit tests for SystemTray (Take 3)stevenjb@chromium.org2012-05-071-0/+1
| | | | | | | | | | | | | | | | +remove NON_EXPORTED_BASE from SystemTray, add ASH_EXPORT to ActionableView. BUG=none TEST=aura_shell_unittests --gtest_filter=SystemTray* TBR=sky (for ash gyp owner) Original Review URL: https://chromiumcodereview.appspot.com/10357006 Review URL: http://codereview.chromium.org/10380023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135715 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 135566 - Add unit tests for SystemTraystevenjb@google.com2012-05-051-1/+0
| | | | | | | | | | | | | | | | | | +remove NON_EXPORTED_BASE from SystemTray BUG=none TEST=aura_shell_unittests --gtest_filter=SystemTray* TBR=sadrul,sky Original Review URL: https://chromiumcodereview.appspot.com/10357006 Review URL: http://codereview.chromium.org/10356031 TBR=stevenjb@chromium.org Review URL: https://chromiumcodereview.appspot.com/10377029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135571 0039d316-1c4b-4281-b951-d872f2087c98
* Add unit tests for SystemTraystevenjb@chromium.org2012-05-051-0/+1
| | | | | | | | | | | | | | | +remove NON_EXPORTED_BASE from SystemTray BUG=none TEST=aura_shell_unittests --gtest_filter=SystemTray* TBR=sadrul,sky Original Review URL: https://chromiumcodereview.appspot.com/10357006 Review URL: http://codereview.chromium.org/10356031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135566 0039d316-1c4b-4281-b951-d872f2087c98
* ui: Move compositor/ directory out of gfx/, up to ui/.tfarina@chromium.org2012-05-051-5/+5
| | | | | | | | | | 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
* Revert 135488 - Add unit tests for SystemTraygene@chromium.org2012-05-051-1/+0
| | | | | | | | | | | | BUG=none TEST=aura_shell_unittests --gtest_filter=SystemTray* Review URL: https://chromiumcodereview.appspot.com/10357006 TBR=stevenjb@google.com Review URL: https://chromiumcodereview.appspot.com/10356029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135492 0039d316-1c4b-4281-b951-d872f2087c98
* Add unit tests for SystemTraystevenjb@google.com2012-05-041-0/+1
| | | | | | | | | BUG=none TEST=aura_shell_unittests --gtest_filter=SystemTray* Review URL: https://chromiumcodereview.appspot.com/10357006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135488 0039d316-1c4b-4281-b951-d872f2087c98
* Re-implement the screensaver to use WebView instead of ExtensionDialogHost.rkc@chromium.org2012-05-041-0/+10
| | | | | | | | | | | | | 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-041-10/+0
| | | | | | | | | | | | | | | | | 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-041-0/+10
| | | | | | | | | | | | | 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
* Revert 135000 - Re-implement the screensaver to use WebView instead of ↵rkc@chromium.org2012-05-021-9/+0
| | | | | | | | | | | | | | | | | | 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-021-0/+9
| | | | | | | | | | | | | 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-021-9/+0
| | | | | | | | | | | | | | 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-021-0/+9
| | | | | | | | | | | | | | 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-021-9/+0
| | | | | | | | | | | | | | | | | | 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-021-0/+9
| | | | | | | | | | | | | 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
* Add a test which detects duplicate entries in ash::kAcceleratorData[].yusukes@chromium.org2012-05-021-0/+1
| | | | | | | | | | | This is Ash version of chrome/browser/ui/views/accelerator_table_unittest.cc. BUG=123856 TEST=ran the new test Review URL: http://codereview.chromium.org/10261024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134875 0039d316-1c4b-4281-b951-d872f2087c98
* Created uber tray UI for monitoring ongoing WebDrive sync operationszelidrag@chromium.org2012-05-021-0/+4
| | | | | | | | | | | BUG=chromium-os:30075 TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=134774 Review URL: https://chromiumcodereview.appspot.com/10214013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134844 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 134774 because of win aura compile and chromium os browser_test ↵kkania@chromium.org2012-05-011-4/+0
| | | | | | | | | | | | | | crashes - Created uber tray UI for monitoring ongoing WebDrive sync operations BUG=chromium-os:30075 TEST=none Review URL: https://chromiumcodereview.appspot.com/10214013 TBR=zelidrag@chromium.org Review URL: https://chromiumcodereview.appspot.com/10285002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134778 0039d316-1c4b-4281-b951-d872f2087c98
* Created uber tray UI for monitoring ongoing WebDrive sync operationszelidrag@chromium.org2012-05-011-0/+4
| | | | | | | | | BUG=chromium-os:30075 TEST=none Review URL: https://chromiumcodereview.appspot.com/10214013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134774 0039d316-1c4b-4281-b951-d872f2087c98
* chromeos: Add support for dimming the screen.derat@chromium.org2012-04-301-0/+3
| | | | | | | | | | | | | | | This makes Chrome listen for messages from the power manager asking it to dim or undim the screen. We'll use this on desktop devices with external displays to dim the screen just before blanking it when the user is idle. BUG=125176 TEST=added, also did manual testing with powerd changes Review URL: http://codereview.chromium.org/10263011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134638 0039d316-1c4b-4281-b951-d872f2087c98
* This change makes Aura/Views to use DIP, while keeping layer to use Pixels. ↵oshima@chromium.org2012-04-271-0/+1
| | | | | | | | | | | | | This allow chrome/ash to run on high density screen in High Density Incompatible mode (everything scaled to 2x), except for web contents. I put this behind ENABLE_DIP to avoid regression. I'll make it runtime flag next week when we get render working. BUG=114666 TEST=manual: run with --aura-host-window-size=1000x800*2. Review URL: https://chromiumcodereview.appspot.com/10081011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134391 0039d316-1c4b-4281-b951-d872f2087c98
* Makes window modal windows work correctly if shown from a mousesky@chromium.org2012-04-271-0/+2
| | | | | | | | | | | | | | | down. We were never releasing the capture, so the modal window never got any mouse events. I didn't use ScopedObserver for this one as I'm going to merge this to m19. BUG=125361 TEST=covered by unit tests R=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/10170036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134379 0039d316-1c4b-4281-b951-d872f2087c98
* Cleans up a couple of places that were installing WindowObservers butsky@chromium.org2012-04-271-0/+1
| | | | | | | | | | | | | | | never removing them. This is problematic as it is possible for a Window to be destroyed after the shell. ScopedObserver is pretty generic, but I'll leave it here for now. BUG=124860 TEST=covered by unit test R=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/10206027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134287 0039d316-1c4b-4281-b951-d872f2087c98
* Implements the graphics layer of the screen magnifier. yoshiki@chromium.org2012-04-261-0/+2
| | | | | | | | | | | | This patch contains only the graphics layer. The control layer will be on another patch. BUG=chromium-os:26713 TEST=manual Review URL: http://codereview.chromium.org/9950082 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134066 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 133691 because it accidentally reverted revs 133686 and 133684.sadrul@chromium.org2012-04-241-2/+2
| | | | | | | TBR=sadrul@chromium.org Review URL: https://chromiumcodereview.appspot.com/10202012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133699 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Some code-cleanup in the system-tray code.sadrul@chromium.org2012-04-241-2/+2
| | | | | | | | | | | Move the remaining status-area code into system-tray. BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10140017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133691 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Some code-cleanup in the system-tray code.sadrul@chromium.org2012-04-241-2/+2
| | | | | | | | | | | Move the remaining status-area code into system-tray. BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10140017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133686 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Fix launcher icon overlaps with status.xiyuan@chromium.org2012-04-241-1/+3
| | | | | | | | | | | | | | - Make LauncherView::CalculateIdealBounds to return last visible index; - In LauncherView::LauncherItemAdded, use the last visible index to determine if we need the animation; BUG=122482 TEST=Verify fix for issue 122482. Review URL: http://codereview.chromium.org/10068027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133603 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Animate changes in the uber tray.sadrul@chromium.org2012-04-231-0/+2
| | | | | | | | | | | | | Specifically, animate when a view in the tray hides/shows itself. For now, the tray does not animate when the size of a view changes (e.g. date-view changes size because it's 10:00). BUG=117209 TEST=none Review URL: https://chromiumcodereview.appspot.com/9969068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133526 0039d316-1c4b-4281-b951-d872f2087c98
* Implement LauncherIconObserver.dcheng@chromium.org2012-04-201-0/+4
| | | | | | | | | | | | | This will be used to listen for changes in the launcher view so that panels can be correctly drawn over the corresponding launcher icon. BUG=124115 TEST=aura_shell_unittests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=133089 Review URL: https://chromiumcodereview.appspot.com/10116011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133120 0039d316-1c4b-4281-b951-d872f2087c98