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

Unified Diff: cc/test/fake_web_scrollbar.h

Issue 15294018: Limit size of scaled layer rects in ScrollbarLayer to content_bounds(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased to fix merge conflict. Created 7 years, 7 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
« no previous file with comments | « cc/layers/scrollbar_layer_unittest.cc ('k') | cc/test/fake_web_scrollbar.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_web_scrollbar.h
diff --git a/cc/test/fake_web_scrollbar.h b/cc/test/fake_web_scrollbar.h
index 444ee66732b9a8a4ec10fc27f84194677bb9a7a7..ace21f25e7bb3727147fdd226aeb8ed7c18e9913 100644
--- a/cc/test/fake_web_scrollbar.h
+++ b/cc/test/fake_web_scrollbar.h
@@ -38,10 +38,13 @@ class FakeWebScrollbar : public WebKit::WebScrollbar {
virtual bool isCustomScrollbar() const OVERRIDE;
virtual Orientation orientation() const OVERRIDE;
+ void SetLocation(const WebKit::WebPoint& location);
+
private:
FakeWebScrollbar();
bool is_overlay_;
+ WebKit::WebPoint location_;
};
} // namespace cc
« no previous file with comments | « cc/layers/scrollbar_layer_unittest.cc ('k') | cc/test/fake_web_scrollbar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698