| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
They crash flakily on win8 aura bots.
BUG=237642
TBR=oshima@chromium.org
Review URL: https://codereview.chromium.org/14705007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197980 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* remove local functions to move the mouse in host coordinates.
* updated tests that should use host coordinates instead of
root.
BUG=none
TEST=covered by tests.
Review URL: https://chromiumcodereview.appspot.com/14293028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197651 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
MessagePumpLinux implies the absence of an X server. Fix up
some defines in ash appropriately for this.
BUG=180666
Review URL: https://chromiumcodereview.appspot.com/13947019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197446 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=236029
R=ben@chromium.org
Review URL: https://chromiumcodereview.appspot.com/14283019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197444 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=236170
TEST=None
R=ben@chromium.org
Review URL: https://codereview.chromium.org/14554002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197363 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This also change to use ShellObserver to stop listening display change event
BUG=231696
TEST=none
Review URL: https://chromiumcodereview.appspot.com/14502004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196843 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
create transform matrix.
This patch enables us to use simultaneously these features.
BUG=223983, 230979
TEST=ash_unittests and aura_unittests passes.
R=oshima@chromium.org
NOTRY=True
# NOTRYing for trybots are already passed.
Review URL: https://chromiumcodereview.appspot.com/13634002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196077 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Reverted wrong CL by mistake
TBR=oshima@chromium.org
BUG=none
Review URL: https://codereview.chromium.org/14081019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195742 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
>Add debug shortcuts that toggles options to shows paint rects, debug borders and fps counters.
>Cleanup: Separate desktop shortcuts which are useful only on linux desktop, and debug shortcuts.
>
>BUG=227375
>Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=195733
TBR=oshima@chromium.org
BUG=
Review URL: https://codereview.chromium.org/14263025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195737 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=233375,180535
TEST=covered by unit tests.
Review URL: https://codereview.chromium.org/14320009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195672 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
Otherwise restoring focused/active window may try to use stale display.
BUG=229158
Review URL: https://chromiumcodereview.appspot.com/14188054
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195552 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Rotation matrixes are normalized (and will soon changed to handle 90 rotations in special form),
so no need to have separate inverse matrix.
BUG=222483
TEST=no functionality change.
Review URL: https://codereview.chromium.org/14361002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195238 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
TouchEvent's radius on Pixel is reported in the touchscreen's
native resolution. When Pixel is connected to an external screen
and running in mirror mode, the radius value is too large for
the external screen's low display resolution. The radius value
needs to be scaled properly in this case.
BUG=229932
TEST=Switching to mirror mode when connecting Pixel to a low
resolution external display, following the test in the issue
and make sure the radius has a sensible value.
Review URL: https://chromiumcodereview.appspot.com/14279002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195075 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
string_piece.h was moved into base/strings/ in r191206 -
https://chromiumcodereview.appspot.com/12982018/
TBR=brettw@chromium.org
Review URL: https://codereview.chromium.org/14272007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194693 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
In r174057, ajwong@ added support for implicit testing to scoped_ptr<>. Removes
these in ash/.
BUG=232084
Review URL: https://codereview.chromium.org/14297013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194609 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This seems to be the root cause of computation errors.
BUG=222483,223983
TEST=covered by test
Review URL: https://chromiumcodereview.appspot.com/14142011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194007 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Renames string16 -> base::string16 and
base/string_number_conversions.h -> base/strings/string_number_conversions.h
BUG=
Review URL: https://codereview.chromium.org/13856005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193561 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=222483
TEST=covered by unit test
Review URL: https://chromiumcodereview.appspot.com/13916004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193560 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Moved EnsurePointerInDisplays to DisplayController as it needs to access RootWindow.
BUG=226300
TEST=covered by test.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=193008
Review URL: https://chromiumcodereview.appspot.com/13466022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193227 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> Don't move cursor location when rotation /ui scaling has changed
> Moved EnsurePointerInDisplays to DisplayController as it needs to access RootWindow.
>
>
> BUG=226300
> TEST=covered by test.
>
> Review URL: https://chromiumcodereview.appspot.com/13466022
TBR=oshima@chromium.org
Review URL: https://codereview.chromium.org/13946002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193035 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Moved EnsurePointerInDisplays to DisplayController as it needs to access RootWindow.
BUG=226300
TEST=covered by test.
Review URL: https://chromiumcodereview.appspot.com/13466022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193008 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In https://codereview.chromium.org/12983010/
reversed_root_transform is passed into event::UpdateForRootTransform.
Then for TouchEvent::UpdateForRootTransform(), the radius_x/y now
should times the inverted device scale factor instead of being
divided by it. The same in ScrollEvent::UpdateForRootTransform() for
scroll offset ordinal.
BUG=chromium:226169
TEST=On Link, visit http://www.rbyers.net/paint.html, make sure
touch radius has normal range.
Review URL: https://chromiumcodereview.appspot.com/13594009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192490 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This moves OutputConfigurator's X11 code into a separate
delegate class to make testing possible. It also removes
some ugliness in the form of Displays, XRRScreenResources,
and Windows getting passed between methods. No functional
changes are intended.
BUG=225536
Review URL: https://chromiumcodereview.appspot.com/13430025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192449 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This also allows screen magnifier to use the same mechanism
as screen rotation/zooming.
BUG=223983
TEST=no functional change. All tests should pass.
Review URL: https://chromiumcodereview.appspot.com/13429003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192019 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
- expose LayerTreeHost::set_background_color() as
compositor's API
BUG=224500
Review URL: https://chromiumcodereview.appspot.com/13402002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191764 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/13386010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191751 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This looks old bug which was working by accident, or due to
optimization difference.
BUG=225241
TEST=maual
Review URL: https://chromiumcodereview.appspot.com/13251019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191701 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Remember primary per display pair
- remember power state. Restore when restarted, but not boot time.
- DefaultLayout is used to construct layout for display pair.
It used to be used if the layout wasn't set before, but since layout has other data such as primary/mirror state, it makes more sense to copy it first.
Cleanup: remove unnecessary code.
BUG=218387
TEST=covered by test. manually tested on device.
Review URL: https://chromiumcodereview.appspot.com/12865019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191509 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
0.5, 0.625 and 1.125 (640, 800 and 1440 on Pixel)
Reassigned shortcut to shift/ctrl/-+
Add reset UI scales (to shift/ctrl/0)
BUG=223808
TEST=covered by test.
Review URL: https://chromiumcodereview.appspot.com/12586011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190869 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=222483
TEST=no functionality change. covered by existing unit tests.
Review URL: https://codereview.chromium.org/12983010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190533 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
-DisplayLayout now keeps track of mirroring state as well.
-Load preference before Shell::Init is execute so that display controller can provide the correct state at boot/startup time
-Added OutputConfigurator::Delegate so that OutputConfigurator can determine the state for dual display when the display is connected.
BUG=196818
TEST=covered by unittests.
Review URL: https://codereview.chromium.org/12716007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190276 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=176011
TEST=trybots
Review URL: https://codereview.chromium.org/12782013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189925 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Reset the overscan to the default value if the display has overscan.
- Move overscan data into kDisplayProperties dictionary value.
- Remove Rotate/Scale shortcut from login screen as we can't store the state in login screen.
BUG=196818
TEST=covered by unit test.
Review URL: https://codereview.chromium.org/12505005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189910 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
DisplayManager knows the mirroring state, so no need to rely on
OutputConfigurator to move to next state. There is a chance
that dislpay may be disconnected when SetDisplayMode, but that's
harmless as it simply returns false.
BUG=180443
TEST=manual. see bug.
Review URL: https://codereview.chromium.org/12496020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189738 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Use ash::DisplayController::Observer to save preference
- DisplayLayout::FromInets to eliminate conversions
- Create OutputConfiguratorAnimation on desktop, except for test.
This is necessary to get options page working on desktop.
- Store default only when a user modified the layout. I think this matches
the user's expectation better.
Other cleanups:
- Removed unused declaration Shell::InitLayoutManagersForPrimaryDisplay
BUG=196818
TEST=covered by test
Review URL: https://codereview.chromium.org/12843008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189538 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is causing mismatch between expected bounds and actual
mouse position in auto-hide code.
- don't synthesize mouse event if the current location is outside of root window. This happens when dragging window and
unnecessary to handle.
- Fix system location in synthesized event. It's using
screen coordinates instead of system coordinates.
BUG=222137
TEST=updated the test. Tested manually. see bug.
Review URL: https://chromiumcodereview.appspot.com/12579012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189269 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changed to use xrandr's definition as discussed offline.
Removed command line switch as this is no longer needed.
BUG=196434
TEST=none
Review URL: https://chromiumcodereview.appspot.com/12700024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189123 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
completed.
Add OnDisplayConfigurationChanged to DisplayController::Observer
Save primary only in ExtededDesktop mode
TBR=sky@chromium.org
BUG=196818
TEST=covered by test, and also tested manually.
Review URL: https://chromiumcodereview.appspot.com/12438016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189040 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
use of StringPrintf now requires prefixing with base:: or a per-scope using directive
TBR'd:
abodenha: chrome/service
brettw: content, third_party, webkit
darin: base, chrome/browser, chrome/renderer
dgarret: courgette
enne: cc
fischmann: media
gbillock: sql
joi: google_apis,components
rsleevi: net, crypto
sky: chrome/test
thestig: printing, chrome/common,
tsepez: ipc
wez: remoting
yfriedman: testing/android
NOTRY=true
R=brettw@chromium.org
TBR=joi@chromium.org, rsleevi@chromium.org, enne@chromium.org, thestig@chromium.org, darin@chromium.org, abodenha@chromium.org, sky@chromium.org, dgarret@chromium.org, tsepez@chromium.org, fishman@chromium.org, wez@chromium.org, gbillock@chromium.org, yfriedman@chromium.org
BUG=
Review URL: https://codereview.chromium.org/12767006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188857 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Renamed ConvertNativePointToScreen to ConvertHostPointToScreen to be more clear
- Apply root window's transform correctly in
RootWindow::ConvertPointTo/FromScreen
- Fix tests.
BUG=179997, 119268
TEST=covered by test. On device, you can drag window between displays with rotation/ui scale applied.
Review URL: https://chromiumcodereview.appspot.com/12842007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188590 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add shortcut keys to ui scaling
- Round root window size because it can be fractional size
when root_window_scale_ is specified.
- Remove scaling option from about:flags.
- Rotate display where the mouse is in.
BUG=179997,119268
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=188324
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=188362
Review URL: https://codereview.chromium.org/12848004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188386 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2nd try
Add shortcut keys to ui scaling
- Round root window size because it can be fractional size
when root_window_scale_ is specified.
- Remove scaling option from about:flags.
- Rotate display where the mouse is in.
BUG=179997,119268
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=188324
Review URL: https://codereview.chromium.org/12848004
TBR=oshima@chromium.org
Review URL: https://codereview.chromium.org/12886005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188374 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add shortcut keys to ui scaling
- Round root window size because it can be fractional size
when root_window_scale_ is specified.
- Remove scaling option from about:flags.
- Rotate display where the mouse is in.
BUG=179997,119268
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=188324
Review URL: https://codereview.chromium.org/12848004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188362 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add shortcut keys to ui scaling
- Round root window size because it can be fractional size
when root_window_scale_ is specified.
- Remove scaling option from about:flags.
- Rotate display where the mouse is in.
BUG=179997,119268
Review URL: https://chromiumcodereview.appspot.com/12848004
TBR=oshima@chromium.org
BUG=none
Review URL: https://codereview.chromium.org/12690013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188344 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Round root window size because it can be fractional size
when root_window_scale_ is specified.
- Remove scaling option from about:flags.
- Rotate display where the mouse is in.
BUG=179997,119268
Review URL: https://chromiumcodereview.appspot.com/12848004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188324 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The origin starts at (0, 0), so the actual amount to translate is width-1/height-1.
Use ToRoundedPoint to convert translated point as translation can convert to negative side by small margin.
(like -0.000001, which becomes -1 instead of 0)
R=jamescook@chromium.org
BUG=119268
TEST=updated the test.
Review URL: https://codereview.chromium.org/12844004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188220 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- moved Rotation enum from ash to gfx::Display so that
views/ui can use it.
- rotate image and hot point.
BUG=119268
TEST=covered by unit tests, and also test on device.
Review URL: https://chromiumcodereview.appspot.com/12666006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188174 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
the internal display.
R=adlr@chromium.org
BUG=none
TEST=none
Review URL: https://codereview.chromium.org/12586003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188165 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove obsolete code
Add tests for mirror & display names
TBR=mpcomplete@chromium.org,jamescook@chromium.org
BUG=none
TEST=covered by test
Review URL: https://codereview.chromium.org/12803005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188136 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
bugs such as context menu appearing on wrong screen.
- On Ash, ignore origin set from native bounds.
- Use 0,0 origin in aura tests because desktop aura runs in native environment.
- WebContentsViewAura::GetViewBounds should use screen bounds
BUG=180692
Review URL: https://chromiumcodereview.appspot.com/12579007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188013 0039d316-1c4b-4281-b951-d872f2087c98
|