Adam Barth
710a717192
Parse comments according to parsing.md
...
Now we don't even generate comment tokens. The new tokenizer for comments is
much easier.
R=eseidel@chromium.org
Review URL: https://codereview.chromium.org/682893002
2014-10-27 17:04:52 -07:00
Eric Seidel
e4fe5cfb27
Hollow out more of the tracing system in oilpan
...
The goal here was to delete all the oilpan
conversion types and then as well all the calls
into trace(). In the process of attempting
to get it compiling I removed some trace()
calls from the font system before finding the
one stray trace() call I had missed in handle
causing the link errors.
TBR=abarth@chromium.org
Review URL: https://codereview.chromium.org/679113005
2014-10-27 14:45:51 -07:00
Eric Seidel
64b5cb61a1
Remove all oilpan transitional types
...
I used do-webcore-rename from Blink/WebKit
which is very good at doing this kind
of search-replace.
Also removed toRefPrtNativeArray after
conversion since it previously had two
separate flavors. Both versions are no longer
used so I've removed the code until we
need one again.
https://www.irccloud.com/pastebin/5C16p5cE
is the diff I used to do-webcore-rename
TBR=abarth@chromium.org
2014-10-27 14:13:01 -07:00
Eric Seidel
74951dfc70
Remove GarbageCollected support from the bindings
...
This was the last complicated piece of removing
platform/heap, the rest should be trivial to delete
after removing :trace overrides and mass-renaming
the various WillBe types to their old versions.
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/683593002
2014-10-27 13:39:37 -07:00
Ojan Vafai
995c857ce6
Remove a bunch of frame-level scrolling machinery.
...
This just removing dead/noop code. No change in behavior.
R=abarth@chromium.org , esprehn@chromium.org
Review URL: https://codereview.chromium.org/681023002
2014-10-27 13:10:04 -07:00
Adam Barth
5d98345d17
Parse Sky entities according to the spec
...
R=eseidel@chromium.org
Review URL: https://codereview.chromium.org/678073002
2014-10-27 13:05:31 -07:00
Adam Barth
1bceb35cdf
Remove ScriptData* states
...
In the new parsing.md spec, we parse <script> the same way as <style> so we
don't need all these tokenizer states.
R=eseidel@chromium.org
Review URL: https://codereview.chromium.org/678913002
2014-10-27 13:04:45 -07:00
Adam Barth
2e40b82606
Remove more unused HTMLTokenizer features
...
R=eseidel@chromium.org
Review URL: https://codereview.chromium.org/678903002
2014-10-27 13:04:17 -07:00
Eric Seidel
049a036e83
Begin to remove heap/*
...
This makes Sky never call into the
Heap::init/shutdown methods and removes
most Heap:: and ThreadState:: calls throughout
the rest of Sky.
There is a *ton* more to remove after this.
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/678003003
2014-10-27 12:41:12 -07:00
James Robinson
ca1c075179
Update DEPS for chromium roll, fix few sky issues
...
This updates DEPS to match the recent chromium roll and applies the
following changes to sky to accomodate the skia roll:
https://src.chromium.org/viewvc/blink?revision=184191&view=revision
https://src.chromium.org/viewvc/blink?revision=184289&view=revision
as well as adding #include <string> to WTFString.h so it compiles for
translation units that include this without #including <string>
themselves, which currently happens in a number of files in the android
build.
TBR=abarth@chromium.org
Review URL: https://codereview.chromium.org/682573003
2014-10-26 23:50:52 -07:00
Ojan Vafai
f9e0a463af
Remove meta viewport and @viewport CSS rules.
...
We won't need configurations like this since we don't have things
like page zoom and a default width.
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/654693004
2014-10-25 23:08:58 -07:00
Ojan Vafai
ac7ea65ede
Remove a bunch of unused or never-set settings.
...
Just mechanical changes. No change in behavior.
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/681553003
2014-10-25 22:51:40 -07:00
Ojan Vafai
57a45f79ff
Remove pinch viewports.
...
Sky doesn't have concept of pinch zoom.
Remove more frame-level scrolling machinery.
R=esprehn@chromium.org
Review URL: https://codereview.chromium.org/681583002
2014-10-25 10:11:22 -07:00
Ojan Vafai
be4206ab28
Remove more frame-level scrolling machinery.
...
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/680703002
2014-10-24 23:31:45 -07:00
Elliott Sprehn
8106700a04
Remove most of visited link support.
...
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/667003003
2014-10-24 23:22:02 -07:00
Adam Barth
969ccf4282
Remove compiler feature detection for = delete
...
All supported compilers have this feature. Also remove unused macros for
OVERRIDE now that override are broadly supported.
R=esprehn@chromium.org , eseidel@chromium.org
Review URL: https://codereview.chromium.org/673403002
2014-10-24 23:19:08 -07:00
Ojan Vafai
1728572222
Remove some more frame-level scrolling machinery.
...
This includes removing a bunch of scrolling methods and
accessors on Window.
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/677223002
2014-10-24 23:16:28 -07:00
Adam Barth
51b354f23a
Fix bad merge
2014-10-24 22:57:53 -07:00
Adam Barth
22b946ab61
Remove HTMLParserOptions
...
We always use threading now and there aren't any other options.
R=eseidel@chromium.org , esprehn@chromium.org
Review URL: https://codereview.chromium.org/676133002
2014-10-24 22:49:38 -07:00
Adam Barth
8f729a9b64
Delete DecodedDataDocumentParser
...
It doesn't do anything.
R=eseidel@chromium.org , esprehn@chromium.org
Review URL: https://codereview.chromium.org/675313003
2014-10-24 22:47:58 -07:00
Adam Barth
61a2a00c78
Live the dream
...
This CL plumbs the data pipe from the network stack all the way to the parser
thread. We now drain the data pipe on the parser thread, which means network
bytes don't need to transit the main thread to reach the parser.
R=eseidel@chromium.org
Review URL: https://codereview.chromium.org/664573004
2014-10-24 16:51:56 -07:00
Adam Barth
b07dff7033
Remove the ability to parse HTML fragments
...
Also, removed a bunch of show() function from the custom element microtask
queue that bottom out in innerHTML.
R=eseidel@chromium.org
Review URL: https://codereview.chromium.org/665613003
2014-10-24 16:51:11 -07:00
Eric Seidel
988d5e7c14
Use process_in_files helper for make_core_generated_html_element_lookup_trie
...
This lets us get rid of the manual source listing in core_generated
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/657303006
2014-10-24 15:46:20 -07:00
Adam Barth
e8c9ecc556
Use override and final instead of OVERRIDE and FINAL
2014-10-24 15:15:13 -07:00
James Robinson
3f1969fe24
Fix compile issues in sky on android
...
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/664573003
2014-10-24 15:07:09 -07:00
Adam Barth
d71037bb51
HTMLImportLoader should talk directly to mojo::NetworkService
...
This CL re-routes the loading pipeline for HTMLImportLoader directly to
mojo::NetworkService rather than through core/fetch, platform/network, and
WebURLLoader.
R=eseidel@chromium.org , esprehn@chromium.org
Review URL: https://codereview.chromium.org/678683004
2014-10-24 15:05:42 -07:00
Adam Barth
70363c9f78
Add missing dependency
...
TBR=jamesr@chromium.org
Review URL: https://codereview.chromium.org/655993004
2014-10-24 15:01:17 -07:00
Eric Seidel
8663c840aa
Fix sky to pass 'gn check'
...
I also deleted the sky_common and sky_minimal targets
as those were only for the windows build
(which sky does not support).
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/663483006
2014-10-24 15:00:55 -07:00
Eric Seidel
2a4915147e
Remove a bunch of dead files found by missing_from_gn
...
I also fixed several errors in our BUILD.gn files
including bad script dependencies found by
missing_from_gn and gn check.
Still need to figure out how best to handle
:libraries deps being private to :core, etc.
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/678703004
2014-10-24 13:50:21 -07:00
Adam Barth
1ff9eb48b7
Factor DrainDataPipeJob out of MojoLoader
...
We want to re-use the code for draining Mojo data pipes in more places that
just the MojoLoader.
R=eseidel@chromium.org
Review URL: https://codereview.chromium.org/650903006
2014-10-24 12:05:50 -07:00
Adam Barth
08164a0e81
Delete ScriptableDocumentParser
...
There's only one parser: the HTMLDocumentParser. No need for the complex class
hierarchy.
R=eseidel@chromium.org
Review URL: https://codereview.chromium.org/680583003
2014-10-24 11:04:40 -07:00
Ojan Vafai
f45642cf8c
Get rid of ScrollView.
...
We only allow overflow scrolling. The frame isn't special.
This is a first step in making that happen. There's a lot of
code to remove after this patch, but this gets rid of
ScrollView and a bunch of frame-level scrolling code.
Had to add in a FrameWidget class so that Scrollbar.cpp had
a way of getting to FrameView::removeChild without pulling
a core class into platform. This might go away when we rip
out the Widget tree if we made it so that FrameView didn't
keep a list of Scrollbar instances.
Modified scrollbar.html to use overflow scrolling instead of
frame level scrolling. Once we get rid of the split between
Document and documentElement, we'll be able to make the root
element in the page scrollable as well (i.e. any child of the
Document).
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/646273006
2014-10-23 20:20:25 -07:00
Elliott Sprehn
80f8a171fa
Remove MediaController.
...
R=ojan@chromium.org
Review URL: https://codereview.chromium.org/677573002
2014-10-23 17:23:53 -07:00
Elliott Sprehn
725950ed7f
Remove context menus.
...
R=ojan@chromium.org
Review URL: https://codereview.chromium.org/640143004
2014-10-23 17:10:06 -07:00
Eric Seidel
47a70575e8
Fix border parsing to work again
...
I accidentally broke border parsing when
removing CSS color keyword hacks.
While debugging this I also ran into a
race condition in the debugger, which
is fixed here.
Add --gdb argument to skydb
Makes it trivial to drop into gdb having launched
mojo_shell/sky with the right arguments.
R=ojan@chromium.org
Review URL: https://codereview.chromium.org/673073002
2014-10-23 16:54:21 -07:00
Adam Barth
0bf6b1a8eb
Delete HTMLStackItem
...
The stack now just has ContainerNodes.
R=eseidel@chromium.org
Review URL: https://codereview.chromium.org/666913005
2014-10-23 16:39:13 -07:00
Elliott Sprehn
77074fa3b0
Remove remaining AX code.
...
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/673993002
2014-10-23 16:26:34 -07:00
Elliott Sprehn
0ee669f48c
Rename WebKit.h/cpp to Sky.h/cpp
...
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/676933002
2014-10-23 16:10:56 -07:00
Elliott Sprehn
4cbf7f6b1e
Remove the webkit prefix from idl properties and interfaces.
...
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/676923002
2014-10-23 16:02:10 -07:00
Adam Barth
1bf5cca3e1
Remove unused code from the Sky parser system
...
R=eseidel@chromium.org
Review URL: https://codereview.chromium.org/673963002
2014-10-23 15:47:50 -07:00
Adam Barth
b189c4cd22
Remove HTMLTreeBuilderSimulator
...
There's no need to simulate the tree builder. It doesn't have any state.
R=eseidel@chromium.org
Review URL: https://codereview.chromium.org/678533003
2014-10-23 15:47:13 -07:00
Adam Barth
04bb022ded
Remove BackgroundHTMLInputStream
...
Now that we don't have checkpoints, we can just use SegmentedString directly.
R=eseidel@chromium.org
Review URL: https://codereview.chromium.org/676763003
2014-10-23 15:46:28 -07:00
Elliott Sprehn
c403da314c
Remove lots of machinery related to inline event handlers.
...
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/671173006
2014-10-23 15:41:57 -07:00
Elliott Sprehn
f01716ead2
Remove inline event handler code.
...
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/675873002
2014-10-23 15:17:07 -07:00
James Robinson
1e69b19988
Fix sky build on android
...
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/678533002
2014-10-23 14:50:37 -07:00
Elliott Sprehn
326b3bb1a6
Remove ScriptRegexp.
...
I gave it life in https://codereview.chromium.org/13896017 and now I'm going to take it away.
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/647323003
2014-10-23 14:48:06 -07:00
Adam Barth
45e9dc8ca4
Remove WebThread
...
We still have WebThread::Task, but WebThread is now gone.
R=esprehn@chromium.org
Review URL: https://codereview.chromium.org/673033002
2014-10-23 14:37:09 -07:00
Elliott Sprehn
2b1e6cfc42
Remove overflowchanged event.
...
R=ojan@chromium.org
Review URL: https://codereview.chromium.org/672353002
2014-10-23 14:29:40 -07:00
Adam Barth
fb0dcf788b
Remove the last WebThread task observer
...
We now observe the message loop and the mojo message pump directly.
R=ojan@chromium.org , eseidel@chromium.org
Review URL: https://codereview.chromium.org/673783006
2014-10-23 14:22:05 -07:00
Adam Barth
46aea7fd1b
Fix the build
2014-10-23 14:16:37 -07:00