Eric Seidel 6b3840e384 Move image loading out of C++ into Dart
We already know how to talk to the network_service from Dart
via fetch.dart.  Might as well use that for Image loading
as well insetad of having ImageLoader do it.

As part of this I've renamed *ImageLoader to *ImageDecoder
and moved all the image loading logic into Dart.  This required
me to teach the idl system about mojo handles so that I could
pass the resulting MojoHandle from fetch.dart up through to
ImageDecoder.

R=abarth@chromium.org, jackson@google.com, hansmuller@google.com

Review URL: https://codereview.chromium.org/1173703002.
2015-06-09 12:14:13 -07:00
..
2015-03-26 14:32:40 -07:00
2015-03-26 17:17:34 -07:00
2015-03-26 17:17:34 -07:00

This sample app is our main test harness right now.

Follow these steps to make sure everything works, comparing the results to earlier builds:

  1. Load the app
  2. Scroll down and up.
  3. Fling down.
  4. Fling up. Verify that it bounces at the top.
  5. Tap on rows. Make sure they get ink splashes.
  6. Open the drawer.
  7. Slide the drawer in and out.
  8. Check that you can change the radio buttons.
  9. Check for ink splashes on each row but not in the header.
  10. Check that you can't scroll the list with the drawer out.
  11. Close the drawer.
  12. Open the menu.
  13. Check the checkbox.
  14. Open the menu. Verify the checkbox is checked.
  15. Tap another menu item.
  16. Hit search.
  17. Type a query like "XXI".
  18. Dismiss the keyboard.
  19. Scroll the list. Verify that you can't overscroll.
  20. Tap the search bar. Verify the keyboard comes back.
  21. Switch to the voice keyboard. Verify that that keyboard works.
  22. Hit the back button.
  23. Verify that the floating action button gets ink splashes.

These steps carefully avoid known bugs. See: https://github.com/domokit/mojo/labels/stock%20demo