ozone-mir:master

Last commit made on 2017-02-14
Get this branch:
git clone -b master https://git.launchpad.net/ozone-mir
Members of Unity Team can upload to this branch. Log in for directions.

Branch merges

Branch information

Name:
master
Repository:
lp:ozone-mir

Recent commits

2899a23... by dcheng <email address hidden>

Rename buffer_types_traits.{cc,h} to match normal conventions.

BUG=none

Review-Url: https://codereview.chromium.org/2694923003
Cr-Commit-Position: refs/heads/master@{#450282}

5a14d8c... by tyoshino <email address hidden>

Disable NotificationsApiTest.TestBasicUsage for Linux debug build

BUG=691913
TBR=dewittj

Review-Url: https://codereview.chromium.org/2691953004
Cr-Commit-Position: refs/heads/master@{#450281}

17c84b2... by yosin <email address hidden>

Make FrameSelection to hold non-canonicalized DOM positions

This patch makes |FrameSelection| to hold non-canonicalized DOM positions in
|SelectionEditor| to align Selection API specification[1] for improving
interoperatbility[2].

Before this patch we holds selection as |VisibleSelection| as canonicalized
DOM positions. This behavior is not align with Selection API specification[1]
then the most complained issue of Blink from editing-tf@w3c.

The heart of this patch is holding selection as |SelectionInDOMTree| and
compute |VisibleSelection| on-demand with cache of computed |VisibleSelection|.

|VisibleSelection| cache is invalidate each DOM tree change and style change
since canonicalization referes CSS style properties, e.g display, visibility,
-webkit-user-modify, etc, and layout dimension.

|SelectionEditor| utilizes |SynchronousMutationObserver| to relocate
|m_selectionInDOMTree| instead of |FrameSelection|. Before this patch
|FrameSelection| relocates |VisibleSelection| with dirty layout tree then
sets |FrameSelection::setSelection()|. To void cyclic reference between
|FrameSelection| and |SelectionEditor|, we could not move relocation part to
|SelectionEditor|.

This patch also updates
|FrameSelection::updatePostionAfterAdoptingTextNodesMerged()| to handle
|PositonAnchorType|.

# Highlight of changes
## FrameCaret
- Compute caret position after "layout clean" rather than each selection change
to align rendering pipeline.

## CharacterData
Changes timing of notifying character data update for ease of relocation of
positions.

## FrameSelection
- Move |m_isHandleVisible| to |SelectionInDOMTree| as follow-up of [5].
- Move selection relocation to |SelectionEditor|; following patch will move
implementations to "SelectionEditor.cpp"

## SelecitonEdtior
- Make it to hold |SelectionInDOMTree| with relocation at DOM mutation.
- Caching |VisibleSelection|

# Brief description of test expectation changes:
## ImeTest.java:
This patch gets rid of redundant selection change event from
 - |testImePaste|,
 - |testContentEditableEvents_DeleteSurroundingText|
 - |testInputTextEvents_DeleteSurroundingText|

## LayoutTests
Before this patch, Blink uses |VisibleSelection| when it sets even if style and
layout changed. This is wrong and unexpected behavior since positions in
|VisibleSelection| can no longer be canonicalized positions. This patch changes
this behavior to return "sane" canonicalized positions with clean style and
layout tree.

This patch is the result of many attempts. Previous changes can be found in
[3][4].

[1] https://www.w3.org/TR/selection-api/ W3C Selection API
[2] https://goo.gl/9v1zOK Improving Interoperatbility of Selection
[3] http://crrev.com/1958093002
[4] http://crrev.com/2637013002
[5] http://crrev.com/2651803007 Added isHandleVisible to |SelectionTemplate|

BUG=139552, 603684, 605499, 606499, 625533, 644648, 679991
TEST=See changes in this patch
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2

Review-Url: https://codereview.chromium.org/2680943004
Cr-Original-Commit-Position: refs/heads/master@{#449928}
Committed: https://chromium.googlesource.com/chromium/src/+/157413286770a7ac5a24c446a30c08f749738276
Review-Url: https://codereview.chromium.org/2680943004
Cr-Commit-Position: refs/heads/master@{#450280}

13cff56... by v8-autoroll <email address hidden>

Update V8 to version 5.8.198.

Summary of changes available at:
https://chromium.googlesource.com/v8/v8/+log/1ed57865..333a5972

Please follow these instructions for assigning/CC'ing issues:
https://github.com/v8/v8/wiki/Triaging%20issues

Please close rolling in case of a roll revert:
https://v8-roll.appspot.com/
This only works with a Google account.

CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel

<email address hidden>,<email address hidden>,<email address hidden>,<email address hidden>

Review-Url: https://codereview.chromium.org/2696563005
Cr-Commit-Position: refs/heads/master@{#450279}

c8a73d7... by yosin <email address hidden>

Convert layout test move-up-down-should-skip-hidden-elements.html to performance test

This patch converts layout test "move-up-down-should-skip-hidden-elements.html"
to performance tests, move line up and move line down, since this layout test
measures verifies execution speed regression. Using performance test is easier
to track performance regression than detecting timeout in layout test.

BUG=691841
TEST=n/a; no behavior changes

Review-Url: https://codereview.chromium.org/2689183003
Cr-Commit-Position: refs/heads/master@{#450278}

977fe14... by hiroshige <email address hidden>

[Script Spec Annotation] Annotate Steps 15--20 and 22 of "prepare a script"

BUG=686281

Review-Url: https://codereview.chromium.org/2691123003
Cr-Commit-Position: refs/heads/master@{#450277}

8375e5c... by Dan Beam <email address hidden>

MD Settings: fix vulcanize build ONCE AND FOR ALL

<email address hidden>
BUG=673825
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation

Review-Url: https://codereview.chromium.org/2691043006 .
Cr-Commit-Position: refs/heads/master@{#450276}

2302333... by catapult-deps-roller <email address hidden>

Roll src/third_party/catapult/ 7f34a592a..9134d10b4 (1 commit).

https://chromium.googlesource.com/external/github.com/catapult-project/catapult.git/+log/7f34a592a680..9134d10b4c6c

$ git log 7f34a592a..9134d10b4 --date=short --no-merges --format='%ad %ae %s'
2017-02-13 benjhayden Add "merged to" RelatedHistogramSet.

Created with:
  roll-dep src/third_party/catapult

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, see:
http://www.chromium.org/developers/tree-sheriffs/sheriff-details-chromium#TOC-Failures-due-to-DEPS-rolls

CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel
<email address hidden>

Review-Url: https://codereview.chromium.org/2694973002
Cr-Commit-Position: refs/heads/master@{#450275}

8c3140e... by michaeldo <email address hidden>

Rename CRIWVWebsiteDataStore to CWVWebsiteDataStore.

BUG=690807

Review-Url: https://codereview.chromium.org/2697453007
Cr-Commit-Position: refs/heads/master@{#450274}

e26c095... by meade <email address hidden>

Convert some fontfaceset tests to use jsharness

This was basically an exercise for me in learning about how FontFace and
promise_test works.

Review-Url: https://codereview.chromium.org/2629543004
Cr-Commit-Position: refs/heads/master@{#450273}