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

Unified Diff: ui/views/controls/scroll_view.h

Issue 2229943003: Reusing Ok/Cancel buttons for intent picker (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Temporary fix to force Layout enabling within contents_viewport_ Created 4 years, 2 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: ui/views/controls/scroll_view.h
diff --git a/ui/views/controls/scroll_view.h b/ui/views/controls/scroll_view.h
index 5f55c20d31b7d1bd0aeb883103ae693a73291488..4ec2221d55d8ee9226d10bd47e22e54787b3138a 100644
--- a/ui/views/controls/scroll_view.h
+++ b/ui/views/controls/scroll_view.h
@@ -106,6 +106,10 @@ class VIEWS_EXPORT ScrollView : public View, public ScrollBarController {
bool is_page,
bool is_positive) override;
+ // TODO(djacobo): Remove this method when http://crbug.com/656198 is closed.
+ // Force |contents_viewport_| to enable a Layer().
+ void EnableViewPortLayer();
+
private:
friend class test::ScrollViewTestApi;

Powered by Google App Engine
This is Rietveld 408576698