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

Side by Side Diff: sky/engine/platform/exported/WebScrollbarImpl.cpp

Issue 685003003: Remove a lot of dead Scrollbar methods. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « sky/engine/platform/exported/WebScrollbarImpl.h ('k') | sky/engine/platform/scroll/Scrollbar.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 int WebScrollbarImpl::maximum() const 64 int WebScrollbarImpl::maximum() const
65 { 65 {
66 return m_scrollbar->maximum(); 66 return m_scrollbar->maximum();
67 } 67 }
68 68
69 int WebScrollbarImpl::totalSize() const 69 int WebScrollbarImpl::totalSize() const
70 { 70 {
71 return m_scrollbar->totalSize(); 71 return m_scrollbar->totalSize();
72 } 72 }
73 73
74 bool WebScrollbarImpl::isScrollViewScrollbar() const
75 {
76 return m_scrollbar->isScrollViewScrollbar();
77 }
78
79 bool WebScrollbarImpl::isScrollableAreaActive() const 74 bool WebScrollbarImpl::isScrollableAreaActive() const
80 { 75 {
81 return m_scrollbar->isScrollableAreaActive(); 76 return m_scrollbar->isScrollableAreaActive();
82 } 77 }
83 78
84 void WebScrollbarImpl::getTickmarks(WebVector<WebRect>& webTickmarks) const 79 void WebScrollbarImpl::getTickmarks(WebVector<WebRect>& webTickmarks) const
85 { 80 {
86 Vector<IntRect> tickmarks; 81 Vector<IntRect> tickmarks;
87 m_scrollbar->getTickmarks(tickmarks); 82 m_scrollbar->getTickmarks(tickmarks);
88 83
(...skipping 22 matching lines...) Expand all
111 WebScrollbar::Orientation WebScrollbarImpl::orientation() const 106 WebScrollbar::Orientation WebScrollbarImpl::orientation() const
112 { 107 {
113 return static_cast<WebScrollbar::Orientation>(m_scrollbar->orientation()); 108 return static_cast<WebScrollbar::Orientation>(m_scrollbar->orientation());
114 } 109 }
115 110
116 bool WebScrollbarImpl::isLeftSideVerticalScrollbar() const 111 bool WebScrollbarImpl::isLeftSideVerticalScrollbar() const
117 { 112 {
118 return m_scrollbar->isLeftSideVerticalScrollbar(); 113 return m_scrollbar->isLeftSideVerticalScrollbar();
119 } 114 }
120 115
121 bool WebScrollbarImpl::isCustomScrollbar() const
122 {
123 return m_scrollbar->isCustomScrollbar();
124 }
125
126 bool WebScrollbarImpl::isAlphaLocked() const
127 {
128 return m_scrollbar->isAlphaLocked();
129 }
130
131 void WebScrollbarImpl::setIsAlphaLocked(bool flag)
132 {
133 m_scrollbar->setIsAlphaLocked(flag);
134 }
135
136 } // namespace blink 116 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/platform/exported/WebScrollbarImpl.h ('k') | sky/engine/platform/scroll/Scrollbar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698