| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
BUG=None
TEST=On linux desktop
Review URL: http://codereview.chromium.org/7553016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97998 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
same as you reviewed at http://codereview.chromium.org/7631048 minus
debugging code. As mentioned in revert cl I'm going this route so that
I can get a clean cl to apply to the 14 branch. As this is the same as
the last patch I'm TBRing.
BUG=90860
TEST=none
TBR=ben@chromium.org
R=ben@chromium.org
Review URL: http://codereview.chromium.org/7719021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97975 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
seems to have fixed the bug. I'm not quite sure why, but I'll track it
down separately. For now I'm going to revert the patch you last
reviewed, then land the change the fixes the bug separately so that it
can merge over cleanly.
I'm TBRing since this is just a revert.
BUG=90860
TEST=none
R=ben@chromium.org
TBR=ben@chromium.org
Review URL: http://codereview.chromium.org/7718007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97972 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Revert "Fix a bug where windows can't find the locale paks." (r97951)
Revert "Fix the windows build." (r97954)
TBR=tony@chromium.org
Review URL: http://codereview.chromium.org/7717017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97968 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We were using .dlls, but the .pak files are smaller and this will
allow us to share more code across platforms.
- Remove app/locales.gyp (used on win to generate the locale dlls) and references to it in other gyp(i) files.
- Update various packaging scripts.
- Move functions from resource_bundle_posix.cc to resource_bundle.cc (LoadResourcesDataPak, UnloadLocaleResources, GetLocalizedString, LoadLocaleResources) and delete the corresponding functions from resource_bundle_win.cc.
BUG=92724
Review URL: http://codereview.chromium.org/7677004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97941 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit 59e1c15b1ee0e29742a2479527de09715a2e5525.
TBR=saintlou@chromium.org
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7720010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97914 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=none
TBR=ben@chromium.org
Review URL: http://codereview.chromium.org/7719001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97906 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
widget visibility changes.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7706023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97878 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
TBR=saintlou@chromium.org
BUG=
TEST=
Review URL: http://codereview.chromium.org/7685057
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97857 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/7629009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97856 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=none. no new functionality. all tests should pass.
Review URL: http://codereview.chromium.org/7371007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97819 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7696013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97810 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
R=ben@chromium.org
TBR=ben@chromium.org
BUG=89439
TEST=none
Review URL: http://codereview.chromium.org/7710003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97777 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
instant is enabled, you go to a page with an auth dialog, then click
on one of the login buttons. This previously worked because focus was
going to either the widget for the TabContentsView or RWHV (not sure
which). Now that focus always goes to the topmost widget, it broke.
BUG=89439
TEST=none
R=ben@chromium.org
Review URL: http://codereview.chromium.org/7706003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97734 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
thinks the current menu is NULL.
BUG=93471
TEST=none
R=ben@chromium.org
Review URL: http://codereview.chromium.org/7686001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97521 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
TBR=motownavi@chromium.org
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7694009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97493 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes TouchFrame's NonClientHitTest to ignore VirtualKeyboard area.
Move mouse capture logic to Window Manager so that nested
mouse capture with nested NWVs works correctly.
Note1: This is a tentative WM that allows us to move/resize window in views desktop until we have real window manager based on aura/layer API.
Note2: There is an compositor related issue and doesn't work well when compositor is enabled. I'll look into it after this CL.
Review URL: http://codereview.chromium.org/7530017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97492 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This is a temporary workaround for views drag and drop pain.
BUG=none
TEST=drag from omnibox in TOUCHUI does nothing, no problems.
Review URL: http://codereview.chromium.org/7669063
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97424 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ClearNativeFocus in View::OnFocus is triggering 'this' to be
deleted. I couldn't readily find any views that do anything
interesting when the native focus changes, but this should help us
find out if that's true.
BUG=89439
TEST=none
R=ben@chromium.org
Review URL: http://codereview.chromium.org/7670077
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97412 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For strings coming from webpage (such as alert in JS), its directionality is set according to the directionality of its first strong character's directionality.
For chrome's UI string, its directionality is set as RTL if the UI is RTL and the string contains strong RTL characters.
BUG=91698
TEST=start chrome in RTL locale, check about:crash, "!" should be displayed at very left. check the directionality of alert() with bidi text in LTR and RTL chrome, the directionality should be determined by its first strong directionality character.
Review URL: http://codereview.chromium.org/7655037
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97392 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=90860
TEST=none
R=ben@chromium.org
Review URL: http://codereview.chromium.org/7631048
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97375 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
We should copy |character_| and |unmodified_| character values to the PengingKeyEvent object so that we can type Unicode characters (>= 0x80) even when ibus-daemon is running.
BUG=None (internal bug)
TEST=manually done: login, switch to the French virtual keyboard, press Shift, press More, then press √, ÷, etc.
Review URL: http://codereview.chromium.org/7599022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97303 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7670016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97286 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7655020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97259 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7655023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97240 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
the project files.
BUG=92102
Review URL: http://codereview.chromium.org/7528010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97156 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix memory leak (test_dialog_)
This fixes issues in other tests that are caused by unclosed dialog windows.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7670021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97154 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove const from GetIndexOfPreviousGrapheme() so the override function could
update local data.
Construct SelectionModel correctly in unittest.
BUG=90426
TEST=--use-pure-view.
Review URL: http://codereview.chromium.org/7607018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97029 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Make the onscreen brightness and volume indicators not be
janky. Also change views::ProgressBar to permit specifying
min and max double values, instead of just using a hardcoded
integer range between 0 and 100.
BUG=chromium-os:19141,chromium-os:8473
TEST=manual: held volume keys and checked that animation is smooth
Review URL: http://codereview.chromium.org/7646004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96853 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
It is necessary to remember the cursor set for the associated widget in the NativeWidgetView so that it can return the correct cursor when the parent Widget requests for it.
BUG=none
TEST=manually (launch chrome with views-desktop, move cursor over a link/textfield and see the cursor change properly)
Review URL: http://codereview.chromium.org/7633018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96852 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=chromium-os:17469
TEST=Click battery icon, confirm it meets spec
Review URL: http://codereview.chromium.org/7491083
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96643 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=None
TEST=None
R=jeanluc@chromium.org
Review URL: http://codereview.chromium.org/7612011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96432 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Ensure the display offset and cursor bounds are valid on use.
Build in offset logic to RenderText display and hit-testing.
Implement simpler temporary GetStringWidth and GetCursorBounds.
Fix SetDisplayRect signature, code file ordering, invalidation.
Rename and refactor a bit, update comments.
Fixes adornment display & hit testing on text field overflows.
Increases abstraction/encapsulation for easier client use.
BUG=90426
TEST=--use-pure-views / touch_ui textfield use with overflow.
Review URL: http://codereview.chromium.org/7466048
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96334 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mousewheel events, like keyboard events and unlike other mouseevents, are sent
to the focused view from the focus-manager, instead of sending to the view at
the location of the LocatedEvent. So This needs to be handled from the
dekstop/window-manager to send the events to the focused window.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7462017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96271 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
an external texture.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7605024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96177 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
gets added to the desktop.
This fixes sending keyboard events to the browser in views-desktop.
TBR=sky@chromium.org
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7604024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96126 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
as views_delegate may not be initialized when touchui is set
BUG=none.
TEST=none.
Review URL: http://codereview.chromium.org/7529031
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95940 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=none.
TEST=none.
Review URL: http://codereview.chromium.org/7491090
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95847 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=WidgetObserverTest.ActivationChange
Review URL: http://codereview.chromium.org/7585028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95828 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
| |
TEST=build with touchui=1, drag selection handles.
Review URL: http://codereview.chromium.org/7569024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95701 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
| |
R=rvargas@chromium.org
Review URL: http://codereview.chromium.org/7550038
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95651 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. Moves temporary color definition to gfx, declares some function as virtual for override,
removes const from some functions so that the override function is able to modify local data.
2. Cache cursor bounds and compute it (along with display_offset_) when necessary.
3. Introduce SelectionModel (not derivable) for visual cursor positioning.
BUG=90426
TEST=--use-pure-views text editing
Review URL: http://codereview.chromium.org/7461102
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95508 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7465091
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95282 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is necessary for updating selection on multiline text such as on a
webpage.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7508018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95279 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a necessary refactoring to a single menu model to define both views menu and WebUI menu.
BUG=chromium-os:17892
TEST=none
Review URL: http://codereview.chromium.org/7541002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95244 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=None
TEST=gold doesn't complaint about multiple definitions for views::MenuWrapper::CreateWrapper when linking libviews.so
Review URL: http://codereview.chromium.org/7466054
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95233 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
interface. We want this functionality on views textfields as well as the
webpage. This CL lays out the ground work and implements the text selection
interface for view textfield. In a later CL, I intend to implement the
TextSelection Interface for RenderWidgetHostViewViews.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7465045
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95186 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For reasonss that are not entirely clear, Browser::GetSavedMaximizedState() is sometimes setting maximized to true for panels created by an extension on ChromeOS.
Since panels have no concept of a maximized state, fix this by always returning 'false'.
This also includes a patch to widget.cc that is not necessary to fix this behavior, but it fixes the case where ShowInactive gets called when the widget is maximized (which shouldn't normally happen).
BUG=chromium-os:18534
TEST=See issue + test opening panels from an extension
Review URL: http://codereview.chromium.org/7551002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95141 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove unnecessary gfx namespace specifiers.
This should restore the large font size, and render the cursor and selection in their correct positions.
BUG=90426
TEST=touchui omnibox text interaction.
Review URL: http://codereview.chromium.org/7540036
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95118 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use Widget|View::GetFocusManager instead.
Use Widget::Get[TopLevel]WidgetForNativeView|Window as necessary.
BUG=88718
TEST=none
Review URL: http://codereview.chromium.org/7532015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95111 0039d316-1c4b-4281-b951-d872f2087c98
|