Deduplicate part of RenderLayerScrollableArea/ScrollableArea.

ScrollableArea only has one subclass now. Make all it's virtual
methods be pure virtual and delete any methods that
RenderLayerScrollableArea overrides.

Eventually we should probably merge the two classes into one,
but ScrollableArea is in platform and RenderLayerScrollableArea
is in core/rendering, so it's non-trivial figuring out what the
end result should look like. Hopefully it will become more clear
as we delete more of the scrolling code.

R=abarth@chromium.org

Review URL: https://codereview.chromium.org/711483003
3 files changed
tree: 749351b981c348ef579435b01edf6293fcb4fe53
  1. base/
  2. build/
  3. cc/
  4. crypto/
  5. examples/
  6. gin/
  7. gpu/
  8. mojo/
  9. net/
  10. sandbox/
  11. sdch/
  12. services/
  13. skia/
  14. sky/
  15. testing/
  16. third_party/
  17. tools/
  18. ui/
  19. url/
  20. .clang-format
  21. .gitattributes
  22. .gitignore
  23. .gn
  24. AUTHORS
  25. BUILD.gn
  26. codereview.settings
  27. DEPS
  28. LICENSE
  29. OWNERS
  30. PRESUBMIT.py
  31. PRESUBMIT_test.py
  32. README.md
  33. WATCHLISTS
README.md

Mojo

This repo uses gclient to manage dependencies, so to build things from this repo you have to first download depot_tools and make sure it is in your path:

http://www.chromium.org/developers/how-tos/install-depot-tools

Then, create a directory somewhere for your checkout, cd into it, and run the following commands:

$ fetch mojo # use --target_os=android if you want an Android build.
$ cd src
$ ./build/install-build-deps.sh

This creates a directory called ‘src’ under your checkout directory, clones the repository and its dependencies, and installs any packages needed to build.

You can then build Mojo by running:

$ gn gen out/Debug
$ ninja -C out/Debug root

If you're a Googler and want to use Goma:

$ gn args out/Debug

and add

use_goma = true

Assuming Goma is installed in the default location (~/goma).

Run a demo:

mojo/tools/mojo_demo.sh --browser

Run the tests:

mojo/tools/mojob.sh test

To land a patch:

$ git cl land

Don't break build! Waterfall is here: http://build.chromium.org/p/client.mojo/waterfall .