- 23 Oct, 2014 40 commits
-
-
lushnikov@chromium.org authored
As action system handles global shortcuts asynchronously, it optimistically captures event to prevent the default browser action. This behavior results in unfunctioning zoom in/out shortcuts in hosted mode. The patch adds a workaround which doesn't let the action system a chance to step in and prevent default behavior for the zooming shortcuts in hosted mode. R=pfeldman Review URL: https://codereview.chromium.org/670303002 git-svn-id: svn://svn.chromium.org/blink/trunk@184274 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
jbroman@chromium.org authored
If the entire text is selected, then we can safely share the text blob with the unselected version. BUG=377845 Review URL: https://codereview.chromium.org/672713002 git-svn-id: svn://svn.chromium.org/blink/trunk@184273 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
vsevik@chromium.org authored
R=lushnikov Review URL: https://codereview.chromium.org/667163002 git-svn-id: svn://svn.chromium.org/blink/trunk@184272 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
fmalita@chromium.org authored
Instead of building an ImageBuffer tile (with all the ills of record time rasterization), build a DisplayList tile and use Skia's new SkPictureShader mechanism to fill/stroke the shape. To facilitate this, Pattern is extended to support both bitmap and picture shaders (the latter only in repeatXY mode -- the only mode currently used by SVG). Patterns (and their SkShaders) are cached per RenderSVGResourcePattern per client. Internally, SkPictureShader also caches its rasterized tile so there should be no performance degradation. A handful of tests (about 9) require minor rebaselining (and a couple have been updated for incorrect patternUnits). R=pdr@chromium.org,schenney@chromium.org,fs@opera.com,ed@opera.com BUG=401814,425278 Review URL: https://codereview.chromium.org/453653003 git-svn-id: svn://svn.chromium.org/blink/trunk@184271 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
kozyatinskiy@google.com authored
R=vsevik@chromium.org BUG=424479 Review URL: https://codereview.chromium.org/644073003 git-svn-id: svn://svn.chromium.org/blink/trunk@184270 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
pdr@chromium.org authored
This patch adds layout invalidation tracking to the invalidation tracking experiment. Our full design doc is at: https://docs.google.com/document/d/1BXT3_gD--YdbIYMlTzNGsyUUMBCZJ7V5qGJhMA-pGrs/edit This patch implements the invalidation tracking logic for layout events. All layout invalidations are recorded and when a layout occurs they are collected and displayed to the user. Style invalidations occurring at the same time are not shown. This patch is a fairly straightforward extension of [1] but for layout events. The InspectorTest.findTimelineRecord function has been added for capturing the N-th event of a specific type and all other inspector tests updated to use it. [1] https://src.chromium.org/viewvc/blink?view=rev&revision=184212 BUG=410701 Review URL: https://codereview.chromium.org/671913005 git-svn-id: svn://svn.chromium.org/blink/trunk@184269 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
pfeldman@chromium.org authored
BUG=417275 Review URL: https://codereview.chromium.org/671463002 git-svn-id: svn://svn.chromium.org/blink/trunk@184268 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
vsevik@chromium.org authored
R=pfeldman Review URL: https://codereview.chromium.org/663083003 git-svn-id: svn://svn.chromium.org/blink/trunk@184267 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
mkwst@chromium.org authored
Also drive-by fixing the CSP ruleset. TBR=jochen@chromium.org Review URL: https://codereview.chromium.org/671183003 git-svn-id: svn://svn.chromium.org/blink/trunk@184266 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
mkwst@chromium.org authored
We settled on this compromise in https://src.chromium.org/viewvc/blink?revision=178148&view=revision and it regressed sometime between then and now. I've added a layout test (which I should have done in the first place) to ensure that doesn't happen again. This CL also changes the test driver to accept '.https.html' as an HTTPS-by-default toggle. This is a nice addition to the existing functionality that doesn't force us to put HTTPS-by-default tests into a separate directory. BUG=422213,318788 Review URL: https://codereview.chromium.org/657353002 git-svn-id: svn://svn.chromium.org/blink/trunk@184265 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
lushnikov@chromium.org authored
Autocompletion controller intialization makes almost half of the time of SourceFrame initialization. In order to render editor as fast as possible, this patch defers autocompletion initialization until the first need. BUG=425550 R=vsevik Review URL: https://codereview.chromium.org/670163002 git-svn-id: svn://svn.chromium.org/blink/trunk@184263 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
sudarsana.nagineni@intel.com authored
BUG=none Review URL: https://codereview.chromium.org/644663004 git-svn-id: svn://svn.chromium.org/blink/trunk@184262 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
kenneth.r.christiansen@intel.com authored
Review URL: https://codereview.chromium.org/674553002 git-svn-id: svn://svn.chromium.org/blink/trunk@184261 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
kouhei@chromium.org authored
Before this CL, "angle -> auto" animation was implemented but "auto -> angle" animation was not implemented. This CL implements the missing piece as a discrete animation as specified in the spec. BUG=425848 Review URL: https://codereview.chromium.org/672853002 git-svn-id: svn://svn.chromium.org/blink/trunk@184260 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
timloh@chromium.org authored
This patch removes the various leftovers of the original marquee implementation: - RenderObject::isMarquee - StyleMarqueeData - -internal-marquee-* - EMarquee* TBR=pfeldman Review URL: https://codereview.chromium.org/669553002 git-svn-id: svn://svn.chromium.org/blink/trunk@184259 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
fs@opera.com authored
To facilitate repurposing of RenderSVGResource for paint-server use, move RenderSVGResource::markForLayoutAndParentResourceInvalidation to RenderSVGResourceContainer. For reduced dependencies call through a method with the same name on SVGElement. BUG=420022 Review URL: https://codereview.chromium.org/669153002 git-svn-id: svn://svn.chromium.org/blink/trunk@184258 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
vsevik@chromium.org authored
We should perform the search in the newly selected editor after switching tabs. We should also postpone setting selection in the editor to the moment where it has synced its sized, otherwise we mess up the scroll position. BUG=413153 R=lushnikov@chromium.org, lushnikov Review URL: https://codereview.chromium.org/669043002 git-svn-id: svn://svn.chromium.org/blink/trunk@184257 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
caseq@chromium.org authored
- use "open" type for right end-point of selection interval (i.e. "[)", exlude the end value) - adjust window calculation to better match actual bars in the overview. BUG=426147 Review URL: https://codereview.chromium.org/676663002 git-svn-id: svn://svn.chromium.org/blink/trunk@184256 bbb929c8-8fbe-4397-9dbb-9b2b20218538 -
tkent@chromium.org authored
- BaseHeap::split() should return PassOwnPtr<BaseHeap>. - BaseHeap::merge() should take a PassOwnPtr<BaseHeap> argument. BUG=420515 TEST=None; No behavior changes. Review URL: https://codereview.chromium.org/669323002 git-svn-id: svn://svn.chromium.org/blink/trunk@184255 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
vogelheim@chromium.org authored
BUG= R=marja@chromium.org Review URL: https://codereview.chromium.org/669153004 git-svn-id: svn://svn.chromium.org/blink/trunk@184254 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
jochen@chromium.org authored
This simplifies the logic on the V8 side that tries to guess whether the idle notification comes from the compositor or from context disposal BUG=none R=ulan@chromium.org Review URL: https://codereview.chromium.org/666213004 git-svn-id: svn://svn.chromium.org/blink/trunk@184253 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tasak@google.com authored
For example, if we have "div { all: initial; color: red; }", the all property should be expanded to all properties with initial value, e.g. display: initial, except color. So the expected result is "div { display: initial; ... color: red; }". Spec of all property: http://dev.w3.org/csswg/css-cascade/#all-shorthand BUG=172051 TEST=fast/css/all-shorthand-css-text.html Review URL: https://codereview.chromium.org/341033003 git-svn-id: svn://svn.chromium.org/blink/trunk@184252 bbb929c8-8fbe-4397-9dbb-9b2b20218538 -
perkj@chromium.org authored
and RTCPeerConnection.onremovestream is called with a correct MediaStream. This is based on MockWebRtcPeerConnectionHandler. BUG=417245 Review URL: https://codereview.chromium.org/607523002 git-svn-id: svn://svn.chromium.org/blink/trunk@184251 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
bartekn@chromium.org authored
BUG=390485 Review URL: https://codereview.chromium.org/656683005 git-svn-id: svn://svn.chromium.org/blink/trunk@184250 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
jl@opera.com authored
We don't need the caching, and disabling it avoids cache coherency issues as well as leaving untracked files in the tree. BUG=426339 Review URL: https://codereview.chromium.org/646283004 git-svn-id: svn://svn.chromium.org/blink/trunk@184249 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
andersr@opera.com authored
R=mstensho@opera.com BUG=386567 Review URL: https://codereview.chromium.org/669603003 git-svn-id: svn://svn.chromium.org/blink/trunk@184248 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
caseq@chromium.org authored
We used to use hand-crafter mouse-up/move/down event processing to control layer 3d view pan/rotate which caused annoying text selection when mouse was moved out of original view. Let's use WebInspector.installDragHandle instead. BUG= Review URL: https://codereview.chromium.org/666963002 git-svn-id: svn://svn.chromium.org/blink/trunk@184247 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
perkj@chromium.org authored
Add the possibility to specify MediaStreamTrack::remote amd MediaStreamTrack::_readonly when creating a source. This is to support MediaStreamTrack::remote and MediaStreamTrack::_readonly as specified in http://w3c.github.io/mediacapture-main/getusermedia.html#widl-MediaStreamTrack-remote. Note that this does not updated the IDL file or add tests since I want to update the content parts before allowing JS to access these properties. BUG= 418540 Review URL: https://codereview.chromium.org/569613002 git-svn-id: svn://svn.chromium.org/blink/trunk@184246 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
fs@opera.com authored
The "content transform" is essentially a property of the call-site, and is hence invariant for a sequence of calls to renderSubtree. This means we ought to be able to save-mutate-restore (SMR) once per call-site, and not per call to renderSubtree. Achieve this by moving the SMR to a helper SubtreeContentTransformScope, and then instantiate objects where needed. This means the transform-logistics can be cleaned up a bit for some of the callers. BUG=420022 Review URL: https://codereview.chromium.org/666403002 git-svn-id: svn://svn.chromium.org/blink/trunk@184245 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dcheng@chromium.org authored
This is the first step towards providing RemoteFrames with a DOMWindow so things like postMessage() on a remote frame will work. This patch also moves Frame::setDOMWindow with a LocalDOMWindow to LocalFrame, since it's only called on a LocalFrame. The corresponding member has also been moved to LocalFrame, since it was never set to a non-null value for RemoteFrames anyway. BUG=425623 Review URL: https://codereview.chromium.org/640803004 git-svn-id: svn://svn.chromium.org/blink/trunk@184244 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eustas@chromium.org authored
BUG=426340 Review URL: https://codereview.chromium.org/641123005 git-svn-id: svn://svn.chromium.org/blink/trunk@184243 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
asanka@chromium.org authored
These tests exercise the following methods on Cache objects: * add * addAll * put * match * matchAll BUG=374802 Review URL: https://codereview.chromium.org/425413002 git-svn-id: svn://svn.chromium.org/blink/trunk@184242 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
apavlov@chromium.org authored
R=dgozman@chromium.org, pfeldman@chromium.org, dgozman Review URL: https://codereview.chromium.org/671913006 git-svn-id: svn://svn.chromium.org/blink/trunk@184240 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dongseong.hwang@intel.com authored
Currently, parseCompositeAndBlendOperator() doesn't recognize "normal". Fortunately, there are not bugs because all clients set blend mode to "normal" if this function fails. BUG=425656 Review URL: https://codereview.chromium.org/671713006 git-svn-id: svn://svn.chromium.org/blink/trunk@184239 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tkent@chromium.org authored
Clear the Persistent HeapHashMap at the end of HeapTest.FinalizationObserver. HeapTest.CheckAndMarkPointer assumes there are no Persistent objects, and triggers GC without visiting Persistent handles. If HeapTest.CheckAndMarkPointer is executed after HeapTest.FinalizationObserver, and a normal GC happens, a Visitor accesses deallocated memory pointed by the Persistent. BUG=none Review URL: https://codereview.chromium.org/676603002 git-svn-id: svn://svn.chromium.org/blink/trunk@184238 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
rjwright@chromium.org authored
This test case fails in the Web Animations Polyfill (https://github.com/web-animations/web-animations-next) so we moved it to its own file. We don't want these tests to fork into a polyfill version and a blink version, so I'm replicating the change here. BUG= Review URL: https://codereview.chromium.org/650543004 git-svn-id: svn://svn.chromium.org/blink/trunk@184237 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tasak@google.com authored
BUG=358074 Review URL: https://codereview.chromium.org/662063004 git-svn-id: svn://svn.chromium.org/blink/trunk@184236 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tkent@chromium.org authored
It is not used. BUG=420515 Review URL: https://codereview.chromium.org/672123002 git-svn-id: svn://svn.chromium.org/blink/trunk@184235 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tkent@chromium.org authored
This event indicates that parallelized sweeping doesn't work well. BUG=420515 TEST=None; No user-visible behavior changes. Review URL: https://codereview.chromium.org/672033003 git-svn-id: svn://svn.chromium.org/blink/trunk@184234 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
wangxianzhu@chromium.org authored
http://src.chromium.org/viewvc/blink?view=revision&revision=184229 BUG=421001 TBR=robhogan@gmail.com Review URL: https://codereview.chromium.org/672133002 git-svn-id: svn://svn.chromium.org/blink/trunk@184233 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-