summaryrefslogtreecommitdiffstats
path: root/ui
Commit message (Collapse)AuthorAgeFilesLines
* NSImageRep can have a size which is not it's pixel size.pkotwicz@chromium.org2012-06-122-42/+73
| | | | | | | | | | | | | Fix conversion between NSImage to ImageSkia for when this is the case. Also fix the unittest so that it passes on HiDPI mac and changed unittest constants to be kWidth1x, kHeight1x etc Test=ImageMacTest.NSImageWithResizedNSImageRepToImageSkia Bug=None Review URL: https://chromiumcodereview.appspot.com/10545069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141616 0039d316-1c4b-4281-b951-d872f2087c98
* When a window is added to the window tree hierarchy, notify it that it was ↵danakj@chromium.org2012-06-112-1/+35
| | | | | | | | | | | | added to a root window (not its parent which was already added). BUG= TEST=aura_unittests:WindowTest.WindowAddedToRootWindow Review URL: https://chromiumcodereview.appspot.com/10535055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141536 0039d316-1c4b-4281-b951-d872f2087c98
* Aura desktop: Add a capture client to DesktopStackingClient's RootWindow.erg@chromium.org2012-06-114-0/+15
| | | | | | | | | | | | This prevents linux_aura from crashing on startup. BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10539069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141526 0039d316-1c4b-4281-b951-d872f2087c98
* app_list: Add page transition animation for apps grid.xiyuan@chromium.org2012-06-1110-66/+475
| | | | | | | | | | | | | | - Add transition data to PaginationModel to indicate a partial page switch; - Add transition animation to PaginationModel; - Add unit test for animated and non-animated SelectPage; BUG=129772 TEST=Verify page switch has a push left/right transition animation on the grid and blue color animates from one button to another. Review URL: https://chromiumcodereview.appspot.com/10535095 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141522 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes calling Restore() without Save() in ui::Layerpkotwicz@chromium.org2012-06-111-0/+1
| | | | | | | | | Bug=None Test=None Review URL: https://chromiumcodereview.appspot.com/10546070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141504 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 141481 - When a window is added to the window tree hierarchy, notify ↵sail@chromium.org2012-06-112-34/+1
| | | | | | | | | | | | | | it that it was added to a root window (not its parent which was already added). BUG= TEST=aura_unittests:WindowTest.WindowAddedToRootWindow Review URL: https://chromiumcodereview.appspot.com/10535055 TBR=danakj@chromium.org Review URL: https://chromiumcodereview.appspot.com/10539093 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141487 0039d316-1c4b-4281-b951-d872f2087c98
* When a window is added to the window tree hierarchy, notify it that it was ↵danakj@chromium.org2012-06-112-1/+34
| | | | | | | | | | | added to a root window (not its parent which was already added). BUG= TEST=aura_unittests:WindowTest.WindowAddedToRootWindow Review URL: https://chromiumcodereview.appspot.com/10535055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141481 0039d316-1c4b-4281-b951-d872f2087c98
* mac: Enable HiDPI for the accelerated path.thakis@chromium.org2012-06-111-1/+1
| | | | | | | | | | | | | | WebKit only sends HiDPI IOSurfaces if the screen is "DIP enabled" (see content/browser/web_contents/web_contents_impl.cc around line 590, search for IsDIPEnabled()), so set that to true. BUG=31960 TEST=Poster circle looks good in HiDPI TBR=sky Review URL: https://chromiumcodereview.appspot.com/10544086 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141427 0039d316-1c4b-4281-b951-d872f2087c98
* Remove 2x resources which are not actually 2x and reference 1x resources.flackr@chromium.org2012-06-1117-33/+33
| | | | | | | | | | | These resources are being scaled to fit the size they should be and since it's scaling up by a non-2x amount they look even worse than using the 1x assets. The 2x cursors are left as is since they are drawn by X without scaling. BUG=129602 TEST=Chrome compiles and runs with no errors using --load-2x-resources and with and without --touch-optimized-ui. Review URL: https://chromiumcodereview.appspot.com/10539053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141417 0039d316-1c4b-4281-b951-d872f2087c98
* Prepare compositor.cc for global CCSettingsvollick@chromium.org2012-06-111-3/+14
| | | | | | | | | | | | All compositor settings are currently owned by the layer tree hosts. Some of these settings will become globals. This cl prepares for that change. BUG=131792,129683 TEST=None Review URL: https://chromiumcodereview.appspot.com/10534017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141410 0039d316-1c4b-4281-b951-d872f2087c98
* chromeos: Add ui::CharacterComposer::preedit_string()hashimoto@chromium.org2012-06-113-31/+137
| | | | | | | | | | | | | Add preedit_string_ to CharacterComposer. Split FilterKeyPress implementation into a number of private methods. BUG=126924 TEST=ui_unittests --gtest_filter="HexadecimalCompositionPreedit" Review URL: https://chromiumcodereview.appspot.com/10544091 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141400 0039d316-1c4b-4281-b951-d872f2087c98
* Add views_unittests allocator.gyp dependency for non-component builds.msw@chromium.org2012-06-091-0/+5
| | | | | | | | | | | | | | | | | | | | | | | Found via crbug.com/131660 & codereview.chromium.org/10535046 My local views_unittests non-component Windows build fails with: LNK2005: __malloc_dbg already defined in allocator.lib(allocator_shim.obj) LIBCMTD.lib Condition the dependency on win_use_allocator_shim, as elsewhere. Otherwise, views_unittests component builds ("win" trybot) fail with: msvcprtd.lib(MSVCP90D.dll) : error LNK2005: "public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::~basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(void)" (??1?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@XZ) already defined in allocator.lib(allocator_shim.obj) BUG=NONE TEST=views_unittests builds work everywhere! Review URL: https://chromiumcodereview.appspot.com/10534070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141352 0039d316-1c4b-4281-b951-d872f2087c98
* Don't destroy channels when switching GPUsjbauman@chromium.org2012-06-092-12/+28
| | | | | | | | | | | | It looks like OS X automatically migrates old contexts onto the discrete GPU when it's using the discrete GPU. Therefore, instead of destroying the entire channel and all its contexts to switch GPUs, we can create a pixelformat that requires the discrete GPU before creating the new context, which will force every context onto the discrete GPU for the duration. BUG=129258 TEST= Review URL: https://chromiumcodereview.appspot.com/10545077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141347 0039d316-1c4b-4281-b951-d872f2087c98
* Aura desktop: Fixing nits by tfarina from last patch.erg@chromium.org2012-06-081-5/+5
| | | | | | | | | | BUG=130810 TEST=none Review URL: https://chromiumcodereview.appspot.com/10537064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141304 0039d316-1c4b-4281-b951-d872f2087c98
* app_list: Add transition for apps grid and search results.xiyuan@chromium.org2012-06-0812-230/+333
| | | | | | | | | | | | | | - Add a push animation for apps/search transition; - Refactoring to host apps grid and search results in ContentsView; - Simplify bubble background painting; BUG=129772 TEST=Verify that when user starts to type, search results "push down" apps and when query is cleared, apps "push up" search results; Review URL: https://chromiumcodereview.appspot.com/10534051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141298 0039d316-1c4b-4281-b951-d872f2087c98
* Update the types that WebContents supports when dragging in.dcheng@chromium.org2012-06-082-2/+10
| | | | | | | | | | | | | | | | | | I added support for some new types of data, but I didn't update the dragging receiver to declare support for the new types. As a result, OS X wouldn't even pass dragging messages if certain types weren't included in the drag. This fix also changes WebDragSourceMac to always write declare a placeholder dummy drag data type in the pasteboard; this ensures that Chrome will correctly handle any drag initiated inside a web view. BUG=44184 TEST=manual Review URL: https://chromiumcodereview.appspot.com/10533059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141297 0039d316-1c4b-4281-b951-d872f2087c98
* Add Windows commandline switch --enable-views-textfield.msw@chromium.org2012-06-0810-50/+60
| | | | | | | | | | | | | | | | | | | This switch controls use of NativeTextfield[Win|Views]. Enable and fix NativeTextfieldViewsTest on Windows. Add switch&strings; hook up NativeThemeWin FocusableBorder colors. Create InputMethodWin for --enable-views-textfield (or USE_AURA). Consolidate NativeTextfieldWrapper::CreateWrapper impls. TODO(followup): Fix 2*RequestFocus in unit test setup. TODO(followup): Also toggle OmniboxView[Win|Views]. BUG=131660 TEST=NativeTextfieldViewsTest.*, use the flag to flip the find bar, bookmark bubble/edit, etc. (not omnibox yet) Review URL: https://chromiumcodereview.appspot.com/10535046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141272 0039d316-1c4b-4281-b951-d872f2087c98
* Move ash specific resources to ash directoryoshima@chromium.org2012-06-08146-247/+283
| | | | | | | | | | TBR=sky@chromium.org BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10540081 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141263 0039d316-1c4b-4281-b951-d872f2087c98
* Use unique name for property deallocator.oshima@chromium.org2012-06-081-7/+7
| | | | | | | | | | | | | Move type completeness check into functino. anonymous namespaces within the same namespace are treated as the same namespace. This is to avoid duplicated definitions. BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10533063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141243 0039d316-1c4b-4281-b951-d872f2087c98
* Add flag which shows visually places where hidpi resources are supported ↵pkotwicz@chromium.org2012-06-083-0/+46
| | | | | | | | | | | however a hidpi resource cannot be shown because of missing assets Bug=131631 Test=manual Review URL: https://chromiumcodereview.appspot.com/10494013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141222 0039d316-1c4b-4281-b951-d872f2087c98
* app_list: App list bubble should move with anchor widget.xiyuan@chromium.org2012-06-081-0/+1
| | | | | | | | | BUG=129768 TEST=Verify app list bubble is at correct position with an auto-hide launcher bar. Review URL: https://chromiumcodereview.appspot.com/10537061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141217 0039d316-1c4b-4281-b951-d872f2087c98
* Make imageSkia:::extractSubset multi-image aware.kevers@chromium.org2012-06-082-8/+26
| | | | | | | | | | BUG=127791. TEST=Manually. Review URL: https://chromiumcodereview.appspot.com/10532009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141215 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 141206 - NSImageRep can have a size which is not it's pixel size.pkotwicz@chromium.org2012-06-082-56/+29
| | | | | | | | | | | | | | | | Fix conversion between NSImage to ImageSkia for when this is the case. Also changed unittest constants to be kWidth1x, kHeight1x etc Test=ImageMacTest.NSImageWithResizedNSImageRepToImageSkia Bug=None Review URL: https://chromiumcodereview.appspot.com/10545069 TBR=pkotwicz@chromium.org Review URL: https://chromiumcodereview.appspot.com/10535079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141214 0039d316-1c4b-4281-b951-d872f2087c98
* mac: Basic HighDPI implementation for web contents.thakis@chromium.org2012-06-082-1/+10
| | | | | | | | | | | | | | | Depends on https://bugs.webkit.org/show_bug.cgi?id=88596 The basics work, but a lot of stuff is broken (e.g. switching resolutions while chrome is running). BUG=31960 TEST=Go HighDPI, launch chrome. No longer pixely. TBR=sky Review URL: https://chromiumcodereview.appspot.com/10537067 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141211 0039d316-1c4b-4281-b951-d872f2087c98
* NSImageRep can have a size which is not it's pixel size.pkotwicz@chromium.org2012-06-082-29/+56
| | | | | | | | | | | | | Fix conversion between NSImage to ImageSkia for when this is the case. Also changed unittest constants to be kWidth1x, kHeight1x etc Test=ImageMacTest.NSImageWithResizedNSImageRepToImageSkia Bug=None Review URL: https://chromiumcodereview.appspot.com/10545069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141206 0039d316-1c4b-4281-b951-d872f2087c98
* Config UI for Extension Commands (part 1).finnur@chromium.org2012-06-082-0/+15
| | | | | | | | | | | | This changes the current overlay so that input is possible (selecting which keyboard shortcut to use). It also suspends current Chrome keyboard handling (Views only), while capturing the shortcut, so that you can press ie. Ctrl-F without Chrome eating your keyboard assignment and instead showing the Find box. NOTE: This does not persist the user's choice (future changelist). BUG=121420 TEST=With a keybinding Extension installed, open chrome://extensions, click on Configure Commands, and notice that the shortcuts are listed in text boxes that are clickable and accept keyboard input. Review URL: https://chromiumcodereview.appspot.com/10514003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141189 0039d316-1c4b-4281-b951-d872f2087c98
* Update touch_200_percent assetsbenrg@chromium.org2012-06-0818-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | These new assets are from the zip file attached to issue 131658. Four of those images were renamed for consistency: theme_default_active.png => theme_frame_default_active.png theme_default_inactive.png => theme_frame_default_inactive.png incognito-switch-off.png => incognito_switch_off.png incognito-switch-on.png => incognito_switch_on.png Five of them are new: otr_icon.png otr_icon_fullscreen.png incognito_background.png incognito_switch_off.png incognito_switch_on.png In a separate CL I will update the GRD file to point to the first of these (currently it points to the version in touch_100_percent). The other four do not have resource IDs yet and the GRD file will not be updated yet. TBR=ben@chromium.org BUG=131658 TEST=Compare old and new images and check that they all look similar to each other Review URL: https://chromiumcodereview.appspot.com/10546063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141174 0039d316-1c4b-4281-b951-d872f2087c98
* Add text input types newly introduced in WebKityosin@chromium.org2012-06-081-1/+7
| | | | | | | | | | BUG=128954 TEST=No need. This patch doesn't change behavior. Review URL: https://chromiumcodereview.appspot.com/10534037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141167 0039d316-1c4b-4281-b951-d872f2087c98
* Removing png that were added by mistake: 2 This was too big to upload with ↵oshima@chromium.org2012-06-082-0/+0
| | | | | | | | | | | | other CL, hence separate CL. TBR=sky@chromiunm.org BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10545079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141149 0039d316-1c4b-4281-b951-d872f2087c98
* Removing png that were added by mistakeoshima@chromium.org2012-06-0816-0/+0
| | | | | | | | | | TBR=sky@chromium.org BUG=none TEST=NONE Review URL: https://chromiumcodereview.appspot.com/10539058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141148 0039d316-1c4b-4281-b951-d872f2087c98
* Factor out capture code from RootWindow to CaptureClientoshima@chromium.org2012-06-0818-85/+312
| | | | | | | | | BUG=123160 TEST=no functional change. all test should pass. Review URL: https://chromiumcodereview.appspot.com/10525005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141131 0039d316-1c4b-4281-b951-d872f2087c98
* Aura desktop: Fix showing menus on desktop linux_aura.erg@chromium.org2012-06-081-9/+1
| | | | | | | | | | | | | Remove what I suspect is an unnecessary hack in views that closes menus on any widget activation change. This has been ifdefed out for OS_MAC and shouldn't exist on OS_LINUX. After consulting with sky@ about why this is there, I was asked to make sure that a window programatically grabbing activation closed other menus on OS_WIN. This case is broken with or without this code. (Try entering "setTimeout(function() {alert("ping"); }, 9001);" in the console in a different window; it doesn't close the menu either way.) BUG=130799 TEST=none Review URL: https://chromiumcodereview.appspot.com/10545060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141121 0039d316-1c4b-4281-b951-d872f2087c98
* Add comment and reference to the bug for DPI threashould.oshima@chromium.org2012-06-071-0/+4
| | | | | | | | | | TBR=sky@chromium.org BUG=chromium-os:31628 TEST=none Review URL: https://chromiumcodereview.appspot.com/10542066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141104 0039d316-1c4b-4281-b951-d872f2087c98
* Remove out of data commentpkotwicz@chromium.org2012-06-071-2/+0
| | | | | | | | | | BUG=None TEST=None TBR=sky Review URL: https://chromiumcodereview.appspot.com/10542065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141097 0039d316-1c4b-4281-b951-d872f2087c98
* mac: Use NSWidth() and friends in a few more places.thakis@chromium.org2012-06-074-12/+10
| | | | | | | | | | | | No intended behavior change. BUG=none TEST=none TBR=owners Review URL: https://chromiumcodereview.appspot.com/10545050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141084 0039d316-1c4b-4281-b951-d872f2087c98
* fix views examples compile error on clobber builderjam@chromium.org2012-06-071-4/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141076 0039d316-1c4b-4281-b951-d872f2087c98
* Add missing "aura" namespace in propery define macro so thatoshima@chromium.org2012-06-071-1/+1
| | | | | | | | | | | this works in other namespaces. BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10533040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141075 0039d316-1c4b-4281-b951-d872f2087c98
* Renamed BrowserWindow::GetNativeHandle() to GetNativeWindow()davemoore@chromium.org2012-06-073-6/+6
| | | | | | | | | | | | This is in preparation for adding a GetNativeWindow() method to the BaseWindow interface. BUG=None TEST=None Review URL: https://chromiumcodereview.appspot.com/10538039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141071 0039d316-1c4b-4281-b951-d872f2087c98
* A little more cleanup of content examples.jam@chromium.org2012-06-072-10/+0
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10536054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141045 0039d316-1c4b-4281-b951-d872f2087c98
* Fix TAP_DOWN gesture event:varunjain@chromium.org2012-06-079-34/+120
| | | | | | | | | | | | | | | | 1. GESTURE_TAP_DOWN should be sent only on the first TOUCH_PRESSED. 2. New gesture GESTURE_BEGIN shuold be sent on all TOUCH_PRESSED. 3. Rename GESTURE_TAP_UP to GESTURE_END. BUG=131007 TEST=manual Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=140967 Review URL: https://chromiumcodereview.appspot.com/10533029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141011 0039d316-1c4b-4281-b951-d872f2087c98
* Rename DrawBitmapInt to DrawImageIntpkotwicz@chromium.org2012-06-0729-153/+153
| | | | | | | | | | | Bug=None Test=Compiles Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=140877 Review URL: https://chromiumcodereview.appspot.com/10512021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141002 0039d316-1c4b-4281-b951-d872f2087c98
* It broke win aura botloislo@chromium.org2012-06-079-116/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | [ RUN ] WindowTest.TransferCaptureTouchEvents .\window_unittest.cc(700): error: Value of: d1.gesture_event_count() Actual: 2 Expected: 1 .\window_unittest.cc(710): error: Value of: d2.gesture_event_count() Actual: 2 Expected: 1 [ FAILED ] WindowTest.TransferCaptureTouchEvents (0 ms) Revert 140967 - Fix TAP_DOWN gesture event: 1. GESTURE_TAP_DOWN should be sent only on the first TOUCH_PRESSED. 2. New gesture GESTURE_BEGIN shuold be sent on all TOUCH_PRESSED. 3. Rename GESTURE_TAP_UP to GESTURE_END. BUG=131007 TEST=manual Review URL: https://chromiumcodereview.appspot.com/10533029 TBR=varunjain@chromium.org Review URL: https://chromiumcodereview.appspot.com/10539041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140972 0039d316-1c4b-4281-b951-d872f2087c98
* Fix TAP_DOWN gesture event:varunjain@chromium.org2012-06-079-32/+116
| | | | | | | | | | | | | | 1. GESTURE_TAP_DOWN should be sent only on the first TOUCH_PRESSED. 2. New gesture GESTURE_BEGIN shuold be sent on all TOUCH_PRESSED. 3. Rename GESTURE_TAP_UP to GESTURE_END. BUG=131007 TEST=manual Review URL: https://chromiumcodereview.appspot.com/10533029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140967 0039d316-1c4b-4281-b951-d872f2087c98
* Changes SetCapture to transfer events rather then cancel all.sky@chromium.org2012-06-076-67/+188
| | | | | | | | | | | BUG=124277 TEST=covered by tests. R=sadrul@chromium.org Review URL: https://chromiumcodereview.appspot.com/10539037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140961 0039d316-1c4b-4281-b951-d872f2087c98
* Reland 140878 - cleanup: Remove applist v1 code.xiyuan@chromium.org2012-06-0712-476/+267
| | | | | | | | | | | | | | | | | | | | | | | | - Remove obsolete v1 code and test; - Grid rid of selected_ in AppListItemModel and solely use selected_item_index_ in AppsGridView; - Fix a bug that highlighted item might not be visible and add test to cover it; - Update DEPS; - Fix broken ExtensionInstallUIBrowserTest.AppInstallConfirmation casued by wrong destruction order introduced by r140878 moving app list container on top of launcher container. Fix is to explicitly release app list contoller before launcher container. BUG=125964 TEST=Verify app list always show up as bubble and app_list_unittests should pass. Review URL: https://chromiumcodereview.appspot.com/10533032 TBR=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/10539038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140959 0039d316-1c4b-4281-b951-d872f2087c98
* Re-enable GPU switching on Mountain Lionjbauman@chromium.org2012-06-071-4/+1
| | | | | | | | | | | | It seems to be working with Developer Preview 3. BUG=129282 TEST= Review URL: https://chromiumcodereview.appspot.com/10543045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140953 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 140878 - cleanup: Remove applist v1 code.michaeln@google.com2012-06-0712-267/+476
| | | | | | | | | | | | | | | | | | - Remove obsolete v1 code and test; - Grid rid of selected_ in AppListItemModel and solely use selected_item_index_ in AppsGridView; - Fix a bug that highlighted item might not be visible and add test to cover it; - Update DEPS; BUG=125964 TEST=Verify app list always show up as bubble and app_list_unittests should pass. Review URL: https://chromiumcodereview.appspot.com/10533032 TBR=xiyuan@chromium.org Review URL: https://chromiumcodereview.appspot.com/10536046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140935 0039d316-1c4b-4281-b951-d872f2087c98
* Aura/GTK integration: Create a small stub library that can talk to GTK.erg@chromium.org2012-06-073-0/+80
| | | | | | | | | | | | | | | | | | | | | This makes a ui::LinuxUI interface, which needs to be in ui/base/ since we'll be integrating it with ui::NativeTheme and ui/views/. We also add a libgtk2ui shared library, which has a single exported method which creates an LinuxUI object that is essentially the old GtkThemeService. The intent is that this library will be the only part of chrome that can link with GTK in aura land. Current results are very rough; only some theme images are being injected properly and there's a bunch of entirely new theme integration that will have to be written to interface with views. Still, this is more than enough to demonstrate intent to continue to support gtk2. BUG=130810 TEST=none Review URL: https://chromiumcodereview.appspot.com/10545037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140922 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 140877 - Rename DrawBitmapInt to DrawImageIntpkotwicz@chromium.org2012-06-0629-153/+153
| | | | | | | | | | | | Bug=None Test=Compiles Review URL: https://chromiumcodereview.appspot.com/10512021 TBR=pkotwicz@chromium.org Review URL: https://chromiumcodereview.appspot.com/10546037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140882 0039d316-1c4b-4281-b951-d872f2087c98
* cleanup: Remove applist v1 code.xiyuan@chromium.org2012-06-0612-476/+267
| | | | | | | | | | | | | | | - Remove obsolete v1 code and test; - Grid rid of selected_ in AppListItemModel and solely use selected_item_index_ in AppsGridView; - Fix a bug that highlighted item might not be visible and add test to cover it; - Update DEPS; BUG=125964 TEST=Verify app list always show up as bubble and app_list_unittests should pass. Review URL: https://chromiumcodereview.appspot.com/10533032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140878 0039d316-1c4b-4281-b951-d872f2087c98