- 05 Nov, 2014 3 commits
-
-
bashi@chromium.org authored
Some specs use union type attributes. For example, TrackEvent[1] has 'track' attribute, of which type is (VideoTrack or AudioTrack or TextTrack). Let's support union type attributes so that we can reduce custom bindings. Follow-up CLs will replace custom bindings if possible. BUG=240176 Review URL: https://codereview.chromium.org/704503002 git-svn-id: svn://svn.chromium.org/blink/trunk@184847 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
wangxianzhu@chromium.org authored
http://src.chromium.org/viewvc/blink?view=revision&revision=184840 BUG=428189 TBR=bokan@chromium.org Review URL: https://codereview.chromium.org/701783006 git-svn-id: svn://svn.chromium.org/blink/trunk@184846 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
pdr@chromium.org authored
This patch devirtualizes animatedLocalTransform and renames it calculateAnimatedLocalTransform to emphasize that it is not cheap. SVGGraphicsElement::animatedLocalTransform was virtual to support SVGTextElement's special transform code. The text-specific transform code is only in an infrequently-taken codepath (style && style->hasTransform()) so we can actually improve performance by devirtalizing and combining the two transform codepaths. The real benefit is code simplification though. Secondly, I've renamed this function to make it clear that it is not a simple lookup. BUG=429551 Review URL: https://codereview.chromium.org/693423002 git-svn-id: svn://svn.chromium.org/blink/trunk@184845 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
- 04 Nov, 2014 29 commits
-
-
scheib@chromium.org authored
Review URL: https://codereview.chromium.org/695563008 git-svn-id: svn://svn.chromium.org/blink/trunk@184844 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
rob.buis@samsung.com authored
This code just is the hasOneTextChild logic, so to avoid confusion use that instead. Review URL: https://codereview.chromium.org/692153002 git-svn-id: svn://svn.chromium.org/blink/trunk@184843 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
wangxianzhu@chromium.org authored
http://src.chromium.org/viewvc/blink?view=revision&revision=184838 BUG=416535 TBR=wangxianzhu@chromium.org Review URL: https://codereview.chromium.org/703473005 git-svn-id: svn://svn.chromium.org/blink/trunk@184842 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
wangxianzhu@chromium.org authored
http://src.chromium.org/viewvc/blink?view=revision&revision=184836 BUG=425872 TBR=chrishtr@chromium.org Review URL: https://codereview.chromium.org/685243003 git-svn-id: svn://svn.chromium.org/blink/trunk@184841 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
bokan@chromium.org authored
The svg test turned out to simply need a rebaseline as the scrollbars should no longer show up in layout tests. The autoresize test was off by 1 pixel. This was happening because in virtual viewport mode we size the main FrameView's width to the content size and the height by the aspect ratio. This meant that the height would have some tiny error in some aspect ratios which would get blown up to a full pixel when we returned an expandedIntSize in PageScaleConstraintsSet::mainFrameSize. This is fixed by explicitly setting the FrameView size equal to the viewport size if the content width matches the viewport width. BUG=428189 Review URL: https://codereview.chromium.org/699253002 git-svn-id: svn://svn.chromium.org/blink/trunk@184840 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
scheib@chromium.org authored
In three patches the initial mock implementation of bluetooth.requestDevice is implemented across blink & content. This allows layout tests to specify the data responses the mock implemented in content should return via testRunner.SetBluetoothMockDataSet and call bluetooth.requestDevice with the expected results. crrev.com/650613005 blink::WebBluetooth & WebBluetoothError interfaces. crrev.com/702593002 content::WebBluetoothImpl & testRunner.SetBluetoothMockDataSet. crrev.com/686813003 blink::BluetoothDiscovery::requestDevice implemented. BUG=420284 Review URL: https://codereview.chromium.org/650613005 git-svn-id: svn://svn.chromium.org/blink/trunk@184839 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
wangxianzhu@chromium.org authored
This reverts commit 20feb3edc199015a96b39c081d50a083cf39ac87. We still can't clearly distinguish invalidations for container layer and scrolling contents layer. For example, crbug.com/429845, the shadow div of an editor is scrollable, but the editor invalidates itself to update selection, caret and content; With the change, the invalidation will happen on the container only. Revert first and try to find a good solution. Perhaps we can just wait for slimming paint. Still keep the layout tests added in the original change but will be rebaselined. TBR=vollick@chromium.org,chrishtr@chromium.org,dsinclair@chromium.org BUG=416535,429845 Review URL: https://codereview.chromium.org/701873002 git-svn-id: svn://svn.chromium.org/blink/trunk@184838 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
jrummell@chromium.org authored
These tests appear to be running normally now on the Mac Oilpan clients. BUG=370586 TEST=flakiness dashboard all green for these tests Review URL: https://codereview.chromium.org/685983006 git-svn-id: svn://svn.chromium.org/blink/trunk@184837 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
chrishtr@chromium.org authored
To do this, add a method to request full paint invalidation on FrameView. This also requires moving the full invalidation code into invalidateTreeIfNeeded() instead of layout(), since otherwise the invalidation requested will not always happen if layout does not occur. In any case, invalidation should be in invalidateTreeIfNeeded(), not layout(). BUG=425872 Review URL: https://codereview.chromium.org/683373002 git-svn-id: svn://svn.chromium.org/blink/trunk@184836 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yhirano@chromium.org authored
"Threadable" in class names came from core/loader (e.g. ThreadableLoader), but it doesn't have any meaning in modules/websockets. This CL drops that adjective from class names. R=tyoshino,mkwst BUG=NONE Review URL: https://codereview.chromium.org/701753002 git-svn-id: svn://svn.chromium.org/blink/trunk@184835 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
rijubrata.bhaumik@intel.com authored
Using C++11 range-based loop. Using ">>" instead of "> >" in templates. Using nullptr instead of 0. BUG=none TEST=no layout test failures Review URL: https://codereview.chromium.org/656723005 git-svn-id: svn://svn.chromium.org/blink/trunk@184834 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
chrishtr@chromium.org authored
This was broken in crrev.com/653303003. There is no test for the latter, but that code is not live yet. Punting to mstensho@opera.com. BUG=425030 Review URL: https://codereview.chromium.org/694753004 git-svn-id: svn://svn.chromium.org/blink/trunk@184831 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
siva.gunturi@samsung.com authored
For example, vendor, renderer, driver version, etc.This way a developer can gather data on what platforms the app fails to run. This needs changes on both blink and chromium. Below steps are followed to implement this 1. Add basic headers in blink. 2. Add the necessary apis in chromium. 3. Start using this in WebglRenderingContxt.cpp. This patch represents step-3 in this process. BUG=412440 Review URL: https://codereview.chromium.org/695563003 git-svn-id: svn://svn.chromium.org/blink/trunk@184830 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
junov@chromium.org authored
BUG=386601 Review URL: https://codereview.chromium.org/689153004 git-svn-id: svn://svn.chromium.org/blink/trunk@184829 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yukishiino@chromium.org authored
Window.idl declares that Window is ImplementedAs=LocalDOMWindow. It also declares self/window/frames/opener/parent/top attributes return Window, so LocalDOMWindow::self/window/frames/opener/parent/ top member functions must return LocalDOMWindow, not DOMWindow. dcheng@, you can change Window.idl to declare ImplementedAs=DOMWindow instead of LocalDOMWindow, if necessary. Otherwise, please keep the consistency here. BUG=425623 Review URL: https://codereview.chromium.org/700803002 git-svn-id: svn://svn.chromium.org/blink/trunk@184827 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
marja@chromium.org authored
It's possible that Resource::encoding() changes once we receive data. This requires moving the creation of v8::ScriptCompiler::StreamedSource and SourceStream forward in time (we need to know the encoding to create them). Additional fix: m_cachedDataType was not initialized properly. BUG=428137 Review URL: https://codereview.chromium.org/700543002 git-svn-id: svn://svn.chromium.org/blink/trunk@184826 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
andersr@opera.com authored
The only notable change is setting column-gap explicitly. R=mstensho@opera.com BUG=386567 Review URL: https://codereview.chromium.org/696273002 git-svn-id: svn://svn.chromium.org/blink/trunk@184825 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
bashi@chromium.org authored
(ArrayBuffer or ArrayBufferView) is a common union type usage. For example, CSS font loading[1] and fetch API[2] use it. Implement and use them for FontFace constructor. Change for FontFace is covered by fast/css/fontface-arraybuffer.html This CL also fixed two minor bugs: - Collect union types from constructors (we didn't before) - We need to use 'implemented_as' for forward class declarations, instead of 'name'. [1] http://dev.w3.org/csswg/css-font-loading/#fontface-interface [2] https://fetch.spec.whatwg.org/#body-mixin BUG=240176 Review URL: https://codereview.chromium.org/699713003 git-svn-id: svn://svn.chromium.org/blink/trunk@184824 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
jww@chromium.org authored
Inspired by changes in https://codereview.chromium.org/700463003/, this CL cleans up a few loops where there was an ugly sizeof() calculation needed. The new C++11 for-each style makes these unnecessary, thus making the code more readable and less brittle. R=mkwst@chromium.org Review URL: https://codereview.chromium.org/680393005 git-svn-id: svn://svn.chromium.org/blink/trunk@184823 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
mkwst@chromium.org authored
Pathalogical cases broke CSP's hash parsing code. This patch adds some bounds checking to ensure that we don't run off the end of the string in some edge cases. BUG=427397 Review URL: https://codereview.chromium.org/700463003 git-svn-id: svn://svn.chromium.org/blink/trunk@184822 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
pdr@chromium.org authored
This patch implements the basic paint slimming update algorithm as described in [1]. The basic goal of the paint slimming update is to merge new display items with the existing display items. By tracking invalidations and using the paint order implied by the existing paint list, an updated paint list can be created with a single walk through both lists. [1] https://docs.google.com/a/chromium.org/document/d/1w9vjJSV9Itk9UjhuaOMIIhd_LDYAfHbMepkwV5ZNPUI/edit#heading=h.gcmtb6aof29f Review URL: https://codereview.chromium.org/697543002 git-svn-id: svn://svn.chromium.org/blink/trunk@184821 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
sataya.m@samsung.com authored
This CL adds histogram statistics for the following CustomScrollbar-related CSS selectors. - CSSSelectorPseudoScrollbar - CSSSelectorPseudoScrollbarButton - CSSSelectorPseudoScrollbarThumb - CSSSelectorPseudoScrollbarTrack - CSSSelectorPseudoScrollbarTrackPiece Review URL: https://codereview.chromium.org/693803002 git-svn-id: svn://svn.chromium.org/blink/trunk@184820 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
paritosh.in@samsung.com authored
This is a merge of http://trac.webkit.org/changeset/175117 by zandobersek@gmail.com BUG=425730 Review URL: https://codereview.chromium.org/694283002 git-svn-id: svn://svn.chromium.org/blink/trunk@184819 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
aelias@chromium.org authored
The pinch viewport visibleRect is snapped to LayoutRect in RenderBox::scrollRectToVisible, but it remained at full precision FloatRect when used in PinchViewport::scrollIntoView. This caused a small scroll in cases that should've been a no-op. This changes PinchViewport::scrollIntoView to cast visibleRect() to a LayoutRect before using it, fixing the issue by making the imprecision cancel out. I also changed the argument rect to a LayoutRect to avoid the reverse problem of too much precision in that one in the future. NOTRY=true BUG=428826 Review URL: https://codereview.chromium.org/678153003 git-svn-id: svn://svn.chromium.org/blink/trunk@184818 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yhirano@chromium.org authored
As the new WebSocket implementation is used as default and the old one was deleted, NewWebSocketChannelImpl is not an appropriate name. BUG=423201 R=ricea@chromium.org Review URL: https://codereview.chromium.org/690883002 git-svn-id: svn://svn.chromium.org/blink/trunk@184817 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
wangxianzhu@chromium.org authored
http://src.chromium.org/viewvc/blink?view=revision&revision=184812 BUG=386601 TBR=junov@chromium.org Review URL: https://codereview.chromium.org/704473002 git-svn-id: svn://svn.chromium.org/blink/trunk@184816 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
bashi@chromium.org authored
This is a follow-up CL of https://codereview.chromium.org/689013002 v8_union.py and v8_dictionary.py create a same flag from the same condition. This should be a property of IdlType. BUG=240176 Review URL: https://codereview.chromium.org/700603003 git-svn-id: svn://svn.chromium.org/blink/trunk@184814 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
junov@chromium.org authored
BUG=386601 Review URL: https://codereview.chromium.org/687363003 git-svn-id: svn://svn.chromium.org/blink/trunk@184812 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
seanmccullough@chromium.org authored
Adds a link in the toolbar to http://www.chromium.org/developers/tree-sheriffs/sheriff-details-chromium BUG=420469 Review URL: https://codereview.chromium.org/696813002 git-svn-id: svn://svn.chromium.org/blink/trunk@184811 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
- 03 Nov, 2014 8 commits
-
-
skobes@chromium.org authored
BUG=417782 Review URL: https://codereview.chromium.org/691863003 git-svn-id: svn://svn.chromium.org/blink/trunk@184810 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
jrummell@chromium.org authored
EME tests were changed to avoid the problem where a message event occurs before the second needkey event. Removing the tests that had this issue from the list of flaky tests. BUG=407993 TEST=flakiness dashboard all green for these tests Review URL: https://codereview.chromium.org/700663003 git-svn-id: svn://svn.chromium.org/blink/trunk@184809 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
timloh@chromium.org authored
getPropertyCSSValue, CSSValue, etc. are no longer exposed to the web. This patch removes the tests which exist only to test this functionality. BUG=428595 Review URL: https://codereview.chromium.org/689323002 git-svn-id: svn://svn.chromium.org/blink/trunk@184808 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
morrita@chromium.org authored
TBR=horo@chromium.org BUG=429874 NOTRY=true Review URL: https://codereview.chromium.org/686343003 git-svn-id: svn://svn.chromium.org/blink/trunk@184807 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
avayvod@chromium.org authored
BUG=412331 Review URL: https://codereview.chromium.org/685263003 git-svn-id: svn://svn.chromium.org/blink/trunk@184806 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
morrita@chromium.org authored
NOTRY=true TBR=aberent@chromium.org BUG=429843 Review URL: https://codereview.chromium.org/697253002 git-svn-id: svn://svn.chromium.org/blink/trunk@184805 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
rob.buis@samsung.com authored
This early return was protecting against SVG Font usage, however SVG Fonts were removed in https://codereview.chromium.org/656913006, so convert into an ASSERT instead and remove the outdated comment. Review URL: https://codereview.chromium.org/684463004 git-svn-id: svn://svn.chromium.org/blink/trunk@184804 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
watk@chromium.org authored
Previously when an HTMLMediaElement received focus, the media controls would be shown regardless of whether 'controls' was set. It's possible for an HTMLMediaElement to receive focus despite not having 'controls' set, if it has a 'tabindex'. BUG=424625 Review URL: https://codereview.chromium.org/692643002 git-svn-id: svn://svn.chromium.org/blink/trunk@184803 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-