- 25 Aug, 2015 40 commits
-
-
bokan@chromium.org authored
This is needed as a prerequisite to making "visual viewport scrolls first" the default. Scrolling the page before setting scale means that the layout viewport is the only one that could scroll. BUG=443724 Review URL: https://codereview.chromium.org/1301523006 git-svn-id: svn://svn.chromium.org/blink/trunk@201135 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
sergiyb@chromium.org authored
R=phajdan.jr@chromium.org BUG=511311 Review URL: https://codereview.chromium.org/1303063005 git-svn-id: svn://svn.chromium.org/blink/trunk@201134 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yosin@chromium.org authored
Make DOMSelection to use VisibleSelection::toNormalizedEphemeralRange() instead of toNormalizedRange() This patch changes |DOMSelection| class to use |toNormalizedEphemeralRange()| in |VisibleSelection| class instead of |toNormalizedRange()| as a preparation of templatizing |VisibleSelection| to use templatized positions instead of DOM position to represent range. 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/1315813002 git-svn-id: svn://svn.chromium.org/blink/trunk@201133 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yoav@yoav.ws authored
The HTMLSrcsetParser was using a non-compliant float parser (the one used by WTFString::charactersToFloat which is in wtf/dtoa/double-conversion). As a result some tests were failing. This CL switches it to use the decimal parser in HTMLParserIdioms. BUG=523159 Review URL: https://codereview.chromium.org/1306743003 git-svn-id: svn://svn.chromium.org/blink/trunk@201132 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
skobes@chromium.org authored
They failed because custom scrollbar styles didn't work correctly, which was fixed in http://crrev.com/1274073002. BUG=487948 Review URL: https://codereview.chromium.org/1312943002 git-svn-id: svn://svn.chromium.org/blink/trunk@201131 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yosin@chromium.org authored
This patch introduces composed tree version of |nextVisuallyDistinctCandidate()| by templatizing function to share algorithm. 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.NextVisuallyDistinctCandidate Review URL: https://codereview.chromium.org/1317463002 git-svn-id: svn://svn.chromium.org/blink/trunk@201130 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
peter@chromium.org authored
The specification defines that PushEvents can be initialized with a data member that is of type PushMessageDataInit, rather than an actual PushMessageData object. This allows us to remove the constructor from the PushMessageData object entirely, aligning with the specification. https://w3c.github.io/push-api/#pushmessagedata-interface This CL also implements the following pull requests, which defines the PushMessageDataInit type to also encapsulate ArrayBuffer(View)?. https://github.com/w3c/push-api/pull/160 Note that the PushMessageData object has not shipped to the world yet. R=mvanouwerkerk BUG= Review URL: https://codereview.chromium.org/1311853002 git-svn-id: svn://svn.chromium.org/blink/trunk@201129 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
fs@opera.com authored
Stabilized after https://codereview.chromium.org/1286093008 TBR=pdr@chromium.org BUG=521856 Review URL: https://codereview.chromium.org/1317543002 git-svn-id: svn://svn.chromium.org/blink/trunk@201128 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yosin@chromium.org authored
Make EditorCommand to use VisibleSelection::toNormalizedEphemeralRange() instead of toNormalizedRange() This patch changes |EditorCOmmand| class to use |toNormalizedEphemeralRange()| in |VisibleSelection| class instead of |toNormalizedRange()| as a preparation of templatizing |VisibleSelection| to use templatized positions instead of DOM position to represent range and avoid registering temporary |Range| object into |Document|. This patch is a preparation of making selection to handle granularity for web component, http://crrev.com/1277863002 BUG=388681, 513568 TEST=n/a; no behavior changes Review URL: https://codereview.chromium.org/1315813003 git-svn-id: svn://svn.chromium.org/blink/trunk@201127 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
philipj@opera.com authored
reset() is called from a number of places with the expectation of putting the controls into the state they would be if created anew. One such place is via HTMLMediaElement::preDispatchEventHandler, where the controls are reset when entering or exiting fullscreen. This has a very strange side-effect, namely that dispatching a synthetic webkitfullscreenchange event on a video will cause the media controls to become visible. It would be rather messy to write a layout test for this, and it would be slow to run, so instead add unit tests to test this more directly. R=fs@opera.com Review URL: https://codereview.chromium.org/1319433003 git-svn-id: svn://svn.chromium.org/blink/trunk@201126 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yutak@chromium.org authored
A simple follow-up of https://codereview.chromium.org/1306793003/. BUG=509911 R=haraken@chromium.org, oilpan-reviews@chromium.org, sigbjornf@opera.com Review URL: https://codereview.chromium.org/1314703003 git-svn-id: svn://svn.chromium.org/blink/trunk@201125 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yosin@chromium.org authored
This patch introduces composed tree version of |localCaretRectOfPosition()| by templatizing function to share algorithm. 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=VisibleUnitsTest.localCaretRectOfPosition Review URL: https://codereview.chromium.org/1317503002 git-svn-id: svn://svn.chromium.org/blink/trunk@201124 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yosin@chromium.org authored
Make WebLocalFrameImpl to use VisibleSelection::toNormalizedEphemeralRange() instead of toNormalizedRange() This patch changes |WebLocalFrameImpl| class to use |toNormalizedEphemeralRange()| in |VisibleSelection| class instead of |toNormalizedRange()| as a preparation of templatizing |VisibleSelection| to use templatized positions instead of DOM position to represent range. 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/1313013002 git-svn-id: svn://svn.chromium.org/blink/trunk@201123 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yosin@chromium.org authored
This patch introduces |firstRangeOf()| function as replacement of |firstRange()| member function of |VisibleSelection| to prepare templatizing |VisibleSelection| to exclude DOM tree position specific function out from |VisibleSelection| for ease of templatizing. 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/1313883002 git-svn-id: svn://svn.chromium.org/blink/trunk@201122 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yosin@chromium.org authored
Make EventHandler to use VisibleSelection::toNormalizedEphemeralRange() instead of toNormalizedRange() This patch changes |EventHandler| class to use |toNormalizedEphemeralRange()| in |VisibleSelection| class instead of |toNormalizedRange()| as a preparation of templatizing |VisibleSelection| to use templatized positions instead of DOM position to represent range. 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/1311623004 git-svn-id: svn://svn.chromium.org/blink/trunk@201121 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yosin@chromium.org authored
This patch changes |WebSubstringUtil| class to use |EphemeralRange| instead of |Range| object to avoid registering temporary |Range| object into |Document| for Oilpan friendly. This patch is also a preparation of making selection to handle granularity for web component, http://crrev.com/1277863002 to reduce DOM position dependency from |VisibleSelection| for ease of templatization of |VisibleSelection|. BUG=388681, 513568 TEST=n/a; no behavior changes Review URL: https://codereview.chromium.org/1311373002 git-svn-id: svn://svn.chromium.org/blink/trunk@201120 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
fs@opera.com authored
This method only serves to break the cue layout computed by SnapToLinesLayouter. If we want to factor in margin+border for cues (and padding for the cue container), then factor that into the cue layout algorithm instead. BUG=301580 Review URL: https://codereview.chromium.org/1314613002 git-svn-id: svn://svn.chromium.org/blink/trunk@201119 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
kochi@chromium.org authored
Blink used to set focused flag on focused element after dispatching focus events. This caused mismatch with other browsers, during event handler document.querySelector(":focus") doesn't match anything. BUG=523126 TEST=fast/events/focus-querySelector-in-focus-event-handler.html Review URL: https://codereview.chromium.org/1312093002 git-svn-id: svn://svn.chromium.org/blink/trunk@201118 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yosin@chromium.org authored
This patch changes |markAllMisspellingsAndBadGrammarInRanges()| member function of |SpellChecker| class to take |EphemeralRange| instead of |Range| to avoid registering temporary |Range| object into |Document|. This patch is also a preparation of making selection to handle granularity for web component, http://crrev.com/1277863002 to reduce DOM position dependency from |VisibleSelection| for ease of templatization of |VisibleSelection|. BUG=388681, 513568 TEST=n/a; no behavior changes Review URL: https://codereview.chromium.org/1313863002 git-svn-id: svn://svn.chromium.org/blink/trunk@201117 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
bashi@chromium.org authored
No client so far. Follow-up CLs will add actual clients. Design doc: https://docs.google.com/document/d/1TbtkhXpjw_8lftLwELuEPEgcyWfXuVLuqW2KYJZeaBA/edit?pli=1 Non trivial changes from the design doc: - MemoryPurgeController owns its clients. - Page owns MemoryPurgeController (because core/ and modules/ will want to access MemoryPurgeController to register clients) I chose Page as the owner of the controller because it has the same lifetime of WebView. BUG=520496 Review URL: https://codereview.chromium.org/1303203002 git-svn-id: svn://svn.chromium.org/blink/trunk@201116 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yosin@chromium.org authored
Make DragController to use VisibleSelection::toNormalizedEphemeralRange() instead of toNormalizedRange() This patch changes |DragController| class to use |toNormalizedEphemeralRange()| in |VisibleSelection| class instead of |toNormalizedRange()| as a preparation of templatizing |VisibleSelection| to use templatized positions instead of DOM position to represent range. 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/1316603002 git-svn-id: svn://svn.chromium.org/blink/trunk@201115 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
sashab@chromium.org authored
Remove the default case from the CSSValue::equals method, to enable the compiler to check that every enum value is in the switch statement. Review URL: https://codereview.chromium.org/1311843003 git-svn-id: svn://svn.chromium.org/blink/trunk@201114 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
nhiroki@chromium.org authored
This CL re-enables tests and updates their expectations. (1) Blink: https://codereview.chromium.org/1311113002/ (2) Chromium: https://codereview.chromium.org/1307133003/ (3) Blink: THIS PATCH BUG=523904 Review URL: https://codereview.chromium.org/1311103002 git-svn-id: svn://svn.chromium.org/blink/trunk@201113 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yosin@chromium.org authored
Make EditingStyle to use VisibleSelection::toNormalizedEphemeralRange() instead of toNormalizedRange() This patch changes |EditingStyle| class to use |toNormalizedEphemeralRange()| in |VisibleSelection| class instead of |toNormalizedRange()| as a preparation of templatizing |VisibleSelection| to use templatized positions instead of DOM position to represent range and avoid registering temporary |Range| object into |Document|. This patch is a preparation of making selection to handle granularity for web component, http://crrev.com/1277863002 BUG=388681, 513568 TEST=n/a; no behavior changes Review URL: https://codereview.chromium.org/1314713004 git-svn-id: svn://svn.chromium.org/blink/trunk@201112 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
lushnikov@chromium.org authored
BUG=520742 NOTRY=true Review URL: https://codereview.chromium.org/1312033002 git-svn-id: svn://svn.chromium.org/blink/trunk@201111 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yosin@chromium.org authored
This patch introduces |positionForPoint()| in |LocalFrame| class as replacement of |visiblePositionForPoint()| to reduce doing visible position canonicalization for increasing chance to delay canonicalization with changing |setPosition()| in |DragCaretController| and |VisibleSelection| constructor to take |PositionWithAffinity|. Note: Both of |VisbilePosition| constructor and |VisibleSelection| constructor do visible position canaonicalization. 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/1310323004 git-svn-id: svn://svn.chromium.org/blink/trunk@201110 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
haraken@chromium.org authored
To reduce a mess of Heap.h, this CL splits Heap.h into Heap.h and HeapPage.h. This CL just moves code around without any behavioral change. BUG=437144 Review URL: https://codereview.chromium.org/1314793002 git-svn-id: svn://svn.chromium.org/blink/trunk@201109 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
philipj@opera.com authored
NOTRY=true R=fs@opera.com Review URL: https://codereview.chromium.org/1318443002 git-svn-id: svn://svn.chromium.org/blink/trunk@201108 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
rockot@chromium.org authored
This connects USBDevice interface methods to the embedder. BUG=492204 R=reillyg@chromium.org Review URL: https://codereview.chromium.org/1315683002 git-svn-id: svn://svn.chromium.org/blink/trunk@201107 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dgozman@chromium.org authored
With recent changes, it's dangerous to inject /deep/ selectors to the page, as they get high priority. This patch stops injecting backwards compatilibity code to the all-new frontned. BUG=none Review URL: https://codereview.chromium.org/1310653003 git-svn-id: svn://svn.chromium.org/blink/trunk@201106 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yutak@chromium.org authored
This patch fixes the raw pointer instances below: * StubFrameLoaderClientWithParent::m_parent * FrameLoaderClientImpl::m_webFrame * RemoteFrameClientImpl::m_webFrame BUG=509911 R=haraken@chromium.org, oilpan-reviews@chromium.org, peria@chromium.org, sigbjornf@opera.com Review URL: https://codereview.chromium.org/1306793003 git-svn-id: svn://svn.chromium.org/blink/trunk@201105 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
lushnikov@chromium.org authored
This patch reduces interfaces of WI.CSSProperty and WI.CSSStyleDeclaration classes. The patch removes: - remove style.getLiveProperty() method and the whole notion of "live" properties - removes tripple state defined via property.active()/property.inactive() flags. (The state was tripple as !property.active() !== property.inactive()). - style.shorthandValue/style.shorthandIsImportant public methods - removes property.styleBased() property The patch adds: - property.activeInStyle() method which defines if the current property has any effect in style. - style.leadingProperties() method which computes those properties which should be displayed in StylesSidebarPane. BUG=496263 R=pfeldman NOTRY=true Review URL: https://codereview.chromium.org/1308663002 git-svn-id: svn://svn.chromium.org/blink/trunk@201104 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
nhiroki@chromium.org authored
This CL temporary disables tests to be broken by (2). (1) Blink: THIS PATCH (2) Chromium: https://codereview.chromium.org/1307133003/ (3) Blink: https://codereview.chromium.org/1311103002/ BUG=523904 NOTRY=true Review URL: https://codereview.chromium.org/1311113002 git-svn-id: svn://svn.chromium.org/blink/trunk@201103 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dstockwell@chromium.org authored
Reland of Take care of a FIXME in SecurityOrigin.cpp to check the validity (patchset #1 id:1 of https://codereview.chromium.org/1315793002/ ) Reason for revert: Failure still present. Original issue's description: > Revert of Take care of a FIXME in SecurityOrigin.cpp to check the validity of any innerURL during constructio… (patchset #4 id:60001 of https://codereview.chromium.org/1294933004/ ) > > Reason for revert: > Speculative revert for "Too many opened files in the system". > > Original issue's description: > > Take care of a FIXME in SecurityOrigin.cpp to check the validity of any innerURL during construction and to handle invalidity as a 'unique' origin. > > > > TBR=mkwst > > BUG=514076 > > > > Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201022 > > TBR=jsbell@chromium.org,palmer@chromium.org,mkwst@chromium.org,brettw@chromium.org,michaeln@chromium.org > NOPRESUBMIT=true > NOTREECHECKS=true > NOTRY=true > BUG=514076,524248 > > Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201100 TBR=brettw@chromium.org,jsbell@chromium.org,michaeln@chromium.org,mkwst@chromium.org,palmer@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=514076,524248 Review URL: https://codereview.chromium.org/1309333004 git-svn-id: svn://svn.chromium.org/blink/trunk@201102 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
yosin@chromium.org authored
This patch gets rid of |VisibleSelection| constructor with |Range| parameter to templatize |VisibleSelection| easier. 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/1307763003 git-svn-id: svn://svn.chromium.org/blink/trunk@201101 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dstockwell@chromium.org authored
Revert of Take care of a FIXME in SecurityOrigin.cpp to check the validity of any innerURL during constructio… (patchset #4 id:60001 of https://codereview.chromium.org/1294933004/ ) Reason for revert: Speculative revert for "Too many opened files in the system". Original issue's description: > Take care of a FIXME in SecurityOrigin.cpp to check the validity of any innerURL during construction and to handle invalidity as a 'unique' origin. > > TBR=mkwst > BUG=514076 > > Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201022 TBR=jsbell@chromium.org,palmer@chromium.org,mkwst@chromium.org,brettw@chromium.org,michaeln@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=514076,524248 Review URL: https://codereview.chromium.org/1315793002 git-svn-id: svn://svn.chromium.org/blink/trunk@201100 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
fmalita@chromium.org authored
Now that SkImage sports a lazy-decoding querying API (isLazyGenerated), we no longer need the external mechanism introduced in http://crrev.com/1253483004. BUG=523922 R=noel@chromium.org Review URL: https://codereview.chromium.org/1308233002 git-svn-id: svn://svn.chromium.org/blink/trunk@201099 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
haraken@chromium.org authored
After landing https://codereview.chromium.org/1298113003/, we have four types of GC callbacks: - A callback for a minor GC - A callback for incremental marking of a major GC - A callback for atomic pause of a major GC - A callback for weak processing This CL distinguishes the four types of GC callbacks in V8GCController::gcPrologue/gcEpilogue. This CL basically just moves code around. No substantial changes in behavior. BUG=521946 Review URL: https://codereview.chromium.org/1288683005 git-svn-id: svn://svn.chromium.org/blink/trunk@201098 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
alancutter@chromium.org authored
The current flex-grow and flex-shrink interpolation code will not smoothly interpolate values with 0. This patch removes this special behaviour as there is no specification text justifying this behaviour. Without this behaviour we can simplify the Constraint enum out of AnimatableDouble. BUG=522817 Review URL: https://codereview.chromium.org/1300323003 git-svn-id: svn://svn.chromium.org/blink/trunk@201097 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dstockwell@chromium.org authored
BUG=475370 Review URL: https://codereview.chromium.org/1313733007 git-svn-id: svn://svn.chromium.org/blink/trunk@201096 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-