289 Commits

Author SHA1 Message Date
Elliott Sprehn
e9073fbdc0 Remove PODIntervalTree and machinery.
This was for floats and shapes which we removed.

R=ojan@chromium.org

Review URL: https://codereview.chromium.org/705373003
2014-11-07 17:01:02 -08:00
Elliott Sprehn
d11b95703b Remove many attributes.
This removes many attributes we don't want from HTMLAttributeNames.in
and the associated code.

R=ojan@chromium.org

Review URL: https://codereview.chromium.org/708233002
2014-11-07 16:48:59 -08:00
Elliott Sprehn
9340924861 Remove lots of dead web/ classes.
R=abarth@chromium.org

Review URL: https://codereview.chromium.org/693603005
2014-11-07 16:14:13 -08:00
Elliott Sprehn
b76faaa539 Remove ViewportAnchor.
R=abarth@chromium.org

Review URL: https://codereview.chromium.org/706583004
2014-11-07 16:12:26 -08:00
Elliott Sprehn
9959fb2360 Remove execCommand methods from Document.
R=abarth@chromium.org

Review URL: https://codereview.chromium.org/713563003
2014-11-07 15:33:43 -08:00
Elliott Sprehn
70b80e3c64 Remove all the now dead Locale code.
R=abarth@chromium.org

Review URL: https://codereview.chromium.org/706403002
2014-11-07 15:26:23 -08:00
Elliott Sprehn
2ee266238d Remove TimeRanges.
R=abarth@chromium.org

Review URL: https://codereview.chromium.org/709133004
2014-11-07 15:18:23 -08:00
Elliott Sprehn
091a5611db Remove PublicURLManager.
R=abarth@chromium.org

Review URL: https://codereview.chromium.org/700753006
2014-11-07 15:18:00 -08:00
Elliott Sprehn
e29ddd1313 Remove the PublicSuffixList.
R=eseidel@chromium.org, abarth@chromium.org

Review URL: https://codereview.chromium.org/696783007
2014-11-07 15:17:32 -08:00
Matt Perry
88d5783746 Remove iframe.sky test. It's timing out on the bots.
TBR=esprehn@chromium.org

Review URL: https://codereview.chromium.org/707283002
2014-11-07 17:25:17 -05:00
Matt Perry
72037425fd Add iframe.sky test expectations for dump-as-render-tree.
R=esprehn@chromium.org

Review URL: https://codereview.chromium.org/708163002
2014-11-07 17:14:15 -05:00
Rafael Weinstein
f6b3a8cb02 Remove usesCompositedScrolling
BUG=
R=abarth@chromium.org

Review URL: https://codereview.chromium.org/712573003
2014-11-07 13:59:11 -08:00
Elliott Sprehn
0d05dbf789 Remove rendererIsNeeded.
R=abarth@chromium.org, ojan@chromium.org

Review URL: https://codereview.chromium.org/708913002
2014-11-07 13:48:35 -08:00
Matt Perry
694cabc454 Initial work on a new <view> element backed by a mojo::View.
This CL introduces an HTMLViewElement which, when inserted into a document,
causes a mojo::View to be created and navigated to the provided URL. No
compositing is done, but the view manager handles the rendering (as I
understand it).

R=abarth@chromium.org

Review URL: https://codereview.chromium.org/708903002
2014-11-07 14:34:07 -05:00
Eric Seidel
c70e474000 Revert "Teach PRESUBMIT.py how to run gn check for most of the mojo repo"
This reverts commit dea154634ceba9cb855619259aa643857b9995ac.

Causing link errors due to multiple definitions of
GL thunk symbols.

TBR=jamesr@chromium.org

Review URL: https://codereview.chromium.org/710703002
2014-11-07 10:04:58 -08:00
Ojan Vafai
2793661b5a Remove scroll corners and resizers.
We never paint scroll corners. The only thing we need them
for is so that the vertical and horizontal scrollbars don't
overlap each other. So, that's the only place left that
still computes a scroll corner rect.

We don't support resizers. Remove the code for them as well
as the CSS resize property.

R=abarth@chromium.org

Review URL: https://codereview.chromium.org/689283003
2014-11-07 09:46:16 -08:00
Eric Seidel
18791c5a5a Teach PRESUBMIT.py how to run gn check for most of the mojo repo
Almost all of the mojo-forked code now passes gn check.
I used:
https://github.com/domokit/mojo/wiki/Directory-guide
for the list of mojo-forked directories.

gn check //mojo/* was 152 errors and is now down to 52.

R=jamesr@chromium.org

Review URL: https://codereview.chromium.org/707093002
2014-11-07 09:18:31 -08:00
Rafael Weinstein
2c84a77f5e Remove sparsity tolerance check when considering squashing layers
BUG=
R=abarth@chromium.org

Review URL: https://codereview.chromium.org/709623002
2014-11-06 18:45:23 -08:00
Rafael Weinstein
fa52a2cb76 Remove RenderObject::isVideo
BUG=
R=abarth@chromium.org

Review URL: https://codereview.chromium.org/709503003
2014-11-06 17:59:08 -08:00
Eric Seidel
6e9d657373 Correct InspectorFronend to InspectorFrontend
TBR=abarth@chromium.org

Review URL: https://codereview.chromium.org/697203007
2014-11-06 15:49:06 -08:00
Rafael Weinstein
8b55ec0c09 Make import failures log errors
BUG=
R=eseidel@chromium.org

Review URL: https://codereview.chromium.org/711513003
2014-11-06 15:46:42 -08:00
Elliott Sprehn
0d95d6d59e Remove custom style callbacks.
R=ojan@chromium.org

Review URL: https://codereview.chromium.org/709573002
2014-11-06 15:16:41 -08:00
Elliott Sprehn
f79b479bc4 Remove <picture> and <source>.
R=ojan@chromium.org

Review URL: https://codereview.chromium.org/706093002
2014-11-06 15:03:37 -08:00
Eric Seidel
9eb275c267 Add back exit(0) until crbug.com/430581 can be resolved.
BUG=430581
TBR=abarth@chromium.org

Review URL: https://codereview.chromium.org/693433005
2014-11-06 12:55:29 -08:00
Ojan Vafai
94ca1025cb Remove -webkit-auto, -webkit-center, -webkit-left, -webkit-right.
These are values for text-align that align blocks in addition to
inline content. You can get the same centering affect with margin:auto.
If we want this functionality, we should implement it with the
same alignment APIs that we use for flexbox.

Delete unused methods/arguments from RenderBlockFlow.

No change in behavior. Just deleting dead code.

R=esprehn@chromium.org

Review URL: https://codereview.chromium.org/708843002
2014-11-06 11:55:49 -08:00
Ojan Vafai
aae0aab814 Delete unused methods/arguments from RenderBlockFlow.
No change in behavior. Just deleting dead code.
Removes hit testing and paint phase for floats. They
bottomed out into empty functions.

R=esprehn@chromium.org

Review URL: https://codereview.chromium.org/706953003
2014-11-06 11:17:20 -08:00
Benjamin Lerman
2cdc639a09 Change mojo url to always use mojo:foo instead of mojo://foo
R=abarth@chromium.org

Review URL: https://codereview.chromium.org/701933004
2014-11-06 17:23:18 +01:00
Rafael Weinstein
8195427269 Add city-list example tests to sky
BUG=
R=abarth@chromium.org

Review URL: https://codereview.chromium.org/708633002
2014-11-05 17:58:57 -08:00
Hans Muller
d11daa79a8 Create mojo/edk/js, mojo/edk/js/test
Move mojo/bindings/js to mojo/edk/js.

Move mojo/bindings/js/tests/run_js_tests.cc into the test directory.

Move mojo/apps/js/test/handle_unittest.cc to mojo/edk/js

BUG=430520
R=jamesr@chromium.org

Review URL: https://codereview.chromium.org/690743003
2014-11-05 15:29:16 -08:00
Eric Seidel
1cb381f6ac Teach sky_server how to use more threads and not drop requests
This is lame, but seems to fix the timeout problem
http://stackoverflow.com/questions/2685089/cherrypy-and-concurrency

Review URL: https://codereview.chromium.org/700213005
2014-11-05 15:25:35 -08:00
Eric Seidel
2ee8874f35 Bring skydebugger closer to clean-shutdown
This teaches the SkyDebugger prompt how to tell
the sky debugger (server) to shut down instead of
just calling exit(0).

This also teaches the WindowManagerApp (server) how
to tear down all of its connections itself instead
of depending on the pipes to do so (which would
crash when youd delete the WindowManagerApp as the
pipes could outlive it with WindowManagerImpl objects
containing raw pointers back to the WindowManagerApp).

Shutdown is not yet clean.  It errors out trying to
talk to the X11 server, but it's closer to clean
than it was prior to this change.  I may add back
and exit(0) to side-step shutdown until it can be
made fully clean.

R=jamesr@chromium.org, sky@chromium.org
BUG=430291, 430242

Review URL: https://codereview.chromium.org/695183003
2014-11-05 13:09:08 -08:00
Eric Seidel
a934c7fc09 Switch test_sky to sky_server
Adam did this in:
https://codereview.chromium.org/699333002
But later reverted in:
https://codereview.chromium.org/692333007

The problem was that the path to sky_server
was being computed relative to the sky
directory instead of being absolute, so when
the bots tried to run test_sky from the root
mojo directory instead of mojo/sky they failed.

TBR=abarth@chromium.org

Review URL: https://codereview.chromium.org/704833002
2014-11-05 13:08:49 -08:00
Adam Barth
46a9ce7254 Switch test_sky back to apache
This CL reverts my previous change because it didn't work on the bots.

TBR=eseidel@chromium.org

Review URL: https://codereview.chromium.org/692333007
2014-11-04 17:30:25 -08:00
Hixie
73e759df2c Docs: Experimental 'button' widget, work in progress
Review URL: https://codereview.chromium.org/700023003
2014-11-04 17:27:58 -08:00
Hixie
b645080728 Specs: DocumentFragment shouldn't need to track IDs
Review URL: https://codereview.chromium.org/694413006
2014-11-04 17:23:43 -08:00
Adam Barth
c6e28d12db Fix test_sky in release builds
This CL passes the configuration information from test_sky to sky_server so
that sky_server can find the correct output directory.

R=eseidel@chromium.org

Review URL: https://codereview.chromium.org/705623003
2014-11-04 17:20:30 -08:00
Hixie
17dc981b3c Specs: Notes on ideas for sky's styling language
Review URL: https://codereview.chromium.org/695213003
2014-11-04 17:00:23 -08:00
Adam Barth
94623a8429 Add a sketch of a test_perf script
This script isn't quite working, but it's valuable to checkpoint the work at
this point. I'm coordinating with the chromeperf.appspot.com folks to get the
server to accept the data.

R=eseidel@chromium.org

Review URL: https://codereview.chromium.org/702603005
2014-11-04 16:45:43 -08:00
Adam Barth
36d547f018 Switch test_sky from apache to sky_server
After this CL, test_sky uses the same server as skydb.

R=eseidel@chromium.org, ojan@chromium.org

Review URL: https://codereview.chromium.org/699333002
2014-11-04 16:42:29 -08:00
Hixie
cdb5ef70cf Specs: Give DocumentFragment and Document a common ancestor that is
not also a common ancestor of Element, so that they can all have
findId(); use this to make the complexity of QuerySelector more accurate

Review URL: https://codereview.chromium.org/699893005
2014-11-04 16:24:19 -08:00
Hixie
6d641f21f1 Specs: UI events, first draft (covers just pointer events for now)
Review URL: https://codereview.chromium.org/699323002
2014-11-04 16:03:50 -08:00
Rafael Weinstein
b492557ddf fix file-browser
R=eseidel@chromium.org, abarth
BUG=

Review URL: https://codereview.chromium.org/705683002
2014-11-04 15:21:57 -08:00
Hixie
17f3f02c77 Docs: Converge on a consistent markdown style.
Review URL: https://codereview.chromium.org/699293002
2014-11-04 14:19:34 -08:00
Hixie
33b3ec780b Docs: We renamed appendChild to append, so update this example which still uses the old name.
Review URL: https://codereview.chromium.org/685063006
2014-11-04 14:15:40 -08:00
Adam Barth
cbd29450ff Add a microbenchmark for simple block layout
R=eseidel@chromium.org, ojan@chromium.org

Review URL: https://codereview.chromium.org/701813004
2014-11-04 13:35:03 -08:00
Hixie
fb8f678d27 Docs: add an example that uses the current APIs to define an <element>
element; an example that uses that example to define some HTMLy
elements; and an example to use those HTMLy elements to display a
hello world doc. Highly incomplete WIP.

Review URL: https://codereview.chromium.org/698293003
2014-11-04 13:32:07 -08:00
Hixie
21a61ab7e0 Specs: define registerElement() a little differently, so that the code
that uses it looks nicer; this moves the complexity to places that
register elements without using 'class' (e.g. the internals of
frameworks that create elements for defining elements)

Review URL: https://codereview.chromium.org/699083005
2014-11-04 12:16:49 -08:00
Hixie
0733fef757 Specs: define registerElement() even more carefully: as previously defined, it didn't actually register the element...
Review URL: https://codereview.chromium.org/696783004
2014-11-04 11:59:43 -08:00
Hixie
02f471411b Specs: define registerElement() more carefully; add an 'end tag
parsed' callback; pass the element's module to the constructor when
constructing a custom element (these are rather experimental changes
and we may want to go a different way on this stuff)

Review URL: https://codereview.chromium.org/701873004
2014-11-04 11:57:02 -08:00
Adam Barth
ed80ee081b tests
Address comments

Add a basic parser benchmark

This CL adds a basic benchmark for the parser. There isn't a direct way to
exercise the parser in Sky, so we use imports.

This CL also adds a load event to <import> to determine when the import is done
loading.

R=eseidel@chromium.org

parser benchmark wip
2014-11-04 11:00:32 -08:00