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: ui/views/controls/scroll_view.h

Issue 2192443003: MacViews: Fix scrolling when clicking on the views::ScrollView scroll track (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: static const Created 4 years, 5 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 | « no previous file | ui/views/controls/scroll_view_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/scroll_view.h
diff --git a/ui/views/controls/scroll_view.h b/ui/views/controls/scroll_view.h
index da384801d9682208c19ae558986b06fdb3bbece9..42348fc536898c984b7b767e9cdbdd5f4b03c0e3 100644
--- a/ui/views/controls/scroll_view.h
+++ b/ui/views/controls/scroll_view.h
@@ -13,6 +13,9 @@
#include "ui/views/controls/scrollbar/scroll_bar.h"
namespace views {
+namespace test {
+class ScrollViewTestApi;
+}
/////////////////////////////////////////////////////////////////////////////
//
@@ -94,7 +97,8 @@ class VIEWS_EXPORT ScrollView : public View, public ScrollBarController {
bool is_positive) override;
private:
- FRIEND_TEST_ALL_PREFIXES(ScrollViewTest, CornerViewVisibility);
+ friend class test::ScrollViewTestApi;
+
class Viewport;
// Used internally by SetHeader() and SetContents() to reset the view. Sets
« no previous file with comments | « no previous file | ui/views/controls/scroll_view_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698