Ssadrul@chromium.orgevents: Cleanup the EventDispatcher API.
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
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 年前 | |
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] Go back to EASE_OUT for boot transition BUG=141988 Review URL: https://chromiumcodereview.appspot.com/10960034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158079 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
linux_aura: Make X11 selection buffers work on text in both direction. BUG=130805 TEST=none Review URL: https://codereview.chromium.org/10917270 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157368 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 年前 | |
linux_aura: Fix cursors and popup menu location - Cursors now use sadrul's modified CursorLoader. - We query the desktop environment for work area size. This makes menus positioned in the correct place. BUG=146077 Review URL: https://chromiumcodereview.appspot.com/10985029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158708 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Upstreaming SelectFileDialog for Android Upstreaming the Select File Dialog and its dependencies needed for Chrome on Android BUG=116131 Review URL: https://chromiumcodereview.appspot.com/10916160 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157424 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
ui: Fix clang warnings about missing virtual and OVERRIDE annotations. BUG=115047 TBR=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/10905053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154606 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
events: Cleanup the EventDispatcher API. These API functions are not used anymore. So remove these. Update a test to still test that event-handlers receive events in correct phase in the right order. BUG=none Review URL: https://codereview.chromium.org/10956045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158876 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Fix drift while scrolling. Scrolling with one finger (particularly slow scrolling) would exhibit drift between the scrolled amount and the finger position because of the use of the badly-defined bounding box center as the starting position of the scroll. Use the touch down as start position for single-finger scroll gestures. Tested via unit-test. BUG=150573 Review URL: https://chromiumcodereview.appspot.com/10958053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158592 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 年前 | |
[gtk] re-acquire input grab on bubbles when another widget that has shadowed that input grab is hidden. BUG=111153 TEST=website settings bubble, bookmark bubble, extension action bubble: right click in the bubble, or open a combobox that grabs input, or whatever. Close that popup, and the bubble should have focus again (clicking outside the bubble dismisses it). Clicking outside the bubble (left or right click or whatever) should still dismiss it normally. Review URL: https://codereview.chromium.org/10961016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157973 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Add ExtendSelectionAndDelete() method to ui::TextInputClient. This cl only implements RenderWidgetHostViewWin::ExtendSelectionAndDelete() which is needed to support HANJA key of Korean IME in Metro. BUG=148355 TEST=trybots Review URL: https://chromiumcodereview.appspot.com/10928199 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156992 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 年前 | |
Fix the failed case L10nUtilTest.GetAppLocale of ui unittests on Android There are 2 kinds of issues to make it failed: 1) pak files are stored in a different directory on Android other than other platforms. 2) The setting and getting locale is different from Linux, but similar with ChromiumOS. BUG= TEST=run_tests.py -s ui_unittests Review URL: https://chromiumcodereview.appspot.com/10825007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150261 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 年前 | |
aura: Let NativeThemeBase paint ArrowButtons for aura. BUG=144160 TEST=manual Review URL: https://chromiumcodereview.appspot.com/10875054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153339 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 some dead code in ResourceBundle BUG=None Test=Compiles TBR=sky Review URL: https://chromiumcodereview.appspot.com/10988002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158439 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Add support for Command key for Extension Commands (on Mac). BUG=27702 TEST=Assign a shortcut Command+something to an Extension Command and make sure it works. Review URL: https://chromiumcodereview.appspot.com/10827441 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152994 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 年前 | |
ui: No need to typedef testing::Test in unittests. TEST() macro should be used instead. TEST=ui_unittests R=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/10808072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148710 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
CSS Media Query now reports touch-support accurately for Windows (retry) This patch was LGTM'ed as https://chromiumcodereview.appspot.com/10836349/ and submitted through the CQ, but was later reverted. Re-patching. BUG=143792 Review URL: https://chromiumcodereview.appspot.com/10915175 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156091 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Enable EULA dialog to be shown from metro Chrome. BUG=131033 TEST=Run Chrome in Metro mode while the EULA dialog still needs to be accepted. Get kicked back to the desktop to accept the dialog. On accept, get kicked back into metro mode. Review URL: https://chromiumcodereview.appspot.com/10837222 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158797 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Make shared memory segments writable only by their rightful owners. BUG=143859 TEST=Chrome's UI still works on Linux and Chrome OS Review URL: https://chromiumcodereview.appspot.com/10854242 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158289 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 年前 | |
Reapply "Let Layout::GetSupportedScaleFactorFromScale() return only supported ScaleFactor." Removed LayoutTest.GetScaleFactorFromScaleNoneSupported() because GetSupportedScaleFactors() will initialize the supported scale factors to default after test::SetSupportedScaleFactors(std::vector<ScaleFactor>()). And it's also not a real scenario. BUG=148841 TBR=sky,pkotwicz Review URL: https://codereview.chromium.org/10962024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157935 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Reapply "Let Layout::GetSupportedScaleFactorFromScale() return only supported ScaleFactor." Removed LayoutTest.GetScaleFactorFromScaleNoneSupported() because GetSupportedScaleFactors() will initialize the supported scale factors to default after test::SetSupportedScaleFactors(std::vector<ScaleFactor>()). And it's also not a real scenario. BUG=148841 TBR=sky,pkotwicz Review URL: https://codereview.chromium.org/10962024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157935 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
mac: Use convertSizeFromBacking: instead of the deprecated ...FromBase: Using convertSizeFromBase: makes 10.8 log a warning message, and all retina macs run at least 10.7 (where convertSizeFromBacking: became available) anyway. Also protect Lion API declarations with MAC_OS_X_VERSION_MAX_ALLOWED checks in a few places. BUG=none Review URL: https://chromiumcodereview.appspot.com/10908074 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154808 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Reapply "Let Layout::GetSupportedScaleFactorFromScale() return only supported ScaleFactor." Removed LayoutTest.GetScaleFactorFromScaleNoneSupported() because GetSupportedScaleFactors() will initialize the supported scale factors to default after test::SetSupportedScaleFactors(std::vector<ScaleFactor>()). And it's also not a real scenario. BUG=148841 TBR=sky,pkotwicz Review URL: https://codereview.chromium.org/10962024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157935 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Aura/GTK integration: Create a small stub library that can talk to GTK. 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 | 13 年前 | |
Use current gtk dialogs in linux_aura. They payoff for the last month of refactoring: We now use the LinuxUI interface to generate gtk file selection dialogs from the shim library. We could theoretically make a Qt or EFL shim and get those desktops' native open dialogs. BUG=136909, 134167 TEST=none Review URL: https://chromiumcodereview.appspot.com/10829021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148813 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Move a bunch of random other files to src/ui/base BUG=none TEST=none TBR=brettw Review URL: http://codereview.chromium.org/6257006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71970 0039d316-1c4b-4281-b951-d872f2087c98 | 15 年前 | |
Chrome does not support hidpi themes other than the default. However, Chrome generates images which are a combination of the toolbar icon from the default theme + a tint. Added the ability for themes to store hidpi assets in the data pack such that the few hidpi assets which are generated are preserved when a user closes Chrome and reopens it. Repro steps/steps for testing: 1) Run chrome with --force-device-scale-factor=2 2) Change the theme. 3) Close Chrome and relaunch with --force-device-scale-factor=2 4) Ensure that the toolbar buttons are still hidpi Test=Manual, see instructions above Bug=136888 Review URL: https://chromiumcodereview.appspot.com/10783015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150054 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Part 3 of Move SelectFileDialog implementation to ui/base/dialogs/ - Actually move the SelectFileDialog class to ui::, leaving a compatibility header in the interim. - Because of linking reasons, create a factory interface for the SelectFileDialogExtension to use to inject itself from chrome/browser/views/ui/ - Because of linking reasons, move SelectFileDialogWin in this patch. - wstring code moved to win only files. BUG=134529 TEST=none First Review URL: https://chromiumcodereview.appspot.com/10695066 Review URL: https://chromiumcodereview.appspot.com/10698168 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147263 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Android requires some extra functionality to set the path to it's resource pak files and native libraries. This patch adds a new value to the PathService to implement the resource pak override and update the places that load pak files to take advantage of it. Also adds a function for embedders to set the path to native libraries. Review URL: https://chromiumcodereview.appspot.com/10802065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149842 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Android requires some extra functionality to set the path to it's resource pak files and native libraries. This patch adds a new value to the PathService to implement the resource pak override and update the places that load pak files to take advantage of it. Also adds a function for embedders to set the path to native libraries. Review URL: https://chromiumcodereview.appspot.com/10802065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149842 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Fix ResourceBundleImageSource so that it does not crash when 1.4x resources are requested. BUG=148841 Test=ResourceBundle.GetImageNamed Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=157201 Review URL: https://chromiumcodereview.appspot.com/10928231 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157583 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Fix ResourceBundleImageSource so that it does not crash when 1.4x resources are requested. BUG=148841 Test=ResourceBundle.GetImageNamed Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=157201 Review URL: https://chromiumcodereview.appspot.com/10928231 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157583 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 年前 | |
Make views_examples work in aura without ash. This required a ScreenImpl implementation for windows+aura. BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10241005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134136 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 年前 | |
Make views_examples work in aura without ash. This required a ScreenImpl implementation for windows+aura. BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10241005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134136 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 年前 |