72 Commits

Author SHA1 Message Date
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
Hixie
34bed5e6a7 Enter a description of the change.
Docs: Fix the script in the example to actually clone the template contents, not the template element itself.

Review URL: https://codereview.chromium.org/680673002
2014-10-24 16:23:03 -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
Hixie
5a7b5879c7 Docs: fix markdown some more
Review URL: https://codereview.chromium.org/677793003
2014-10-24 14:17:44 -07:00
Hixie
17cc096738 Docs: fix markdown in various files, update the README mildly
Review URL: https://codereview.chromium.org/678693003
2014-10-24 14:14:34 -07:00
Hixie
1f9a5e290b Specs: fix markdown in the markup spec (second attempt)
Review URL: https://codereview.chromium.org/675303002
2014-10-24 14:01:57 -07:00
Hixie
af331257f6 Specs: fix markdown in the markup spec
Review URL: https://codereview.chromium.org/675853004
2014-10-24 13:59:32 -07:00
Hixie
420d715e54 Specs: Module overview
Review URL: https://codereview.chromium.org/678803002
2014-10-24 13:53:15 -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
Eric Seidel
f8c270e1d6 Teach missing_from_gn about gn 'inputs'
Turns out gn has 3 types of sources:
inputs (non-source files)
sources (source files)
public (source files for APIs)

I've now taught missing_from_gn about inputs
brettw says I can ignore public for now as it's unlikely
anyone is using that.

R=brettw@chromium.org

Review URL: https://codereview.chromium.org/675283002
2014-10-24 13:44:44 -07:00
Hixie
81adb15ad6 Docs: Strawman design principles
Review URL: https://codereview.chromium.org/676093002
2014-10-24 13:34:40 -07:00
Hixie
9832c02d04 Specs: Update parser to support <t>, <template>, "/>" syntax
Specs: Fix scripts to run at </script> not <script>
Specs: Update parsing to delay on pending imports before running
scripts or firing 'load'
Specs: Fire 'load' at Application or Module rather than Document
Specs: Imply there's going to be a start tag token observer callback
so that you can implement prefetching for custom elements

R=abarth@chromium.org

Review URL: https://codereview.chromium.org/677533004
2014-10-24 13:28:00 -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
Eric Seidel
3d9800c15f Add a script for finding files missing from gn
Most of the files listed here can just be removed
from the repository.

R=abarth@chromium.org

Review URL: https://codereview.chromium.org/679783002
2014-10-24 11:36:40 -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
Eric Seidel
001d630297 Test for border parsing I failed to include in my last change.
https://codereview.chromium.org/673073002/

R=abarth@chromium.org

Review URL: https://codereview.chromium.org/654393004
2014-10-24 10:16:36 -07:00
Adam Barth
8206a34977 Remove redundant LICENSE
This LICENSE file is redundant with the one in the top-level directory.

R=ojan@chromium.org

Review URL: https://codereview.chromium.org/674013003
2014-10-24 10:15:36 -07:00
Adam Barth
75c8c1e17d Fill in some missing sections in the Sky README.md
R=ojan@chromium.org

Review URL: https://codereview.chromium.org/679583002
2014-10-23 20:32:07 -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
Hixie
83c22f124e script/style tokeniser states
Review URL: https://codereview.chromium.org/642903004
2014-10-23 17:11:21 -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
Hixie
62596e3644 Parser tokeniser states (WIP, doesn't yet do script/style)
R=abarth@chromium.org

Review URL: https://codereview.chromium.org/657393004
2014-10-23 16:47:29 -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
Rafael Weinstein
f7d4558727 Update HACKING.md 2014-10-23 16:10:08 -07:00
Eric Seidel
da392137a7 Add --gdb argument to skydb
Makes it trivial to drop into gdb having launched
mojo_shell/sky with the right arguments.

R=abarth@chromium.org

Review URL: https://codereview.chromium.org/672383002
2014-10-23 16:02:39 -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
Rafael Weinstein
35d7cbd9bb Fixing the fix 2014-10-23 16:02:04 -07:00
Eric Seidel
39e6dabed7 Teach tools/skydb how to handle paths
This makes it much easier to hack on test cases.

R=abarth@chromium.org

Review URL: https://codereview.chromium.org/654543004
2014-10-23 16:00:10 -07:00
Rafael Weinstein
3cb4a62848 Added build instructions 2014-10-23 15:54:51 -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