Xxiyuan@chromium.orgAdd a ListModel::Move.
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
app_list: Fix app_list_unittests crash. - Fix crash when enabling layers; - Fix crash when AppsGridView is tested without host widget; BUG=none. TEST=app_list_unittests should pass without crash. R=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/10963040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158175 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
app_list: Add transition for apps grid and search results. - 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 | 13 年前 | |
Move app list from ash to ui. 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 | 13 年前 | |
Consolidate bubble border code. Per 135200, we should only use image based code. - Add two new sets of bubble border images; - Use the new bubble border images for app menu and launcher tooltip; - Get rid of BubbleBorder2 since it's no longer needed; BUG=135200 TEST=Verify app list, launcher bar tooltip bubbles use shadow based on image and no artifacts. R=msw@chromium.org,sky@chromium.org,oshima@chromium.org Review URL: https://codereview.chromium.org/10905311 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158003 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Consolidate bubble border code. Per 135200, we should only use image based code. - Add two new sets of bubble border images; - Use the new bubble border images for app menu and launcher tooltip; - Get rid of BubbleBorder2 since it's no longer needed; BUG=135200 TEST=Verify app list, launcher bar tooltip bubbles use shadow based on image and no artifacts. R=msw@chromium.org,sky@chromium.org,oshima@chromium.org Review URL: https://codereview.chromium.org/10905311 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158003 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Consolidate bubble border code. Per 135200, we should only use image based code. - Add two new sets of bubble border images; - Use the new bubble border images for app menu and launcher tooltip; - Get rid of BubbleBorder2 since it's no longer needed; BUG=135200 TEST=Verify app list, launcher bar tooltip bubbles use shadow based on image and no artifacts. R=msw@chromium.org,sky@chromium.org,oshima@chromium.org Review URL: https://codereview.chromium.org/10905311 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158003 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
app_list: Paint background for app item title. So that they are not drawn on transparency and have artifacts. BUG=146221 TEST=Verify no artifacts around app item title. R=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/10919076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154869 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
app_list: Paint background for app item title. So that they are not drawn on transparency and have artifacts. BUG=146221 TEST=Verify no artifacts around app item title. R=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/10919076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154869 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove the rest of #pragma once in one big CL. For context see this thread: https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/RMcVNGjB4II TBR=thakis,pkasting,jam git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146163 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
chromeos: Fix pixelated icons in app list and launcher (part 3) - Use extensions::IconImage for HiDPI icons; - Fix IconImage use default icon for bundled component extension icon; - Fix ImageLoadingTracker does not properly resize bundled component extension icon; - Get rid of icon cache and work thread for shadow generation. We are using the exact icon size (smaller) and only generate shadow for visible ones. Thus, it is no longer needed. BUG=131738, 131739 TEST=Verify launcher and app list have crispy icons on HiDPI. Review URL: https://chromiumcodereview.appspot.com/10868003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155939 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
chromeos: Fix pixelated icons in app list and launcher (part 1) - Wrap resize and create-shadow operations into ImageSkiaOperations; - Update launcher, app list grid and search to use ImageSkia instead of SkBitmap; This is part 1 of the change. No visual change until ImageLoadingTracker is updated. BUG=131738,131739 TEST=None. No visual change to test until the ImageLoadingTracker change is done. Review URL: https://chromiumcodereview.appspot.com/10699065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146944 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove the rest of #pragma once in one big CL. For context see this thread: https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/RMcVNGjB4II TBR=thakis,pkasting,jam git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146163 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
cros: Fix mouse over-scroll animation not happening. This is because mouse scroll event does not set scrolling_ flag. Changed to use reverting animation as a signal for bubble over-scroll animation. Also fixed a problem that bubble over-scroll animation is interrupted when mouse hovers on an item during the animation. BUG=150852 TEST=Verify that bubble over-scroll animation happens with both touch and mouse. R=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/10961020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157905 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
chromeos: Fix pixelated icons in app list and launcher (part 3) - Use extensions::IconImage for HiDPI icons; - Fix IconImage use default icon for bundled component extension icon; - Fix ImageLoadingTracker does not properly resize bundled component extension icon; - Get rid of icon cache and work thread for shadow generation. We are using the exact icon size (smaller) and only generate shadow for visible ones. Thus, it is no longer needed. BUG=131738, 131739 TEST=Verify launcher and app list have crispy icons on HiDPI. Review URL: https://chromiumcodereview.appspot.com/10868003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155939 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
app_list: Add search box and search result view for v2. - Add a SearchBoxModel that represents search box's icon, placeholder text, user typed text and selection model (current selection and cursor position); - Add a SearchBoxView that displays SearchBoxModel and observes SearchBoxModel changes via SearchBoxModelObserver; When user typed/changed text in search box, the view also fires query changed notification to its SearchBoxViewDelegate; - Add a SearchResult that carries an icon, two tagged texts; - Add a SearchResultView that displays a SearchResult; - Change AppListModel to be a master model that has three sub models: apps list, search box and search results; - Add a SearchResultListView that display search results sub model of AppListModel using a list of SeachResultView; The view supports up/down key navigation and when user selects a result via mouse click or enter key, it asks its SearchResultListViewDelegate to OpenResult; - Update AppListViewDelegate: - Add new methods: StartSearch, StopSearch and OpenResult; - Deleted no-longer needed UpdateModel method; - Rename OnAppListItemActivated -> ActivateAppListItem; - Update ash_shell's app_list to support a simple substr match search; - Add a SearchBuilder that implements the search via AutoCompleteController; - Other changes: - Rename AppListModelBuilder -> AppsModelBuilder; - Rename AppListModelView -> AppsGridView; BUG=125964 TEST=Manual. In ash_shell, it searches the 5 example apps. In ash/chrome, it should show similar results as omnibox. Review URL: https://chromiumcodereview.appspot.com/10386224 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138938 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove the rest of #pragma once in one big CL. For context see this thread: https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/RMcVNGjB4II TBR=thakis,pkasting,jam git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146163 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
app_list: Create an app_list_switches.* to put all app list switches. NOTE: This was a TODO for xiyuan@. R=xiyuan@chromium.org TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/10695203 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146953 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
app_list: Create an app_list_switches.* to put all app list switches. NOTE: This was a TODO for xiyuan@. R=xiyuan@chromium.org TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/10695203 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146953 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Position apps list on Windows near the cursor. This change makes the app list on Windows appear either above or below the cursor. Above the cursor is preferred but the list will be moved below the cursor if there is not enough room. BUG=138632 Review URL: https://chromiumcodereview.appspot.com/10937008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158375 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Position apps list on Windows near the cursor. This change makes the app list on Windows appear either above or below the cursor. Above the cursor is preferred but the list will be moved below the cursor if there is not enough room. BUG=138632 Review URL: https://chromiumcodereview.appspot.com/10937008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158375 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Introduce App Launcher for Windows. The app launcher / app list has been available in ChromeOS for a while, this patch brings an initial version to Windows as well. To use the app launcher run Chrome with the command line switch --show-app-list. BUG=138632 Review URL: https://chromiumcodereview.appspot.com/10900018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155748 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Add a ListModel::Move. It will be used for app list drag-n-drop reodering. BUG=117090 TEST=ListModelTest.* should pass. R=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/10956052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158469 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Add a ListModel::Move. It will be used for app list drag-n-drop reodering. BUG=117090 TEST=ListModelTest.* should pass. R=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/10956052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158469 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
app_list: Fix crash after uninstalling last app. BUG=145274 TEST=There should be no crash after uninstalling the last app and then selecting an app. R=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/10892017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153863 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
events: Move some files into ui/base/events/ BUG=none TBR=jam@chromium.org Review URL: https://chromiumcodereview.appspot.com/10917075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154817 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
events: Get rid of GestureStatus in favour of EventResult. BUG=none Review URL: https://chromiumcodereview.appspot.com/10912063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154721 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
app_list: Remove unnecessary using declaration from drop_shadow_label.cc. And a few unused includes. TBR=xiyuan@chromium.org Review URL: https://chromiumcodereview.appspot.com/10657014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143842 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove the rest of #pragma once in one big CL. For context see this thread: https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/RMcVNGjB4II TBR=thakis,pkasting,jam git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146163 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
app_list: Make min page switcher button width and spacing smaller. - Change min button width from 44px to 28px; - Change min button spacing from 18px to 4px; Also add a 20px padding on left and right so that buttons are aligned with app tiles instead of stretching all the way to the edges. BUG=none. TEST=Verify the UI could hold up to 11 page switcher buttons. R=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/10910233 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156440 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
app_list: Make min page switcher button width and spacing smaller. - Change min button width from 44px to 28px; - Change min button spacing from 18px to 4px; Also add a 20px padding on left and right so that buttons are aligned with app tiles instead of stretching all the way to the edges. BUG=none. TEST=Verify the UI could hold up to 11 page switcher buttons. R=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/10910233 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156440 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
cros: Fix mouse over-scroll animation not happening. This is because mouse scroll event does not set scrolling_ flag. Changed to use reverting animation as a signal for bubble over-scroll animation. Also fixed a problem that bubble over-scroll animation is interrupted when mouse hovers on an item during the animation. BUG=150852 TEST=Verify that bubble over-scroll animation happens with both touch and mouse. R=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/10961020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157905 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
cros: Fix mouse over-scroll animation not happening. This is because mouse scroll event does not set scrolling_ flag. Changed to use reverting animation as a signal for bubble over-scroll animation. Also fixed a problem that bubble over-scroll animation is interrupted when mouse hovers on an item during the animation. BUG=150852 TEST=Verify that bubble over-scroll animation happens with both touch and mouse. R=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/10961020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157905 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove the rest of #pragma once in one big CL. For context see this thread: https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/RMcVNGjB4II TBR=thakis,pkasting,jam git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146163 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
app_list: Touch scroll and animation improvement. - Use layer for AppListItemView for smoother animation and scroll transition; - Support reverse current animation in SelectPage so that we don't need to reset current animation on fling gesture; - Change fling speed threshold from 1100 to 800; - Lower finish transition threshold from 0.5 to 0.33; - Increase transition animation during from default 120ms to 180ms; - Use linear tween type for transition animation; Piggy backed with the change: - Change app menu background from #fcfcfc to #f5f5f5 BUG=145580 TEST=Manual, touch scroll and page transition animation should be smoother and more natural. App menu background is darker. R=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/10890049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154106 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
app_list: Initialize more views in the initializer list. R=xiyuan@chromium.org Review URL: https://chromiumcodereview.appspot.com/10638018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143821 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove the rest of #pragma once in one big CL. For context see this thread: https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/RMcVNGjB4II TBR=thakis,pkasting,jam git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146163 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove the rest of #pragma once in one big CL. For context see this thread: https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/RMcVNGjB4II TBR=thakis,pkasting,jam git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146163 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
events: Move some files into ui/base/events/ BUG=none TBR=jam@chromium.org Review URL: https://chromiumcodereview.appspot.com/10917075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154817 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Rid the world of the last of views::Event types: TouchEvent, GestureEvent, MouseWheelEvent, ScrollEvent and DropTargetEvent, in favor of ui::Event derivatives. http://crbug.com/125937 TBR=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/10824295 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151602 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove the rest of #pragma once in one big CL. For context see this thread: https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/RMcVNGjB4II TBR=thakis,pkasting,jam git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146163 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
ash: Add support for additional icons in apps search list. This adds the concept of "action icons" to app_list::SearchResult. These are small icons that appear at the right of a given search result and can be clicked to invoke alternate actions. I'm planning to use this to expose chat, call, email, etc. actions for contact results. BUG=141877 TEST=none Review URL: https://chromiumcodereview.appspot.com/10872099 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153795 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
ash: Add support for additional icons in apps search list. This adds the concept of "action icons" to app_list::SearchResult. These are small icons that appear at the right of a given search result and can be clicked to invoke alternate actions. I'm planning to use this to expose chat, call, email, etc. actions for contact results. BUG=141877 TEST=none Review URL: https://chromiumcodereview.appspot.com/10872099 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153795 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Add a ListModel::Move. It will be used for app list drag-n-drop reodering. BUG=117090 TEST=ListModelTest.* should pass. R=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/10956052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158469 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Add a ListModel::Move. It will be used for app list drag-n-drop reodering. BUG=117090 TEST=ListModelTest.* should pass. R=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/10956052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158469 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
ash: Add support for additional icons in apps search list. This adds the concept of "action icons" to app_list::SearchResult. These are small icons that appear at the right of a given search result and can be clicked to invoke alternate actions. I'm planning to use this to expose chat, call, email, etc. actions for contact results. BUG=141877 TEST=none Review URL: https://chromiumcodereview.appspot.com/10872099 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153795 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
ash: Add support for additional icons in apps search list. This adds the concept of "action icons" to app_list::SearchResult. These are small icons that appear at the right of a given search result and can be clicked to invoke alternate actions. I'm planning to use this to expose chat, call, email, etc. actions for contact results. BUG=141877 TEST=none Review URL: https://chromiumcodereview.appspot.com/10872099 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153795 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
app_list: Paint background for app item title. So that they are not drawn on transparency and have artifacts. BUG=146221 TEST=Verify no artifacts around app item title. R=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/10919076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154869 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
ash: Add support for additional icons in apps search list. This adds the concept of "action icons" to app_list::SearchResult. These are small icons that appear at the right of a given search result and can be clicked to invoke alternate actions. I'm planning to use this to expose chat, call, email, etc. actions for contact results. BUG=141877 TEST=none Review URL: https://chromiumcodereview.appspot.com/10872099 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153795 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
ash: Add support for additional icons in apps search list. This adds the concept of "action icons" to app_list::SearchResult. These are small icons that appear at the right of a given search result and can be clicked to invoke alternate actions. I'm planning to use this to expose chat, call, email, etc. actions for contact results. BUG=141877 TEST=none Review URL: https://chromiumcodereview.appspot.com/10872099 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153795 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 |