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

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

Issue 462373002: Allow the native theme to paint the corner between scrollbars (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make the test a friend Created 6 years, 4 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 | « ui/native_theme/native_theme_base.cc ('k') | ui/views/controls/scroll_view.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 c1c18713af094fb42e12f77dfa5410a2aa4e05ff..f6e85642a8337281e03b1208b2f4faa4ffa5d825 100644
--- a/ui/views/controls/scroll_view.h
+++ b/ui/views/controls/scroll_view.h
@@ -92,6 +92,7 @@ class VIEWS_EXPORT ScrollView : public View, public ScrollBarController {
bool is_positive) OVERRIDE;
private:
+ FRIEND_TEST_ALL_PREFIXES(ScrollViewTest, CornerViewVisibility);
class Viewport;
// Used internally by SetHeader() and SetContents() to reset the view. Sets
@@ -111,7 +112,7 @@ class VIEWS_EXPORT ScrollView : public View, public ScrollBarController {
bool* horiz_is_shown,
bool* vert_is_shown) const;
- // Shows or hides the scrollbar/resize_corner based on the value of
+ // Shows or hides the scrollbar/corner_view based on the value of
// |should_show|.
void SetControlVisibility(View* control, bool should_show);
@@ -134,8 +135,8 @@ class VIEWS_EXPORT ScrollView : public View, public ScrollBarController {
// Vertical scrollbar.
ScrollBar* vert_sb_;
- // Resize corner.
- View* resize_corner_;
+ // Corner view.
+ View* corner_view_;
// The min and max height for the bounded scroll view. These are negative
// values if the view is not bounded.
« no previous file with comments | « ui/native_theme/native_theme_base.cc ('k') | ui/views/controls/scroll_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698