| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change doesn't add any new functionality. It simply changes the profile menu button so that it now draws an avatar icon.
Once this is checked in next steps will be to:
- associate avatar icons to profiles
- expand the profile menu
BUG=None
TEST=Ran on Windows and verified that things look ok.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=88683
Review URL: http://codereview.chromium.org/7003080
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88854 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=Browser compositor is on by default, not wanted at this time.
TEST=None.
Review URL: http://codereview.chromium.org/7046108
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88831 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
W3C Touch Event standard (draft)
https://dvcs.w3.org/hg/webevents/raw-file/tip/touchevents.html
introduces RadiusX, RadiusY field for touch events. This patch makes views::TouchEvent to have corresonding
fields and proper default value extracted from XEvent, and pass them from RWHVV to WebKit side.
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/7129008
Patch from Yufeng Shen <miletus@chromium.org>.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88830 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=None
TEST=None
R=sky@chromium.org
Review URL: http://codereview.chromium.org/7046093
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88827 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=None
TEST=None
R=pkasting@chromium.org,sky@chromium.org
Review URL: http://codereview.chromium.org/6995143
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88749 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
No other boolean variable in the View class has the "is_" prefix and this is
making me nervous for a while now :)
BUG=72040
TEST=None
R=ben@chromium.org
Review URL: http://codereview.chromium.org/7104098
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88748 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change doesn't add any new functionality. It simply changes the profile menu button so that it now draws an avatar icon.
Once this is checked in next steps will be to:
- associate avatar icons to profiles
- expand the profile menu
BUG=None
TEST=Ran on Windows and verified that things look ok.
Review URL: http://codereview.chromium.org/7003080
TBR=sail@chromium.org
Review URL: http://codereview.chromium.org/7138003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88686 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change doesn't add any new functionality. It simply changes the profile menu button so that it now draws an avatar icon.
Once this is checked in next steps will be to:
- associate avatar icons to profiles
- expand the profile menu
BUG=None
TEST=Ran on Windows and verified that things look ok.
Review URL: http://codereview.chromium.org/7003080
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88683 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=compiles, run manually
Review URL: http://codereview.chromium.org/6975051
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88671 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move GetCursorBounds to NativeTextfieldViews.
Some minor refactoring.
BUG=72040
TEST=--use-pure-views textfield cursor showing drop location.
Review URL: http://codereview.chromium.org/6982055
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88618 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=72040
TEST=views_unittests --gtest_filter=ViewTest.RemoveAllChildViews
R=sky@chromium.org
Review URL: http://codereview.chromium.org/7104096
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88608 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7104095
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88587 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=72040
TEST=none
Review URL: http://codereview.chromium.org/7129022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88564 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=None
TEST=None
R=sky@chromium.org,pkasting@chromium.org
Review URL: http://codereview.chromium.org/7046074
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88557 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Standardize iterator naming to |i|.
- Initialize them through constructor not assignment operator.
- Declare iterators inside loops, not above them.
BUG=72040
TEST=None
R=pkasting@chromium.org,sky@chromium.org
Review URL: http://codereview.chromium.org/7129028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88551 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=None
TEST=None
TBR=sky@chromium.org
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88540 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=None
TEST=None
R=sky@chromium.org
Review URL: http://codereview.chromium.org/7134028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88539 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
by ChromeOS' window manager.
BUG=chromium-os:16323
TEST=none
Review URL: http://codereview.chromium.org/7129033
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88523 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Tests will be re-enabled when appropriate changes are made to support GL compositor testing.
BUG=unit tests not ready for GL compositor at this time.
TEST=unit tests run to completion.
Review URL: http://codereview.chromium.org/7104039
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88521 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
| |
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88397 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
All of the changes in this CL are to shut up the warning, not because of real problems (I fixed these in separate CLs).
See the bug for a disussion of this change.
BUG=84424
TEST=none
Review URL: http://codereview.chromium.org/6995085
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88385 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes a real bug, because e.g. chrome/browser/chromeos/frame/browser_view.cc
has a scoped_ptr<views::MenuDelegate> that it sets to a
SimpleMenuModelDelegateAdapter object. (That class ends up not having a destructor
and no non-POD members, so it's just a latent bug.)
BUG=84424
TEST=none
Review URL: http://codereview.chromium.org/7109037
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88383 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
| |
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88370 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
| |
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88366 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
| |
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88359 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=72040
TEST=none
Review URL: http://codereview.chromium.org/7054052
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88356 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Wait showing html dialog until renderre finish painting after page is loaded.
This change keeps track of state transition to make sure we only show the window on the paint after page load.
minor change; use gdk's debug paint. Views no longer manage the damaged rect by itself so we can simply use gdk's debug paint.
Note to mazda. Please consider adding fade-in animation. I believe it will make it much nicer.
BUG=chromium-os:15809
TEST=open keyboard overlay on device. no white flicker should be observed.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=88271
Review URL: http://codereview.chromium.org/7024032
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88345 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=chromium-os:13887
TEST=none
Review URL: http://codereview.chromium.org/7104013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88340 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
chrome/browser/chromeos/login/screen_locker.cc:225:16:error: 'ClearNativeFocus' marked 'override' but does not override any member functions
virtual void ClearNativeFocus() OVERRIDE {
^
CXX(target) out/Debug/obj.target/browser/chrome/browser/chromeos/login/take_photo_view.o
1 error generated.
Looks like a real bug in the CL.
88271 - Wait showing html dialog until renderre finish painting after page is loaded.
This change keeps track of state transition to make sure we only show the window on the paint after page load.
minor change; use gdk's debug paint. Views no longer manage the damaged rect by itself so we can simply use gdk's debug paint.
Note to mazda. Please consider adding fade-in animation. I believe it will make it much nicer.
BUG=chromium-os:15809
TEST=open keyboard overlay on device. no white flicker should be observed.
Review URL: http://codereview.chromium.org/7024032
TBR=oshima@google.com
Review URL: http://codereview.chromium.org/6995067
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88280 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change keeps track of state transition to make sure we only show the window on the paint after page load.
minor change; use gdk's debug paint. Views no longer manage the damaged rect by itself so we can simply use gdk's debug paint.
Note to mazda. Please consider adding fade-in animation. I believe it will make it much nicer.
BUG=chromium-os:15809
TEST=open keyboard overlay on device. no white flicker should be observed.
Review URL: http://codereview.chromium.org/7024032
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88271 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
cases.
The implementation of vector<T>::at performs bounds checks and can through an
exception std::out_of_range if you try to access an element that is not present
in the array. That is less eficient and we don't want to through an exception
anyway.
BUG=None
TEST=None
R=pkasting@chromium.org,sky@chromium.org
Review URL: http://codereview.chromium.org/7125012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88254 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
The GTK implementation of Menu2 reverses the menu alignment specified in RunMenuAt() if IsRTL() is true, i.e. TOPRIGHT becomes TOPLEFT and vice versa. This CL makes views::MenuItemView behave the same way.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7115005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88218 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7046028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88196 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=compile works with touchui
TBR=pkasting@chromium.org
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88176 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
* Remove TextButton::has_normal_border(). Replaced it with some more generic functionality on TextButtonBorder to allow specifying a normal border.
* Simplify InfoBarButtonBorder by making it a subclass of TextButtonBorder so it could avoid overriding anything unnecessary. This also required changing TextButtonBorder's Paint() function to stretch rather than tile, which I don't think should produce a visual difference for any buttons using that base class.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7065073
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88149 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=None
TEST=app_unittests --gtest_filter=TreeNodeModelTest.GetIndexOf
R=sky@chromium.org
Review URL: http://codereview.chromium.org/7113015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88134 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The code is really doing a for loop and it shortens the thing a little bit.
BUG=72040
TEST=None
R=sky@chromium.org
Review URL: http://codereview.chromium.org/6993060
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88056 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=None
TEST=views_unittests --gtest_filter=ViewTest.GetIndexOf
R=sky@chromium.org
Review URL: http://codereview.chromium.org/6993062
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88041 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
been changed.
BUG=none
TEST=Manual test for now. Will add test coverage when I add test for PanelManager.
Review URL: http://codereview.chromium.org/7076036
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88037 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
drawn by the compositor and Compositor::Blur to blur a region. If you
want to blur a region, then you have to override
OnWillCompositeTexture and invoke Blur.
I considered adding an Effect enum that allows you to set BLUR on any
view. I shied away from that as we may need blur to take a region, and
I wasn't too happy about adding more to view. I can easily change it
though.
BUG=none
TEST=none
R=ben@chromium.org,wjmaclean@chromium.org
Review URL: http://codereview.chromium.org/7056046
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87989 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixing View::GetVisibleBounds (http://codereview.chromium.org/6993045/) breaks
the keyboard visibility. So layout the keyboard without any transform first,
then start the animation for sliding in.
Also, update the visibility first, then the size, so that the latter correctly
triggers a size update of the contents.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7112026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87986 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=ViewTest.TransformVisibleBound, ViewTest.OnVisibleBoundsChanged
Review URL: http://codereview.chromium.org/6993045
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87984 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Rename ViewVector to simply Views.
- Users generally should not know or care what the container is.
- This makes reading easier as the code is not constantly pointing out to you, "hey! I'm a vector!"
- Also it's less verbose, allows condensing a lot of loop declarations onto one line.
BUG=72040
TEST=None
R=pkasting@chromium.org,sky@chromium.org
Review URL: http://codereview.chromium.org/7024023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87983 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
hierarchy.
BUG=
TEST=
Review URL: http://codereview.chromium.org/7024025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87882 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=76997
TEST=none
Review URL: http://codereview.chromium.org/7056049
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87873 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=
TEST=
Review URL: http://codereview.chromium.org/7058019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87865 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
*after* http://codereview.chromium.org/6975062/ has landed
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7027014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87854 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=72040,68682
TEST=None
R=sky@chromium.org
Review URL: http://codereview.chromium.org/7111008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87823 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
correctly handle autocomplete text set by Omnibox.
* SetText no longer change the cursor position because setting autocomplete text shouldn't change the cursor.
* Undo/Redo cursor positions correctly.
* Clear the omnibox's edit history when tab is switched.
BUG=none
TEST=existing tests are modified and new test cases are added.
Review URL: http://codereview.chromium.org/7067015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87821 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
notification appears
BUG=84529
TEST=Manual test by verifying the browser does not lose focus
Review URL: http://codereview.chromium.org/7024010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87810 0039d316-1c4b-4281-b951-d872f2087c98
|