- 27 Aug, 2015 40 commits
-
-
joelo@chromium.org authored
http://src.chromium.org/viewvc/blink?view=revision&revision=201287 BUG=524547 TBR=chrishtr@chromium.org Review URL: https://codereview.chromium.org/1317143003 . git-svn-id: svn://svn.chromium.org/blink/trunk@201334 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
aelias@chromium.org authored
Revert of Replace pinch scrollbars with regular scrollbars. (patchset #10 id:180001 of https://codereview.chromium.org/1308053003/ ) Reason for revert: Introduced ChromeDriver devtools mobile emulation crash https://code.google.com/p/chromedriver/issues/detail?id=1205 Original issue's description: > Replace pinch scrollbars with regular scrollbars. > > This patch makes the visual-viewport-managed scrollbars exclusive to > Android and improves normal scrollbars to be usable during pinch as follows: > > 1. Attach the scrollbar layers to the visual viewport, so they're always > onscreen as you zoom in (as already shipped on Mac). > 2. Set the container layer to the inner clip layer, so that the size and > position of the thumb reflects the sum of the two viewports, > instead of just the layout viewport. > > Note that result of these changes is visually indistiguishable at > minimum page scale. It only improves the behavior when zoomed in. > > BUG=523056 > > Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201285 TBR=rbyers@chromium.org,skobes@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=523056 Review URL: https://codereview.chromium.org/1318603005 git-svn-id: svn://svn.chromium.org/blink/trunk@201333 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
alph@chromium.org authored
BUG=525377 Review URL: https://codereview.chromium.org/1314393003 git-svn-id: svn://svn.chromium.org/blink/trunk@201332 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dgozman@chromium.org authored
BUG=none Review URL: https://codereview.chromium.org/1316033003 git-svn-id: svn://svn.chromium.org/blink/trunk@201331 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yhirano@chromium.org authored
This series of CLs fixes WebCallback parameter types used in BackgroundSync. - WebSyncRegistration* (ownership transferred) => PassOwnPtr<WebServiceWorkerResponse> - bool* (ownership transferred) => bool - WebVector<WebSyncRegstration*>* (ownership transferred) => const WebVector<WebSyncRegistration*>& - WebPermissionStatus* (ownership transferred) => WebPermissionStatus - WebSyncError* (ownership transferred) => const WebSyncError& 1/4: https://codereview.chromium.org/1309143002/ 2/4: https://codereview.chromium.org/1311053002/ 3/4: https://codereview.chromium.org/1308273002/ 4/4: https://codereview.chromium.org/1308283002/ BUG=493531 Review URL: https://codereview.chromium.org/1308283002 git-svn-id: svn://svn.chromium.org/blink/trunk@201330 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
robhogan@gmail.com authored
In https://codereview.chromium.org/1065563005 we started allowing whitespace inside anonymous table cells. We're only interested in anonymous table cells that were generated to contain non-table-part content. If the anonymous cell was generated to contain a form element with display:table-cell, for example, then that is not a situation where we want to treat any whitespace before and after the form element as renderable. BUG=515771 Review URL: https://codereview.chromium.org/1280123004 git-svn-id: svn://svn.chromium.org/blink/trunk@201329 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
wangxianzhu@chromium.org authored
These suites runs about 1000 layout tests as smoking tests for spv2. BUG=524134 Review URL: https://codereview.chromium.org/1307293002 git-svn-id: svn://svn.chromium.org/blink/trunk@201328 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
xlai@chromium.org authored
Changes include: (1) HTMLCanvasElement: The toBlob function is implemented in a similar fashion as the existing toDataURL function, taking in parameters like mimeType and qualityArgument. It has an additional argument FileCallback which accepts user-defined callback function. (2) ImageDataBuffer: encodeImage is made public. (3) File: A new create factory method is added to allow HTMLCanvasElement to create a new File object using the blob data. File object is a subtype of Blob object; it has two additional attributes -- name, last modification time -- as compared to Blob. We use empty string and current time to fill in these two attributes; FF creates the latter attribute in the same way. (4) FileCallback: Moved from module/ to core/. BUG=67587 Review URL: https://codereview.chromium.org/1257253004 git-svn-id: svn://svn.chromium.org/blink/trunk@201327 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
pdr@chromium.org authored
This patch refactors ObjectPainter::paintOutline to take a visual overflow rect and layout size (w/o paint offset), plus a paint offset. This cleans up the callsites so each doesn't need to compute a moved visual overflow rect, and prepares the paint code for paint offset caching. This has been split off from https://codereview.chromium.org/1315993004. A TODO has been added above outlineRectForSVG because the function should not exist. paintInvalidationRectInLocalCoordinates should be fixed to contain the outline extent. BUG=508383 Review URL: https://codereview.chromium.org/1321613002 git-svn-id: svn://svn.chromium.org/blink/trunk@201326 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
rmcilroy@chromium.org authored
BUG=525300 Review URL: https://codereview.chromium.org/1319983003 git-svn-id: svn://svn.chromium.org/blink/trunk@201325 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
chrishtr@chromium.org authored
Also clean up unused option parameters to DPL::boundingBoxForCompositing. BUG=460195 Review URL: https://codereview.chromium.org/1313953006 git-svn-id: svn://svn.chromium.org/blink/trunk@201324 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
majidvp@chromium.org authored
Viewport size determines the scroll clamp boundaries so when it changes, we should retry any pending scroll restoration in case it is blocked due to clamping. This can happen when page scale changes. Removed |FrameView::clampOffsetAtScale| as it was only ever used with scale 1 and could be replaces with |ScrollableArea::clampScrollPosition|. FrameView calls the restore method directly making it unnecessary for ChromeClient to be involved. BUG=522153 Review URL: https://codereview.chromium.org/1300393003 git-svn-id: svn://svn.chromium.org/blink/trunk@201323 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
caseq@chromium.org authored
Related chromium-side change: https://codereview.chromium.org/1307073002 BUG=456845 Review URL: https://codereview.chromium.org/1307863003 git-svn-id: svn://svn.chromium.org/blink/trunk@201322 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yhirano@chromium.org authored
- WebServiceWorkerRegistration* (ownership transferred) => WebPassOwnPtr<WebServiceWorkerRegistration> - WebVector<WebServiceWorkerRegistration*> (ownership transferred) => WebPassOwnPtr<WebVector<WebServiceWorkerRegistration*>> - WebServiceWorkerError* (ownership transferred) => const WebServiceWorkerError& This CL also fixes a memory leak in GetRegistrationsCallback::onSuccess. 1/3: https://codereview.chromium.org/1312343004/ 2/3: https://codereview.chromium.org/1318953002/ 3/3: https://codereview.chromium.org/1316293002/ BUG=493531, 525340 Review URL: https://codereview.chromium.org/1312343004 git-svn-id: svn://svn.chromium.org/blink/trunk@201321 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
peter@chromium.org authored
NOTRY=true BUG=525286 Review URL: https://codereview.chromium.org/1311453003 git-svn-id: svn://svn.chromium.org/blink/trunk@201320 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
fs@opera.com authored
LayoutSVGText::locateRenderSVGTextAncestor returns a LayoutSVGText*, so widening it to LayoutObject only serves to lose information - for the primary benefit of "interface hiding". This in turn mean that some calls can be devirtualized. Also restructure the methods themselves to avoid stating the predicate twice (negated and not.) Review URL: https://codereview.chromium.org/1308983006 git-svn-id: svn://svn.chromium.org/blink/trunk@201319 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
peter@chromium.org authored
Revert of SegmentedString::push() should always push a char in front (patchset #2 id:20001 of https://codereview.chromium.org/1308573006/ ) Reason for revert: HTMLEntityParserTest.ConsumeHTMLEntityIncomplete fails on two Win bots The newly added test is failing on WebKit Win7 (dbg) and WebKit Win Oilpan (dbg) with the following message: [ RUN ] HTMLEntityParserTest.ConsumeHTMLEntityIncomplete ASSERTION FAILED: !notEnoughCharacters Sorry for the revert! Full output @ http://goo.gl/tnYH67 Original issue's description: > SegmentedString::push() should always push a char in front > > Before this CL, SegmentedString::push() had an exotic behavior, where > two consecutive push would swap its order. > > This CL changes the push() implementation so that it would always push > the new char in front of the SegmentedString. > This CL also updates the HTMLEntityParser code which relied on the behavior. > > BUG=None > TEST={SegmentedStringTest,HTMLEntityParserTest}.* > > Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201294 TBR=tasak@google.com,tzik@chromium.org,tkent@chromium.org,yosin@chromium.org,kouhei@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=None Review URL: https://codereview.chromium.org/1311043004 git-svn-id: svn://svn.chromium.org/blink/trunk@201318 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
johnme@chromium.org authored
Several notifications layout tests misues assert_object_equals, passing in non-object values, and assuming it will behave like assert_equals. Spoiler - it doesn't: assert_object_equals(true, false) passes! BUG=none Review URL: https://codereview.chromium.org/1321643002 git-svn-id: svn://svn.chromium.org/blink/trunk@201317 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
nhiroki@chromium.org authored
Currently CacheQueryOptions(ignoreSearch, ignoreMethod, ignoreVary) are not supported on Cache.match/matchAll/delete/keys and CacheStorage.match, but these APIs can accept the options and just drop them internally. This CL makes these APIs show a warning message when unsupported options are specified. BUG=426309, 499216, 482256, 520784 Review URL: https://codereview.chromium.org/1320823003 git-svn-id: svn://svn.chromium.org/blink/trunk@201316 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
mstensho@opera.com authored
When applying any other property than "all", we already perform this whitelist check, but applying "all" is a separate code path, and the checks were missing there. BUG=524682 R=rune@opera.com Review URL: https://codereview.chromium.org/1304123006 git-svn-id: svn://svn.chromium.org/blink/trunk@201315 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
hendrikw@chromium.org authored
BUG=497522 Review URL: https://codereview.chromium.org/1299323005 git-svn-id: svn://svn.chromium.org/blink/trunk@201314 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
peria@chromium.org authored
Remove a raw pointer to a PlatformEventController instance in PlatformEventDispatcher on Oilpan build BUG=509911 Review URL: https://codereview.chromium.org/1301543002 git-svn-id: svn://svn.chromium.org/blink/trunk@201313 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yhirano@chromium.org authored
This series of CLs fixes WebCallback parameter types used in BackgroundSync. - WebSyncRegistration* (ownership transferred) => PassOwnPtr<WebServiceWorkerResponse> - bool* (ownership transferred) => bool - WebVector<WebSyncRegstration*>* (ownership transferred) => const WebVector<WebSyncRegistration*>& - WebPermissionStatus* (ownership transferred) => WebPermissionStatus - WebSyncError* (ownership transferred) => const WebSyncError& 1/4: https://codereview.chromium.org/1309143002/ 2/4: https://codereview.chromium.org/1311053002/ 3/4: https://codereview.chromium.org/1308273002/ 4/4: https://codereview.chromium.org/1308283002/ BUG=493531 Review URL: https://codereview.chromium.org/1311053002 git-svn-id: svn://svn.chromium.org/blink/trunk@201312 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
rune@opera.com authored
This is a regression from r201058. We incorrectly marked the shadow root node for style recalc instead of the host. Marking the host is necessary to apply new :host rules. R=esprehn@chromium.org BUG=525280 Review URL: https://codereview.chromium.org/1311463004 git-svn-id: svn://svn.chromium.org/blink/trunk@201311 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
kojii@chromium.org authored
imported csswg-test@70d47dff45667002f8acdbd137f8cf2b04109365 imported web-platform-tests@1831450b96c77f1b8fa631f6987e3bc1e4eacf8e * css-color-4 was added and skipped. * 1 file to skip was renamed. * 6 tests no longer fail and removed from TestExpectations - 1 in html/semantics/embedded-content - 4 in shadow-dom - 1 in css-writing-modes-3 TBR=dpranke@chromium.org,jsbell@chromium.org,tkent@chromium.org,hayato@chromium.org,kochi@chromium.org BUG=490511, 492664, 505364 Review URL: https://codereview.chromium.org/1313623003 git-svn-id: svn://svn.chromium.org/blink/trunk@201310 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
johnme@chromium.org authored
Depends on https://codereview.chromium.org/1316093003 BUG=none Review URL: https://codereview.chromium.org/1309273006 git-svn-id: svn://svn.chromium.org/blink/trunk@201309 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
alexclarke@chromium.org authored
Fixes a race that would occur if the blink scheduler wanted to prioritize loading tasks. BUG=510398 Review URL: https://codereview.chromium.org/1318463004 git-svn-id: svn://svn.chromium.org/blink/trunk@201308 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yosin@chromium.org authored
This patch changes reference type style to follow other files in Blink, e.g. move |&| just after type name without a space for improving code health. This patch is a preparation of making selection to handle granularity for web component, http://crrev.com/1277863002 BUG=513568 TEST=n/a; No behavior changes Review URL: https://codereview.chromium.org/1310493003 git-svn-id: svn://svn.chromium.org/blink/trunk@201307 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
sigbjornf@opera.com authored
R=haraken BUG=524261 Review URL: https://codereview.chromium.org/1309673004 git-svn-id: svn://svn.chromium.org/blink/trunk@201306 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
sigbjornf@opera.com authored
GlobalFetch::ScopedFetcher instances are heap objects, so avoid using WeakPtr<>s over those. Also switch over to using WeakPtr* transition types where possible. R=haraken BUG=509911 Review URL: https://codereview.chromium.org/1320563003 git-svn-id: svn://svn.chromium.org/blink/trunk@201305 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yosin@chromium.org authored
This patch moves a member function |intersectsNode()| out from |VisibleSelection| class as a preparation of templatizing |VisibleSelection| for introducing composed tree version of |VisibleSelection|. This patch is a preparation of making selection to handle granularity for web component, http://crrev.com/1277863002 BUG=513568 TEST=n/a; No behavior changes Review URL: https://codereview.chromium.org/1316303002 git-svn-id: svn://svn.chromium.org/blink/trunk@201304 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yosin@chromium.org authored
This patch introduces |PositionInComposedTree| version of |enclosingBlock()| by introducing template function |enclosingBlockAlgorithm()|. This patch is a preparation of making selection to handle granularity for web component, http://crrev.com/1277863002 BUG=513568 TEST=webkit_unit_tests --gtest_filter=EditingUtilitiesTest.enclosingBlock Review URL: https://codereview.chromium.org/1310073006 git-svn-id: svn://svn.chromium.org/blink/trunk@201303 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yosin@chromium.org authored
This patch moves global function |lowestEditableAncestor()| in "EditingUtilities.{cpp,h}" to local function in "VisibleSelection.cpp" to narrow visibility for improving code health and ease of implement composed tree version. This patch is a preparation of making selection to handle granularity for web component, http://crrev.com/1277863002 BUG=513568 TEST=n/a; No behavior changes Review URL: https://codereview.chromium.org/1318943002 git-svn-id: svn://svn.chromium.org/blink/trunk@201302 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yoichio@chromium.org authored
BUG=523952 Review URL: https://codereview.chromium.org/1312733003 git-svn-id: svn://svn.chromium.org/blink/trunk@201301 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yosin@chromium.org authored
This patch makes |RenderedPosition| constructor with |VisiblePosition| parameter simpler by using delegating constructor for improving code helath. This patch is a preparation of making selection to handle granularity for web component, http://crrev.com/1277863002 BUG=513568 TEST=n/a; No behavior changes Review URL: https://codereview.chromium.org/1320543003 git-svn-id: svn://svn.chromium.org/blink/trunk@201300 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yhirano@chromium.org authored
This CL fixes memory leaks caused by not calling disposePerContextData on ScriptState. BUG=524875 Review URL: https://codereview.chromium.org/1314333002 git-svn-id: svn://svn.chromium.org/blink/trunk@201299 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tasak@google.com authored
Added STATIC_ONLY, STACK_ALLOCATED, DISALLOW_ALLOCATION, or ALLOW_ONLY_INLINE_ALLOCATION instead of WTF_MAKE_FAST_ALLOCATED(_WILL_BE_REMOVED) if possible. BUG=523249 Review URL: https://codereview.chromium.org/1318713003 git-svn-id: svn://svn.chromium.org/blink/trunk@201298 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yoichio@chromium.org authored
Replace null with isNull in comment because 'null' means nullptr typically. We prefer not to use double negation so reverse impl in isNull and isNotNull. It gets straightforward. BUG= Review URL: https://codereview.chromium.org/1318913004 git-svn-id: svn://svn.chromium.org/blink/trunk@201297 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
kinuko@chromium.org authored
BUG=n/a R=tyoshino@chromium.org Review URL: https://codereview.chromium.org/1316523003 git-svn-id: svn://svn.chromium.org/blink/trunk@201296 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
chrishtr@chromium.org authored
In a couple of places, we now have a larger cull rect bound for drawing recorders because of using enclosingIntRect. This is always safe to do. BUG=524259 Review URL: https://codereview.chromium.org/1316163002 git-svn-id: svn://svn.chromium.org/blink/trunk@201295 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-