45 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
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
Adam Barth
893e0200b8 Canvas2DLayerManager shouldn't use a task observer
Previously, Canvas2DLayerManager was using addTaskObserver to jump the task
queue. After this CL, it goes to the end of the queue like a normal task.

R=ojan@chromium.org

Review URL: https://codereview.chromium.org/673783005
2014-10-23 14:11:08 -07:00
Elliott Sprehn
94b71abca0 Remove beforeunload events.
R=abarth@chromium.org

Review URL: https://codereview.chromium.org/645513006
2014-10-23 14:08:53 -07:00
Elliott Sprehn
22d3fe4be3 Remove WebSelector, it's not used.
R=abarth@chromium.org

Review URL: https://codereview.chromium.org/672323002
2014-10-23 14:07:53 -07:00
Elliott Sprehn
b1f8bcd1d8 Remove bindings presubmit, we don't have the code for it.
R=abarth@chromium.org

Review URL: https://codereview.chromium.org/671173004
2014-10-23 13:23:33 -07:00
Elliott Sprehn
8209d97c51 Remove postMessage, MessageChannel and MessagePort.
Sky uses Mojo services to communicate between embedded applications, not
postMessage and its friends.

R=abarth@chromium.org

Review URL: https://codereview.chromium.org/676723003
2014-10-23 13:17:50 -07:00
Adam Barth
c1d26b1d31 Remove RecordingImageBufferSurface
We don't enable this runtime setting.

R=ojan@google.com, ojan@chromium.org

Review URL: https://codereview.chromium.org/678483002
2014-10-23 12:56:33 -07:00
Adam Barth
58adc99ae2 Add another missing dependency 2014-10-23 12:02:07 -07:00
Adam Barth
b6ec35ad4c Shuffle build dependencies a bit to fix build
TBR=eseidel@chromium.org

Review URL: https://codereview.chromium.org/677483002
2014-10-23 11:55:50 -07:00
Adam Barth
ae72930937 Open the Sky 2014-10-23 11:17:19 -07:00