Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(87)

Unified Diff: cc/test/impl_side_painting_settings.h

Issue 12954006: Let AreVisibleResourcesReady return correct value for PictureImageLayerImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Keep source scales; New ShouldAdjustRasterScale Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: cc/test/impl_side_painting_settings.h
diff --git a/cc/test/impl_side_painting_settings.h b/cc/test/impl_side_painting_settings.h
new file mode 100644
index 0000000000000000000000000000000000000000..6929a484c87738aaf03254e01e3b60d86e6f0af3
--- /dev/null
+++ b/cc/test/impl_side_painting_settings.h
@@ -0,0 +1,21 @@
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CC_TEST_IMPL_SIDE_PAINTING_SETTINGS_H_
+#define CC_TEST_IMPL_SIDE_PAINTING_SETTINGS_H_
+
+#include "cc/trees/layer_tree_settings.h"
+
+namespace cc {
+
+class ImplSidePaintingSettings : public LayerTreeSettings {
+ public:
+ ImplSidePaintingSettings() {
+ impl_side_painting = true;
+ }
+};
+
+} // namespace cc
+
+#endif // CC_TEST_IMPL_SIDE_PAINTING_SETTINGS_H_
« cc/layers/picture_layer_impl.cc ('K') | « cc/test/fake_picture_layer_tiling_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698