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

Unified Diff: ui/views/controls/scrollbar/scroll_bar.cc

Issue 16171010: Introduces a new scrollbar for message_center. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: GetVisibleSize -> GetContentOverlapSize Created 7 years, 6 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/views/controls/scrollbar/scroll_bar.h ('k') | ui/views/views.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/scrollbar/scroll_bar.cc
diff --git a/ui/views/controls/scrollbar/scroll_bar.cc b/ui/views/controls/scrollbar/scroll_bar.cc
index 7719d8653ba25ef95eec94d92a06501f32de96b1..5374d32ceef377f9557530182b74f2c3b24dfa00 100644
--- a/ui/views/controls/scrollbar/scroll_bar.cc
+++ b/ui/views/controls/scrollbar/scroll_bar.cc
@@ -31,6 +31,16 @@ int ScrollBar::GetMinPosition() const {
return 0;
}
+int ScrollBar::GetContentOverlapSize() const {
+ return 0;
+}
+
+void ScrollBar::OnMouseEnteredScrollView(const ui::MouseEvent& event) {
+}
+
+void ScrollBar::OnMouseExitedScrollView(const ui::MouseEvent& event) {
+}
+
ScrollBar::ScrollBar(bool is_horiz)
: is_horiz_(is_horiz),
controller_(NULL),
« no previous file with comments | « ui/views/controls/scrollbar/scroll_bar.h ('k') | ui/views/views.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698