cc: Walk layer tree to determine if pending tree can be activated.

Remove bin counts from tile manager and instead add a
AreVisibleResourcesReady() function to LayerTreeImpl that can be used
by LTHI to determine if pending tree can be activated.

BUG=168119


Review URL: https://chromiumcodereview.appspot.com/11828027

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176560 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/cc/picture_layer_tiling_set.h b/cc/picture_layer_tiling_set.h
index 72b583e..1994173 100644
--- a/cc/picture_layer_tiling_set.h
+++ b/cc/picture_layer_tiling_set.h
@@ -31,6 +31,9 @@
       gfx::Size tile_size);
   size_t num_tilings() const { return tilings_.size(); }
   PictureLayerTiling* tiling_at(size_t idx) { return tilings_[idx]; }
+  const PictureLayerTiling* tiling_at(size_t idx) const {
+    return tilings_[idx];
+  }
 
   // Remove all tilings.
   void RemoveAllTilings();