| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
BUG=88716
TEST=none
Review URL: http://codereview.chromium.org/7331021
TBR=ben@chromium.org
Review URL: http://codereview.chromium.org/7340002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92063 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=88716
TEST=none
Review URL: http://codereview.chromium.org/7331021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92059 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
These were added in r28089 (http://codereview.chromium.org/256059) but
are unnecessary bloat for everyone to carry around, even those that don't
use emacs or vim.
In an earlier change, I added editor config files in src/tools/emacs/
and src/tools/vim/ so users of the appropriate editor can source those
instead.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7310019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92046 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
debug builds only if the clear is not done. Weird, since I was able to see glass when I tested this earlier.
Also converts one GetNativeView() check to native_widget() since they are now equivalent.
BUG=none
TEST=win7, glass mode, debug build, browser frame should not be green
TBR=sky
Review URL: http://codereview.chromium.org/7338002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92041 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=chromium:85585
TEST=run views_examples
Review URL: http://codereview.chromium.org/7237064
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92039 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change adds an icon chooser grid to the profiles menu. This is only implemented for toolkit views for now.
Screenshots: http://www.dropmocks.com/mXGba
BUG=
TEST=
Review URL: http://codereview.chromium.org/7331017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91958 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
few classes, and replaces an ugly view class name comparison with a clean
switch based on the view's role.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7328027
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91913 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ASSERT should be used in cases where we are going to rely in pointer being not
NULL in the next test or an array having determinate numbers of elements because
we are going to access an element of it in the next step. But these aren't the
cases here.
BUG=None
TEST=views_unittests
R=sky@chromium.org
Review URL: http://codereview.chromium.org/7330021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91900 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
environment.
Also removes the unnecessary clear from RootView since this is interfering with transparent Widgets.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7237040
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91890 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
CreateRenderWidgetHostView would delete the old RenderWidgetHostView.
Also fixes compile error in views_unittests.
BUG=none
TEST=none
R=ben@chromium.org
Review URL: http://codereview.chromium.org/7329027
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91888 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=
TEST=ui_unittest
Review URL: http://codereview.chromium.org/7044062
Patch from Ian Vollick <vollick@chromium.org>.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91855 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix a bug of hide key where the keyboard does now show up after the hide key is
pressed while Omnibox has the focus and Omnibox is touched.
I changed the way of retrieving the text input type to use
InputMethod::GetTextInputType rather than TextInputClient::GetTextInputType
because NULL is always set to touch_pressed_handler when omnibox is touched.
I also added code to check the touch event type so that the notification is sent
only when text element is touched.
BUG=none
TEST=manually
Review URL: http://codereview.chromium.org/7324029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91854 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=NONE
TEST=NONE
Review URL: http://codereview.chromium.org/7264015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91808 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
need to do this immediately, otherwise if the user types fast enough
the accelerator goes to the wrong menu.
BUG=84442
TEST=see bug
R=ben@chromium.org
Review URL: http://codereview.chromium.org/7328004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91806 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
what windows does.
BUG=56650
TEST=press alt and release, focus should be on the wrench. press
space, make sure the window menu appears, not the wrench menu.
R=ben@chromium.org
Review URL: http://codereview.chromium.org/7237032
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91805 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
patch from issue 7171025
BUG=84721
TEST=Switch tabs...no flicker
Review URL: http://codereview.chromium.org/7327002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91762 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
independent of any tfarina-induced bustage.
BUG=none
TEST=none
TBR=sky
Review URL: http://codereview.chromium.org/7313027
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91738 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Change the type of valuator_lookup_[kMaxDeviceNum][TP_LAST_ENTRY] from "char" to "signed char".
-1 is set for valuator_lookup_[][] for invalid entry.
Some ARM platform/cross-compiler defaults "char" as
"unsigned char" which does not accommodate negative
value -1. Fixing it by specifically setting the type
to "signed char".
BUG=
TEST=
Review URL: http://codereview.chromium.org/7312028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91736 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Caused test failures in views_unittests.
----
BUG=84721
TEST=Switch tabs...no flicker
Review URL: http://codereview.chromium.org/7171025
TBR=davemoore@chromium.org
Review URL: http://codereview.chromium.org/7312027
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91720 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
| |
TBR=ben@chromium.org
Review URL: http://codereview.chromium.org/7307038
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91719 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
| |
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91716 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=84721
TEST=Switch tabs...no flicker
Review URL: http://codereview.chromium.org/7171025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91710 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
level Window in the views desktop world.
Adds the beginning of a set of tests for this behavior.
Also fixes the leaks associated with destruction of NativeWidgetViews, and adds a moderately comprehensive set of tests for Widget ownership.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7273084
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91706 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=72317
TEST=None
R=rsesek@chromium.org, tony@chromium.org
Review URL: http://codereview.chromium.org/7210060
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91704 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
ordered
BUG=chromium-os:17307
TEST=views_unittests success
Review URL: http://codereview.chromium.org/7307016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91675 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
should show the window menu, so that if menu button consumes this
event the window menu is never shown.
BUG=56650
TEST=press alt and release, focus should be on the wrench. press
alt-space, make sure the window menu appears, not the wrench menu.
R=ben@chromium.org
Review URL: http://codereview.chromium.org/7315002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91604 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
These rules are in build/common.gypi already, which is included through
the chromium_code: 1 variable.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7312007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91597 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
The previous implementation used to poll the environment for the window size every drawing cycle. On Linux this is an expensive operation because it requires a round trip to the X server. This CL pushes window size change to the compositor.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7212028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91572 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Steps for Repro. From a touch build
1) Goto google.com
2) Type into text field
3) Typed text does not show up
BUG=87840
TEST=views_unittest (ToggleVisibilityWithLayer)
Review URL: http://codereview.chromium.org/7273067
Patch from Peter Kotwicz <pkotwicz@chromium.org>.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91563 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Keycode value of dead_stroke was overwritten with a wrong value in compose-parse.py.
This makes the ordering of the data broken.
BUG=NONE
TEST=NONE
Review URL: http://codereview.chromium.org/7278038
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91539 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG='Remove' link in the bookmark bubble doesn't work
TEST=manually
Review URL: http://codereview.chromium.org/7248064
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91475 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
button clicks, for example if the label width extends over a button (in some cases invisibly).
BUG=87439
TEST=None. The problem that prompted this has been fixed by Scott, but similar problems might occur in the future so I think it is good to fix the underlying problem as well (since the symptoms are so weird: half a button non-clickable).
Review URL: http://codereview.chromium.org/7298009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91421 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=chromium-os:13887
TEST=all platforms still compile
Review URL: http://codereview.chromium.org/7273085
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91370 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This enables button border for NativeTextButton on Linux/Chromeos.
BUG=chromium-os:17202
TEST=Verify fix for chromium-os:17202.
Review URL: http://codereview.chromium.org/7210033
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91353 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=covered by unit test.
R=wjmaclean@chromium.org
Review URL: http://codereview.chromium.org/7210048
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91317 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=none
R=ben@chromium.org
Review URL: http://codereview.chromium.org/7280002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91312 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
TBR=ben@chromium.org
BUG=none
TEST=AccessibilityEventRouterViewsTest.TestFocusNotification
Review URL: http://codereview.chromium.org/7278010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91233 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Basically having TOUCH_UI => pure-views exposed an issue when pure-views are enabled and deskop is not. Not that this last issue is fixed we can revert that workaround.
TBR=sky@chromium.org
BUG=none
TEST=TouchUi tests
Review URL: http://codereview.chromium.org/7294008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91203 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=88029
TEST=none
Review URL: http://codereview.chromium.org/7289018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91200 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
GTK sends fake enter/leave event when window activation changes.
This event has (0,0) coordinates, which confuses NativeWidgetGtk::TransformEvent
and ViewportWidget::OnMouseExited.
This is a dirty hack to deal with gtk's fake events. This will be
solved properly in NativeWidgetX + pure views.
BUG=none
TEST=click menu on notification. menu button on the notification shouldn't disappar
and does not cause gtk warning.
Review URL: http://codereview.chromium.org/7282020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91189 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7285007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91172 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The ultimate goal is to eliminate TOOLKIT_USES_GTK. Once that migration is completed, TOOLKIT_VIEWS + OS_LINUX should be enough.
Until this happens, we need a binary that:
1) has both gtk and pure-views
2) can enable pure views components with --use-pure-views when possible (this is default in touchui=1).
If we could switch everything with --use-pure-views, that'd be nice, but the world is not perfect and there are things that cannot co-exist (such as message pump). For such component, we'll use GYP_DEFINES to switch.
1) TOOLKIT_USES_PURE_VIEWS is defined with toolkit_pure_views=1.
2) all (or most of) chrome features must be functional with toolkit_pure_views=1
3) both TOOLKIT_USES_GTK and TOOLKIT_USES_PURE_VIEWS are defined. The latter has higher priority (that is, if implementation can't co-exists, TOOLKIT_USE_PURE_VIEWS will take precedence).
4) As the migration proceeds, there will be less TOOLKIT_USES_GTK and more TOOLKIT_USES_PURE_VIEWS.
5) Once the migration is complete (that is, there is no TOOKIT_USES_GTK), we can remove TOOLKIT_USES_PURE_VIEWS or replace it with OS_LINUX when necessary.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7273079
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91164 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
InputMethodBase::Init does things (e.g. FocusedViewDidChange etc.) that can
expect that the platform specific code has already been initialized. So
initialize the platforms first.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7281025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91126 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=72317
TEST=None
R=sky@chromium.org
Review URL: http://codereview.chromium.org/7281019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91069 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=72317
TEST=None
R=sky@chromium.org
Review URL: http://codereview.chromium.org/7284019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91068 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes leaks in ViewTest.* and NativeTextFieldViewsTest.*.
BUG=87904
TEST=tools/valgrind/chrome_tests.sh views --gtest_filter=ViewTest.*:NativeTextFieldViewsTest.*
Review URL: http://codereview.chromium.org/7280008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91064 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
in a simple vector.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7280013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91052 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=72317
TEST=None
R=rsesek@chromium.org
Review URL: http://codereview.chromium.org/7253057
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91010 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
NativeWidgetView. This is why menu wasn't showing.
BUG=none
TEST=none
R=ben@chromium.org
Review URL: http://codereview.chromium.org/7248032
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91000 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=none
TBR=sky
Review URL: http://codereview.chromium.org/7281012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90997 0039d316-1c4b-4281-b951-d872f2087c98
|