summaryrefslogtreecommitdiffstats
path: root/ui
Commit message (Collapse)AuthorAgeFilesLines
* Add custom cursors for 1x and 2xoshima@chromium.org2012-05-224-2/+28
| | | | | | | | | | | | new cursor resource for xterm (ibeam) TBR=sky@chromium.org BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10392193 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138227 0039d316-1c4b-4281-b951-d872f2087c98
* Remove virtual keyboard support:yusukes@google.com2012-05-221-1/+0
| | | | | | | | | | | | | | | | | 1. common.gypi: use_virtual_keyboard define 2. Any code controlled by that define 3. chrome/browser/ui/virtual_keyboard/* 4. chrome/browser/resources/keyboard/* 5. experimental extension APIs for virtual keyboard No user-visible changes. BUG=128295 TEST=try Review URL: https://chromiumcodereview.appspot.com/10399046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138223 0039d316-1c4b-4281-b951-d872f2087c98
* ash: New assets for uber-tray.sadrul@chromium.org2012-05-2218-10/+10
| | | | | | | | | | TBR=ben@chromium.org BUG=127430 TEST=none Review URL: https://chromiumcodereview.appspot.com/10414041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138222 0039d316-1c4b-4281-b951-d872f2087c98
* Implement High Contrast mode for Chrome OS.zork@chromium.org2012-05-222-2/+20
| | | | | | | | | | | | | -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 support for new WebKit::WebFilterOperation construction API behind ifdefjamesr@chromium.org2012-05-221-1/+6
| | | | | | | | | | | | Chromium-side patch for API change in https://bugs.webkit.org/show_bug.cgi?id=87046. After the WebKit patch lands and rolls, I'll remove the #ifdef and the old branch. BUG=none TEST=compiles Review URL: https://chromiumcodereview.appspot.com/10414030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138190 0039d316-1c4b-4281-b951-d872f2087c98
* aura: Fix the sythentic mouse-event location.sadrul@chromium.org2012-05-211-2/+7
| | | | | | | | | | | | | | The synthetic mouse event is generated at the last mouse DIP-location. But this event gets transformed for DIP again before it gets dispatched. This ends up sending the event with incorrect location. So make sure it starts off with the pixel-location so that the event location gets transformed for DIP only once. BUG=128095 TEST=none Review URL: https://chromiumcodereview.appspot.com/10408037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138104 0039d316-1c4b-4281-b951-d872f2087c98
* Change SetImage, SetBackground, and SetToggledImage to take in a gfx::ImageSkiapkotwicz@chromium.org2012-05-219-48/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The files were changed using the following sed script 1 :top 2 /SetImage/ { 3 s|ToSkBitmap|ToImageSkia|g 4 s|GetBitmapNamed|GetImageSkiaNamed|g 5 n 6 N 7 s|ToSkBitmap|ToImageSkia|g 8 s|GetBitmapNamed|GetImageSkiaNamed|g 9 b top 10 } 11 /SetBackground/ { 12 s|ToSkBitmap|ToImageSkia|g 13 s|GetBitmapNamed|GetImageSkiaNamed|g 14 n 15 N 16 s|ToSkBitmap|ToImageSkia|g 17 s|GetBitmapNamed|GetImageSkiaNamed|g 18 b top 19 } 20 /SetToggledImage/ { 21 s|ToSkBitmap|ToImageSkia|g 22 s|GetBitmapNamed|GetImageSkiaNamed|g 23 n 24 N 25 s|ToSkBitmap|ToImageSkia|g 26 s|GetBitmapNamed|GetImageSkiaNamed|g 27 b top 28 } The following files were modified by hand afterwards: 1 ash/launcher/launcher_button.cc 2 ash/system/audio/tray_volume.cc 3 ash/system/drive/tray_drive.cc 4 ash/system/tray/system_tray_delegate.h 5 ash/system/tray/tray_item_more.cc 6 ash/system/tray/tray_item_more.h 7 chrome/browser/chromeos/login/take_photo_view.cc 8 chrome/browser/chromeos/login/take_photo_view.h 9 chrome/browser/chromeos/options/network_config_view.cc 10 chrome/browser/chromeos/options/network_config_view.h 11 chrome/browser/ui/panels/panel_browser_frame_view.cc 12 chrome/browser/ui/views/autocomplete/autocomplete_result_view.cc 13 chrome/browser/ui/views/autocomplete/autocomplete_result_view.h 14 chrome/browser/ui/views/avatar_menu_bubble_view.cc 15 chrome/browser/ui/views/chrome_to_mobile_bubble_view.cc 16 chrome/browser/ui/views/confirm_bubble_view.cc 17 chrome/browser/ui/views/download/download_shelf_view.cc 18 chrome/browser/ui/views/download/download_started_animation_views.cc 19 chrome/browser/ui/views/dropdown_bar_view.cc 20 chrome/browser/ui/views/dropdown_bar_view.h 21 chrome/browser/ui/views/find_bar_view.cc 22 chrome/browser/ui/views/frame/opaque_browser_frame_view.cc 23 chrome/browser/ui/views/hung_renderer_view.cc 24 chrome/browser/ui/views/location_bar/page_action_image_view.cc 25 chrome/browser/ui/views/tabs/tab_strip.cc 26 chrome/browser/ui/views/tabs/tab_strip.h 27 ui/views/controls/button/image_button.h 28 ui/views/controls/button/image_button_unittest.cc 29 ui/views/controls/scrollbar/bitmap_scroll_bar.cc 30 ui/views/controls/scrollbar/bitmap_scroll_bar.h Whitespace changes were made in the following files manually 1 ash/launcher/launcher_view.cc 2 chrome/browser/chromeos/login/simple_web_view_dialog.cc 3 chrome/browser/ui/views/location_bar/chrome_to_mobile_view.cc 4 chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc 5 chrome/browser/ui/views/toolbar_view.cc Bug=124566 Test=Compiles, try bots pass Review URL: https://chromiumcodereview.appspot.com/10382144 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138072 0039d316-1c4b-4281-b951-d872f2087c98
* Support both old and new valuator formats for times and flings.davemoore@chromium.org2012-05-201-19/+82
| | | | | | | | | BUG=None TEST=None Review URL: https://chromiumcodereview.appspot.com/10375029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138067 0039d316-1c4b-4281-b951-d872f2087c98
* Convert GdkPixbufFromSkBitmap(const SkBitmap*) to ↵pkotwicz@chromium.org2012-05-204-15/+14
| | | | | | | | | | | | | GdkPixbufFromSkBitmap(const SkBitmap&) Convert GdkPixbufToSkBitmap to GdkPixbufToImageSkia BUG=124566 TEST=Compiles Review URL: https://chromiumcodereview.appspot.com/10377122 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138064 0039d316-1c4b-4281-b951-d872f2087c98
* ui/base/models: Remove unnecessary virtuals from ListModel functions.tfarina@chromium.org2012-05-201-11/+11
| | | | | | | | | | | | | ListModel is intended to be used as composition not inheritance, so it's unlikely these functions will be needed to be overridden, and they aren't until now, so let's not make them virtual for now. R=xiyuan@chromium.org TBR=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/10332264 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138062 0039d316-1c4b-4281-b951-d872f2087c98
* Reorganize app/theme resourcesoshima@chromium.org2012-05-1925-0/+0
| | | | | | | | | | | | | | | | | | | | normal 1x -> default_100_percent normal 2x -> default_200_percent touch 1x -> touch_100_percent touch 2x -> touch_200_percent I didn't move images used by windows installer/system and used by webui. git cl upload failed to upload the change due to its side. comming without it. (got ok from sky) TBR=sky@chromium.org BUG=123162 TEST=none Review URL: https://chromiumcodereview.appspot.com/10383257 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138026 0039d316-1c4b-4281-b951-d872f2087c98
* aura: Fix external texture layers when scaling uppiman@chromium.org2012-05-191-1/+1
| | | | | | | | | | | | | After r136220, having a layer bigger than the texture would stretch the texture instead of keeping a smaller web layer This fixes it. BUG=None TEST=run chrome with aura, load complex page, resize, observe no stretching. Review URL: https://chromiumcodereview.appspot.com/10389221 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138024 0039d316-1c4b-4281-b951-d872f2087c98
* Reorganize image files in ui/resourcesoshima@chromium.org2012-05-19507-362/+362
| | | | | | | | | | | | | | | | | | normal 1x -> default_100_percent normal 2x -> default_200_percent touch 1x -> touch_100_percent touch_2x -> touch_200_percent I didn't move aura wall papers and a few resources used by webui and oak.png that are used for debugging. They'll be handled separately. TBR=sky@chromium.org BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10332254 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138022 0039d316-1c4b-4281-b951-d872f2087c98
* Add instantiation declarations for PointBase, SizeBase, RectBasethakis@chromium.org2012-05-196-0/+24
| | | | | | | | | | | | | | | | | | | These templates have explicit instantiations in point.cc, point_f.cc, size.cc, size_f.cc, rect.cc, rect_f.cc. This suggests that the intent was to have these instantiations in a single translation unit. Without an explicit instantiation declaration, they would still be weakly emitted to all translation units that use point.h (etc). Add an explicit instantiation declaration to stop this from happening. Thanks to Rafael Espindola for help with this patch. BUG=90078 TEST=do a components debug build on mac. observe fewer linker errors. Normal builds get a bit faster too. Review URL: https://chromiumcodereview.appspot.com/10386220 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138012 0039d316-1c4b-4281-b951-d872f2087c98
* touch: Make sure the correct radius values are used for touch events.sadrul@chromium.org2012-05-193-8/+10
| | | | | | | | | | | | | | | The device may not always report the radii values for a touch event. In such cases, instead of making up a default value, always use 0 so that it is easy to determine if the radius is the real radius reported by the device or not. Also, at the same time, make sure that the radius value sent to webkit follows the spec. Also fix the radii adjustment for device-scale-factor. BUG=128553 TEST=manually with test-pages Review URL: https://chromiumcodereview.appspot.com/10383249 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138006 0039d316-1c4b-4281-b951-d872f2087c98
* Flash window by pulsing their launcher icon state indicatordavemoore@chromium.org2012-05-195-4/+14
| | | | | | | | | | BUG=119965 TEST=BrowserLauncherItemControllerTest.FlashWindow Review URL: https://chromiumcodereview.appspot.com/10392173 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137993 0039d316-1c4b-4281-b951-d872f2087c98
* Enable disabled omnibox tests on auraoshima@chromium.org2012-05-194-26/+29
| | | | | | | | | | | | | | - SetText should move the cursor to the end of new tex. - OmniboxView::GetSelectionBounds should return the cursor position when there is no selection - Undo when ctrl-shift-z is pressed BUG=121558 TEST=OmniboxVitewTest::UndoRedo/BackspaceDeleteHalfWidthKatakana are enabled. Review URL: https://chromiumcodereview.appspot.com/10412009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137992 0039d316-1c4b-4281-b951-d872f2087c98
* Re-organize resource files for native_themeoshima@chromium.org2012-05-18115-60/+60
| | | | | | | | | | | | | | normal 1x images -> default_100_percent touch 1x images -> touch_100_percent touch 2x images -> touch_200_percent TBR=sky@chromium.org BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10383243 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137965 0039d316-1c4b-4281-b951-d872f2087c98
* accelerators: Remove deprecated Accelerator ctor that takes booleans.tfarina@chromium.org2012-05-183-77/+85
| | | | | | | | | BUG=128242 R=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/10399085 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137957 0039d316-1c4b-4281-b951-d872f2087c98
* Aura/ash: On Desktops, use an aura::client to resolve screen coordinates.erg@chromium.org2012-05-187-28/+153
| | | | | | | | | | We can only use aura::Windows when trying to calculate where menus should be displayed. Add a client interface to do this, move the existing usage out of the DesktopNativeWidgetHelperAura and into the client. BUG=125106 Review URL: https://chromiumcodereview.appspot.com/10409011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137954 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Add the SYNTHETIC flag to mouse-events generated from gestures.sadrul@chromium.org2012-05-183-2/+67
| | | | | | | | | | | | This fixes the cases where the cursor shows up when touching on views that don't process gesture events. BUG=117986 TEST=manually Review URL: https://chromiumcodereview.appspot.com/10388198 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137942 0039d316-1c4b-4281-b951-d872f2087c98
* Adding Gesture Recognition to RenderWidgetHostViewWin (web client)girard@chromium.org2012-05-184-9/+20
| | | | | | | | | | | | | Gesture and Touch events are now passed into the content window. This is only enabled if --enable-touch-events is flagged on the command line. BUG=124938 TEST= Review URL: https://chromiumcodereview.appspot.com/10365009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137920 0039d316-1c4b-4281-b951-d872f2087c98
* Set a maximum radius size for touch eventstdanderson@chromium.org2012-05-183-0/+14
| | | | | | | | | | | | | Only allow touch events having radius values of at most 100 when computing the enclosing rectangle for a ET_GESTURE_TAP event. BUG=chrome-os-partner:9751 TEST=none Review URL: https://chromiumcodereview.appspot.com/10388193 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137909 0039d316-1c4b-4281-b951-d872f2087c98
* RefCounted types should not have public destructors, Linux fixesrsleevi@chromium.org2012-05-189-61/+70
| | | | | | | | | | BUG=123295 TEST=none Review URL: https://chromiumcodereview.appspot.com/10392152 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137893 0039d316-1c4b-4281-b951-d872f2087c98
* Add new attention state to launcherdavemoore@chromium.org2012-05-182-1/+5
| | | | | | | | | BUG=119965 TEST=LauncherViewTest.LauncherItemStatus Review URL: https://chromiumcodereview.appspot.com/10386212 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137878 0039d316-1c4b-4281-b951-d872f2087c98
* ui: Change ListModel to operate in size_t instead of int.tfarina@chromium.org2012-05-187-45/+47
| | | | | | | | | R=xiyuan@chromium.org TBR=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/10408009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137862 0039d316-1c4b-4281-b951-d872f2087c98
* Add trace events to measure GPU process startup timing and time to first ↵apatrick@chromium.org2012-05-182-11/+14
| | | | | | | | present. Review URL: https://chromiumcodereview.appspot.com/10386185 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137802 0039d316-1c4b-4281-b951-d872f2087c98
* ui: Export GetModifiersFromACCEL() function to fix win shared build.tfarina@chromium.org2012-05-181-1/+1
| | | | | | | | | BUG=128242 TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/10399081 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137793 0039d316-1c4b-4281-b951-d872f2087c98
* Pass event bitmask (shift, control, alt) to ui::Accelerator instead of booleans.tfarina@chromium.org2012-05-1819-47/+86
| | | | | | | | | | BUG=128242 R=ben@chromium.org TBR=jam@chromium.org Review URL: https://chromiumcodereview.appspot.com/10399044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137792 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 137059 - Better fix for closing uber tray when clicking on Desktoppkotwicz@chromium.org2012-05-174-33/+9
| | | | | | | | | | | | | | Bug=None Test=Manual Review URL: https://chromiumcodereview.appspot.com/9877015 TBR=pkotwicz@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=137752 Review URL: https://chromiumcodereview.appspot.com/10383236 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137770 0039d316-1c4b-4281-b951-d872f2087c98
* Gets touch semantics working on windows. Specifically the following:sky@chromium.org2012-05-174-17/+53
| | | | | | | | | | | | | | | | . If you use a mouse then left click reorders and control-left click changes the visible tabs. . If you use a touch device left click moves the set of visible tabs and if you right click (corresponds to long press) then you reorder. Additionally we don't allow detaching on metro. BUG=123274 TEST=none R=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/10399073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137769 0039d316-1c4b-4281-b951-d872f2087c98
* Use Layer's target visibility instead of the current visibility in ↵mazda@chromium.org2012-05-171-10/+7
| | | | | | | | | | | | | | | Window::SetVisible. Widget::Show does not take effect if it's called while the hide animation is running. This CL modifies Window::SetVisible to check Layer's target visibility instead of Layer's current visibility so that Window::Show takes effect even when Window::Hide followed immediately by Window::Show. Also modified the widnow animation code so that Layer's target visibility is correctly set. BUG=127863 TEST=Tried repro steps (see BUG) and didn't crash. Passed aura_unittests and aura_shell_unittests. Review URL: https://chromiumcodereview.appspot.com/10387146 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137764 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 137736 because 137059 broke the bookmark bubble. In particular, ↵pkotwicz@chromium.org2012-05-172-36/+1
| | | | | | | | using the combo box. Review URL: https://chromiumcodereview.appspot.com/10382227 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137758 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 137752 - Revert 137059 - Better fix for closing uber tray when ↵fischman@chromium.org2012-05-174-9/+33
| | | | | | | | | | | | | | | | | clicking on Desktop Bug=None Test=Manual Review URL: https://chromiumcodereview.appspot.com/9877015 TBR=pkotwicz@chromium.org Review URL: https://chromiumcodereview.appspot.com/10383236 TBR=pkotwicz@chromium.org Review URL: https://chromiumcodereview.appspot.com/10382226 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137755 0039d316-1c4b-4281-b951-d872f2087c98
* Compute the enclosing rectangle for circles/ellipses generated from a series ↵tdanderson@chromium.org2012-05-1713-5/+369
| | | | | | | | | | | | | of touch events For a sequence of {touchstart, touchmove*, touchend} events, compute the rectangle that encloses all of the circles/ellipses corresponding to the touch events. If the hardware is capable of collecting radius_x or radius_y, use the maximum of these two values as the radii values for the touch region. Otherwise use a default radius value of 15. BUG=122190 TEST=none Review URL: https://chromiumcodereview.appspot.com/10262023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137753 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 137059 - Better fix for closing uber tray when clicking on Desktoppkotwicz@chromium.org2012-05-174-33/+9
| | | | | | | | | | | | Bug=None Test=Manual Review URL: https://chromiumcodereview.appspot.com/9877015 TBR=pkotwicz@chromium.org Review URL: https://chromiumcodereview.appspot.com/10383236 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137752 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 137734 - Select theme resources from ResourceBundle at requested ↵fischman@chromium.org2012-05-1720-227/+106
| | | | | | | | | | | | | | | | | | scale factor. Return the best match for a requested scale factor when fetching raw image data from ResourceBundle. TBR=aa,abodenha BUG=123611 TEST=ResourceBundle.LoadImageResourceBytes Review URL: https://chromiumcodereview.appspot.com/10387010 TBR=flackr@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137738 0039d316-1c4b-4281-b951-d872f2087c98
* views: Do not set capture on a widget if it cannot be activated.sadrul@chromium.org2012-05-172-1/+36
| | | | | | | | | BUG=128566 TEST=views_unittests:WidgetTest.ActivationCapture Review URL: https://chromiumcodereview.appspot.com/10383234 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137736 0039d316-1c4b-4281-b951-d872f2087c98
* Select theme resources from ResourceBundle at requested scale factor.flackr@chromium.org2012-05-1720-106/+227
| | | | | | | | | | | | | | Return the best match for a requested scale factor when fetching raw image data from ResourceBundle. TBR=aa,abodenha BUG=123611 TEST=ResourceBundle.LoadImageResourceBytes Review URL: https://chromiumcodereview.appspot.com/10387010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137734 0039d316-1c4b-4281-b951-d872f2087c98
* Fix logging of string16s from gfx namespace on Windows.asvitkine@chromium.org2012-05-175-24/+28
| | | | | | | | | | | | I don't why this fixes it, but somehow having a SelectionModel << logging operator in the gfx namespace makes Visual Studio fail to find the << logging operator for string16 arguments. Per discussion with Scott, we decided to remove the << operators altogether and replace them with a ToString() function to be consistent with Rect, Size, etc. TEST=Check that adding a "LOG(INFO) << text();" line to RenderTextWin compiles. Review URL: https://chromiumcodereview.appspot.com/10332205 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137732 0039d316-1c4b-4281-b951-d872f2087c98
* ash: Select omnibox text on mouse up instead of down.derat@chromium.org2012-05-171-7/+11
| | | | | | | | | | | | | | | Defer selection of the text in an unfocused omnibox until the release event. Otherwise, all of the text starting from the left side is selected when the user is trying to highlight just a portion of the URL. BUG=128126 TEST=added, also did manual testing Review URL: https://chromiumcodereview.appspot.com/10386173 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137711 0039d316-1c4b-4281-b951-d872f2087c98
* Make Chrome limp briefly before freaking out with aura no ash.ben@chromium.org2012-05-173-1/+13
| | | | | | | | BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10407022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137706 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a couple of bugs with the image skia implementationpkotwicz@chromium.org2012-05-171-1/+1
| | | | | | | | | Bug=124566 Test=Manual Review URL: https://chromiumcodereview.appspot.com/10389109 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137684 0039d316-1c4b-4281-b951-d872f2087c98
* Update use of TimeDelta in chrome/browser/*, ui/views/*, and other places.tedvessenes@gmail.com2012-05-177-15/+21
| | | | | | | | | | R=ben@chromium.org BUG=108171 Review URL: https://chromiumcodereview.appspot.com/10026013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137682 0039d316-1c4b-4281-b951-d872f2087c98
* Add locale tray iconstevenjb@google.com2012-05-172-0/+1
| | | | | | | | | | TBR=ben, sadrul BUG=124726 TEST=See http://codereview.chromium.org/10391177/ Review URL: https://chromiumcodereview.appspot.com/10387180 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137677 0039d316-1c4b-4281-b951-d872f2087c98
* Remove ui-enable-dip optionoshima@chromium.org2012-05-179-138/+41
| | | | | | | | | BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10310067 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137659 0039d316-1c4b-4281-b951-d872f2087c98
* Let Chrome app handle Ash accelerators first if the app is launched as a window.yusukes@chromium.org2012-05-176-49/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Revert 137622 - Fix a couple of bugs with the image skia implementationpkotwicz@chromium.org2012-05-178-39/+14
| | | | | | | | | | | | Bug=124566 Test=Manual Review URL: https://chromiumcodereview.appspot.com/10389109 TBR=pkotwicz@chromium.org Review URL: https://chromiumcodereview.appspot.com/10391179 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137625 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a couple of bugs with the image skia implementationpkotwicz@chromium.org2012-05-178-14/+39
| | | | | | | | | Bug=124566 Test=Manual Review URL: https://chromiumcodereview.appspot.com/10389109 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137622 0039d316-1c4b-4281-b951-d872f2087c98
* app_list: Update colors and sizes for v2.xiyuan@chromium.org2012-05-175-34/+62
| | | | | | | | | | BUG=125964 TEST=none. Review URL: https://chromiumcodereview.appspot.com/10383199 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137584 0039d316-1c4b-4281-b951-d872f2087c98