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

Side by Side Diff: third_party/WebKit/Source/platform/exported/WebScrollbarImpl.cpp

Issue 1746283002: Rename enums/functions that collide in chromium style in platform/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: get-names-13-platform: . Created 4 years, 9 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 unified diff | Download patch
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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 return static_cast<WebScrollbar::ScrollbarPart>(m_scrollbar->pressedPart()); 96 return static_cast<WebScrollbar::ScrollbarPart>(m_scrollbar->pressedPart());
97 } 97 }
98 98
99 WebScrollbar::ScrollbarPart WebScrollbarImpl::hoveredPart() const 99 WebScrollbar::ScrollbarPart WebScrollbarImpl::hoveredPart() const
100 { 100 {
101 return static_cast<WebScrollbar::ScrollbarPart>(m_scrollbar->hoveredPart()); 101 return static_cast<WebScrollbar::ScrollbarPart>(m_scrollbar->hoveredPart());
102 } 102 }
103 103
104 WebScrollbar::ScrollbarOverlayStyle WebScrollbarImpl::scrollbarOverlayStyle() co nst 104 WebScrollbar::ScrollbarOverlayStyle WebScrollbarImpl::scrollbarOverlayStyle() co nst
105 { 105 {
106 return static_cast<WebScrollbar::ScrollbarOverlayStyle>(m_scrollbar->scrollb arOverlayStyle()); 106 return static_cast<WebScrollbar::ScrollbarOverlayStyle>(m_scrollbar->getScro llbarOverlayStyle());
107 } 107 }
108 108
109 WebScrollbar::Orientation WebScrollbarImpl::orientation() const 109 WebScrollbar::Orientation WebScrollbarImpl::orientation() const
110 { 110 {
111 return static_cast<WebScrollbar::Orientation>(m_scrollbar->orientation()); 111 return static_cast<WebScrollbar::Orientation>(m_scrollbar->orientation());
112 } 112 }
113 113
114 bool WebScrollbarImpl::isLeftSideVerticalScrollbar() const 114 bool WebScrollbarImpl::isLeftSideVerticalScrollbar() const
115 { 115 {
116 return m_scrollbar->isLeftSideVerticalScrollbar(); 116 return m_scrollbar->isLeftSideVerticalScrollbar();
117 } 117 }
118 118
119 bool WebScrollbarImpl::isCustomScrollbar() const 119 bool WebScrollbarImpl::isCustomScrollbar() const
120 { 120 {
121 return m_scrollbar->isCustomScrollbar(); 121 return m_scrollbar->isCustomScrollbar();
122 } 122 }
123 123
124 float WebScrollbarImpl::elasticOverscroll() const 124 float WebScrollbarImpl::elasticOverscroll() const
125 { 125 {
126 return m_scrollbar->elasticOverscroll(); 126 return m_scrollbar->elasticOverscroll();
127 } 127 }
128 128
129 void WebScrollbarImpl::setElasticOverscroll(float elasticOverscroll) 129 void WebScrollbarImpl::setElasticOverscroll(float elasticOverscroll)
130 { 130 {
131 m_scrollbar->setElasticOverscroll(elasticOverscroll); 131 m_scrollbar->setElasticOverscroll(elasticOverscroll);
132 } 132 }
133 133
134 } // namespace blink 134 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698