summaryrefslogtreecommitdiffstats
path: root/ash
Commit message (Collapse)AuthorAgeFilesLines
* ash: Do not use deprecated ResourceBundle::GetBitmapNamed() function.tfarina@chromium.org2012-02-295-18/+20
| | | | | | | | | | | | Instead use the recommended ResourceBundle::GetImageNamed() function and convert it to the native type appropriately. BUG=58030 R=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/9516002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124269 0039d316-1c4b-4281-b951-d872f2087c98
* aura: Add support for smaller, lighter shadows.derat@chromium.org2012-02-295-14/+93
| | | | | | | | | | | | These are displayed behind tooltips and menus. BUG=115402 TEST=added a tiny test to check that we use the new shadow style; also manually checked that tooltips and menus get the small shadow but other windows get the larger active/inactive shadows TBR=ben@chromium.org Review URL: http://codereview.chromium.org/9508004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124255 0039d316-1c4b-4281-b951-d872f2087c98
* Removes scaling windows while dragigng.sky@chromium.org2012-02-293-72/+1
| | | | | | | | | | | BUG=116266 TEST=none R=ben@chromium.org Review URL: http://codereview.chromium.org/9537017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124237 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Use imperative verbs for Audio related methods.tfarina@chromium.org2012-02-293-15/+15
| | | | | | | | R=sadrul@chromium.org,sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/9508002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124221 0039d316-1c4b-4281-b951-d872f2087c98
* Convert a bunch of AuraTestBase users to AshTestBase.ben@chromium.org2012-02-2915-171/+134
| | | | | | | | http://crbug.com/112131 TEST=none Review URL: https://chromiumcodereview.appspot.com/9522012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124220 0039d316-1c4b-4281-b951-d872f2087c98
* ash uber tray: Show just the volume/brightness item when user presses ↵sadrul@chromium.org2012-02-295-24/+56
| | | | | | | | | | | | | appropriate keys. This CL implements SystemTrayItem::PopupDetailedView. This will be used for network details etc. too. BUG=110130,110131 TEST=none Review URL: https://chromiumcodereview.appspot.com/9539002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124213 0039d316-1c4b-4281-b951-d872f2087c98
* Hide the mouse cursor when it boots in ChromeOS.mukai@chromium.org2012-02-293-2/+20
| | | | | | | | | | | | | This is originally implemented in CrOS's platform/window-manager but ported here for Aura. BUG=111385 TEST=manually Review URL: http://codereview.chromium.org/9416091 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124207 0039d316-1c4b-4281-b951-d872f2087c98
* views: Tell SliderListener's how the slider value was changed.sadrul@chromium.org2012-02-292-2/+8
| | | | | | | | | BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/9533013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124199 0039d316-1c4b-4281-b951-d872f2087c98
* When locking the screen via Ctrl-Shift-L from wrench menu,pkotwicz@chromium.org2012-02-294-2/+133
| | | | | | | | | | | | login screen menus do not work, because wrench menu is not fully closed. Made Noop events always make it to inner loop in the nested_dispatcher such that the menu can fully close itself via noop event. Bug=113247 Testing=Manual Review URL: http://codereview.chromium.org/9381008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124127 0039d316-1c4b-4281-b951-d872f2087c98
* ash uber tray: Make it possible for the system to send notifications to the ↵sadrul@chromium.org2012-02-2913-20/+135
| | | | | | | | | | | | | | | tray. Volume/Brightness change notifications are sent from the system to the tray. This can be useful to update the tray items when something changes (either automatically, or by means other than the tray itself) BUG=110130,110131 TEST=none Review URL: https://chromiumcodereview.appspot.com/9522003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124091 0039d316-1c4b-4281-b951-d872f2087c98
* Gestures are now possible using touch events with any idstdresser@chromium.org2012-02-291-4/+6
| | | | | | | | | | | | | | | | Each gesture point stores a "point_id," which is used for state transitions in the GestureRecognizer. The point_ids are maintained such that the set of point_ids is always contiguous, from 0 to the number of current touches. A lower point_id indicates that a touch occurred first. BUG=113144 TEST=GestureRecognizerTest.* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=123989 Review URL: http://codereview.chromium.org/9452024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124071 0039d316-1c4b-4281-b951-d872f2087c98
* ash/wm: Put the remaining functions from window_util.h into wm namespace.tfarina@chromium.org2012-02-2815-51/+37
| | | | | | | | | BUG=115846 R=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/9501002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124055 0039d316-1c4b-4281-b951-d872f2087c98
* ash uber tray: Some adjustments after discussing with UX.sadrul@chromium.org2012-02-289-43/+100
| | | | | | | | | | | | | | | | * Add padding for the volume/brightness sliders. * Consolidate 'Settings' and 'Help' items into one. * Remove margin of the popup. * Move the trays in ash::internal namespace. * Hover effect on settings/help items. * Fix a crash when clicking on the status-view without closing the popup. BUG=110130 TEST=none Review URL: https://chromiumcodereview.appspot.com/9475041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124002 0039d316-1c4b-4281-b951-d872f2087c98
* Makes windows scale slightly when dragging the caption. Also wiredsky@chromium.org2012-02-288-17/+139
| | | | | | | | | | | | through reverting drag logic. BUG=none TEST=none R=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/9455063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123995 0039d316-1c4b-4281-b951-d872f2087c98
* Adds an animation for switching workspaces.sky@chromium.org2012-02-284-28/+193
| | | | | | | | | | BUG=none TEST=none R=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/9476022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123994 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 123984 for check_deps failure - When locking the screen via Ctrl-Shift-Lmattm@chromium.org2012-02-284-134/+2
| | | | | | | | | | | | | | | | | | | | from wrench menu, login screen menus do not work, because wrench menu is not fully closed. Made Noop events always make it to inner loop in the nested_dispatcher such that the menu can fully close itself via noop event. Bug=113247 Testing=Manual Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=123500 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=123669 Review URL: https://chromiumcodereview.appspot.com/9381008 TBR=pkotwicz@chromium.org Review URL: https://chromiumcodereview.appspot.com/9507001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123992 0039d316-1c4b-4281-b951-d872f2087c98
* When locking the screen via Ctrl-Shift-L from wrench menu,pkotwicz@chromium.org2012-02-284-2/+134
| | | | | | | | | | | | | | | | login screen menus do not work, because wrench menu is not fully closed. Made Noop events always make it to inner loop in the nested_dispatcher such that the menu can fully close itself via noop event. Bug=113247 Testing=Manual Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=123500 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=123669 Review URL: https://chromiumcodereview.appspot.com/9381008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123984 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes crash in closing window while in workspaces. The crash wassky@chromium.org2012-02-281-2/+2
| | | | | | | | | | | | | | | | | occuring because NativeWidgetAura was deleting the restore bounds but leaving them on the window so that when WorkspaceLayoutManager also deleted the restore bounds we crashed. I'm changing NativeWidgetAura to clear the property. Since obervers are passed the old value I'm also changing the code to use a scoped_ptr so that the old value hasn't been deleted when observers are notified. BUG=none TEST=none R=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/9479026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123980 0039d316-1c4b-4281-b951-d872f2087c98
* ash uber tray: Add a brightness controller.sadrul@chromium.org2012-02-279-7/+135
| | | | | | | | | | | | | The brightness controller shows up and you can drag the slider, but it doesn't actually work, because of apparent lack of appropriate libcros API. But that can be fixed separately. BUG=110130 TEST=none Review URL: https://chromiumcodereview.appspot.com/9481011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123818 0039d316-1c4b-4281-b951-d872f2087c98
* ash: A first step for the uber tray.sadrul@chromium.org2012-02-2718-0/+642
| | | | | | | | | | | | | | | | | As a first step, there are items to open settings, help pages, and an item to allow [un]muting volume. The resources have not been uploaded yet. That will be done in a separate CL to allow this one to go through trybots etc. This new uber-tray can be turned on at runtime using --ash-uber-tray flag. BUG=110130 TEST=none yet. will be added when a little more fleshed out. Review URL: https://chromiumcodereview.appspot.com/9463039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123799 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Remove extra parentheses on index calculation in ↵tfarina@chromium.org2012-02-271-2/+2
| | | | | | | | | | | LauncherModel::ItemIndexByID(). R=sky@chromium.org TEST=aura_shell_unittests --gtest_filter=LauncherModel* Review URL: https://chromiumcodereview.appspot.com/9463042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123752 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes component build.sky@chromium.org2012-02-271-1/+2
| | | | | | | | | | | R=zork@chromium.org TBR=zork@chromium.org BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/9477004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123742 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Fix chromeos build by adding missing wm:: for focus_cycler_unittest.cctfarina@chromium.org2012-02-271-9/+9
| | | | | | | | | | | This file was added after I sent my previous patch to trybots hence why it broke. BUG=115846 TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/9447101 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123731 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Start moving window_util.h functions into wm namespace.tfarina@chromium.org2012-02-2721-174/+178
| | | | | | | | | BUG=115846 R=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/9455085 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123730 0039d316-1c4b-4281-b951-d872f2087c98
* Add a unit test for the focus cycler.zork@chromium.org2012-02-274-2/+147
| | | | | | | | | | | BUG=None TEST=Run aura_shell_unittest Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=121685 Review URL: https://chromiumcodereview.appspot.com/9317027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123726 0039d316-1c4b-4281-b951-d872f2087c98
* Migrate client API setters/getters to take a RootWindow.ben@chromium.org2012-02-2610-14/+22
| | | | | | | | | http://crbug.com/112131 TEST=none TBR=sky Review URL: https://chromiumcodereview.appspot.com/9455081 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123690 0039d316-1c4b-4281-b951-d872f2087c98
* Remove a bunch more uses of RootWindow::GetInstance() ben@chromium.org2012-02-262-6/+7
| | | | | | | | http://crbug.com/112131 TEST=none Review URL: https://chromiumcodereview.appspot.com/9460025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123681 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 123673 - Remove a bunch more uses of RootWindow::GetInstance()ben@chromium.org2012-02-252-7/+6
| | | | | | | | | | | | http://crbug.com/112131 TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=123592 Review URL: https://chromiumcodereview.appspot.com/9460025 TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/9455080 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123679 0039d316-1c4b-4281-b951-d872f2087c98
* Attempt 4:sky@chromium.org2012-02-2513-123/+504
| | | | | | | | | | | | | | Makes managed mode constrain the height of windows so they don't overlap the launcher. BUG=115581 TEST=see bug, covered by unit tests too R=ben@chromium.org TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/9466032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123674 0039d316-1c4b-4281-b951-d872f2087c98
* Remove a bunch more uses of RootWindow::GetInstance()ben@chromium.org2012-02-252-6/+7
| | | | | | | | | http://crbug.com/112131 TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=123592 Review URL: https://chromiumcodereview.appspot.com/9460025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123673 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 123669 because it broke builds:sadrul@chromium.org2012-02-254-132/+2
| | | | | | | | | | | | | | | | | | | --- When locking the screen via Ctrl-Shift-L from wrench menu, login screen menus do not work, because wrench menu is not fully closed. Made Noop events always make it to inner loop in the nested_dispatcher such that the menu can fully close itself via noop event. Bug=113247 Testing=Manual Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=123500 Review URL: https://chromiumcodereview.appspot.com/9381008 TBR=pkotwicz@chromium.org Review URL: https://chromiumcodereview.appspot.com/9471001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123670 0039d316-1c4b-4281-b951-d872f2087c98
* When locking the screen via Ctrl-Shift-L from wrench menu,pkotwicz@chromium.org2012-02-254-2/+132
| | | | | | | | | | | | | | login screen menus do not work, because wrench menu is not fully closed. Made Noop events always make it to inner loop in the nested_dispatcher such that the menu can fully close itself via noop event. Bug=113247 Testing=Manual Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=123500 Review URL: https://chromiumcodereview.appspot.com/9381008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123669 0039d316-1c4b-4281-b951-d872f2087c98
* Remove RootWindow::Run(). This removes one reason people will call ↵ben@chromium.org2012-02-251-1/+2
| | | | | | | | | | | | RootWindow::GetInstance(). http://crbug.com/112131 TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=123593 Review URL: http://codereview.chromium.org/9466029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123629 0039d316-1c4b-4281-b951-d872f2087c98
* Set minimize property and re-enable tests on Aurastevenjb@chromium.org2012-02-251-0/+12
| | | | | | | | | | | | | | | Currently we disable several important tests on Aura because Minimize() is unimplemented. Most significant is ExtensionApiTest.UpdateWindowResize and ExtensionApiTest.UpdateWindowState, which test a lot of the chrome.windows api. Setting the minimized property but not doing anything satisfies the tests with minimal change, until we determine what the expected minimize behavior is on Aura, and how this affects the extensions API. BUG=104571 TEST=Tests pass (esp. browser_tests) Review URL: http://codereview.chromium.org/9372126 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123622 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 123592 - Remove a bunch more uses of RootWindow::GetInstance()ben@chromium.org2012-02-252-7/+6
| | | | | | | | | | | http://crbug.com/112131 TEST=none Review URL: https://chromiumcodereview.appspot.com/9460025 TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/9464038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123615 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 123603 - Attempt 3: Makes managed mode constrain the height of ↵sky@chromium.org2012-02-2513-504/+123
| | | | | | | | | | | | | | | | windows so they don't overlap the launcher. BUG=115581 TEST=see bug, covered by unit tests too Review URL: https://chromiumcodereview.appspot.com/9467021 TBR=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/9467024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123612 0039d316-1c4b-4281-b951-d872f2087c98
* Attempt 3: Makes managed mode constrain the height of windows so they don'tsky@chromium.org2012-02-2513-123/+504
| | | | | | | | | | | overlap the launcher. BUG=115581 TEST=see bug, covered by unit tests too Review URL: https://chromiumcodereview.appspot.com/9467021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123603 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 123593 - Remove RootWindow::Run(). This removes one reason people ↵ben@chromium.org2012-02-251-2/+1
| | | | | | | | | | | | | will call RootWindow::GetInstance(). http://crbug.com/112131 TEST=none Review URL: https://chromiumcodereview.appspot.com/9466029 TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/9447080 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123594 0039d316-1c4b-4281-b951-d872f2087c98
* Remove RootWindow::Run(). This removes one reason people will call ↵ben@chromium.org2012-02-241-1/+2
| | | | | | | | | | RootWindow::GetInstance(). http://crbug.com/112131 TEST=none Review URL: https://chromiumcodereview.appspot.com/9466029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123593 0039d316-1c4b-4281-b951-d872f2087c98
* Remove a bunch more uses of RootWindow::GetInstance()ben@chromium.org2012-02-242-6/+7
| | | | | | | | http://crbug.com/112131 TEST=none Review URL: https://chromiumcodereview.appspot.com/9460025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123592 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes crash in ash_shell from not setting WIndowWatcher onsky@chromium.org2012-02-242-17/+18
| | | | | | | | | | | | delegate. Also centralize call to AlignRectToGrid. BUG=none TEST=none R=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/9460013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123578 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 123553 - Attempt 2 at: Makes managed mode constrain the height of ↵sky@chromium.org2012-02-2413-504/+123
| | | | | | | | | | | | | | | | | windows so they don't overlap the launcher. BUG=115581 TEST=see bug, covered by unit tests too TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/9455068 TBR=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/9447074 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123566 0039d316-1c4b-4281-b951-d872f2087c98
* Attempt 2 at: Makes managed mode constrain the height of windows so they don'tsky@chromium.org2012-02-2413-123/+504
| | | | | | | | | | | | overlap the launcher. BUG=115581 TEST=see bug, covered by unit tests too TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/9455068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123553 0039d316-1c4b-4281-b951-d872f2087c98
* Aura: Remove dynamic switching into and out of compact modejamescook@chromium.org2012-02-248-253/+132
| | | | | | | | | | | | Going forward we'll select compact mode based on command line flags passed by the session manager. Compact mode should go away entirely when Aura is more mature, so we don't need to maintain the ability to switch modes. This patch simplifies the Shell setup code and updates the Shell unit tests to match. BUG=115314 TEST=aura_shell_unittests, specifically Shell* Review URL: http://codereview.chromium.org/9452028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123532 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 123518 - Makes managed mode constrain the height of windows so they don'tsky@chromium.org2012-02-2413-503/+123
| | | | | | | | | | | | | | | overlap the launcher. BUG=115581 TEST=see bug, covered by unit tests too R=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/9443045 TBR=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/9467012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123522 0039d316-1c4b-4281-b951-d872f2087c98
* Makes managed mode constrain the height of windows so they don'tsky@chromium.org2012-02-2413-123/+503
| | | | | | | | | | | | overlap the launcher. BUG=115581 TEST=see bug, covered by unit tests too R=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/9443045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123518 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 123500 - When locking the screen via Ctrl-Shift-L from wrench menu,pkotwicz@chromium.org2012-02-244-133/+2
| | | | | | | | | | | | | | | login screen menus do not work, because wrench menu is not fully closed. Made Noop events always make it to inner loop in the nested_dispatcher such that the menu can fully close itself via noop event. Bug=113247 Testing=Manual Review URL: https://chromiumcodereview.appspot.com/9381008 TBR=pkotwicz@chromium.org Review URL: https://chromiumcodereview.appspot.com/9460011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123511 0039d316-1c4b-4281-b951-d872f2087c98
* When locking the screen via Ctrl-Shift-L from wrench menu,pkotwicz@chromium.org2012-02-244-2/+133
| | | | | | | | | | | | login screen menus do not work, because wrench menu is not fully closed. Made Noop events always make it to inner loop in the nested_dispatcher such that the menu can fully close itself via noop event. Bug=113247 Testing=Manual Review URL: https://chromiumcodereview.appspot.com/9381008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123500 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Use gestures to move/resize the window, instead of touch.sadrul@chromium.org2012-02-242-32/+33
| | | | | | | | | | BUG=none TEST=covered by existing tests (e.g. ToplevelWindowEventFilterTest.Caption) Review URL: https://chromiumcodereview.appspot.com/9442024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123382 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Fix bug where small shadows were drawn incorrectly.derat@chromium.org2012-02-232-40/+46
| | | | | | | | | | | | | | | | | | | ImageGrid was calling Layer::ScheduleDraw() instead of Layer::SchedulePaint(). ScheduleDraw() queues a traversal of the layer tree by the compositor but doesn't invalidate the layer, so images weren't getting redrawn when they needed to be clipped. There's still a separate small-shadow-related issue remaining, but I'll fix it in a separate change. BUG=115402 TEST=manual: shadows on tooltips and small browser windows are less broken Review URL: http://codereview.chromium.org/9447024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123360 0039d316-1c4b-4281-b951-d872f2087c98