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

Side by Side Diff: third_party/WebKit/Source/platform/scroll/ScrollableArea.h

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) 2008, 2011 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008, 2011 Apple 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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 115
116 void finishCurrentScrollAnimations() const; 116 void finishCurrentScrollAnimations() const;
117 117
118 virtual void didAddScrollbar(Scrollbar&, ScrollbarOrientation); 118 virtual void didAddScrollbar(Scrollbar&, ScrollbarOrientation);
119 virtual void willRemoveScrollbar(Scrollbar&, ScrollbarOrientation); 119 virtual void willRemoveScrollbar(Scrollbar&, ScrollbarOrientation);
120 120
121 virtual void contentsResized(); 121 virtual void contentsResized();
122 122
123 bool hasOverlayScrollbars() const; 123 bool hasOverlayScrollbars() const;
124 void setScrollbarOverlayStyle(ScrollbarOverlayStyle); 124 void setScrollbarOverlayStyle(ScrollbarOverlayStyle);
125 ScrollbarOverlayStyle scrollbarOverlayStyle() const { return static_cast<Scr ollbarOverlayStyle>(m_scrollbarOverlayStyle); } 125 ScrollbarOverlayStyle getScrollbarOverlayStyle() const { return static_cast< ScrollbarOverlayStyle>(m_scrollbarOverlayStyle); }
126 126
127 // This getter will create a ScrollAnimatorBase if it doesn't already exist. 127 // This getter will create a ScrollAnimatorBase if it doesn't already exist.
128 ScrollAnimatorBase& scrollAnimator() const; 128 ScrollAnimatorBase& scrollAnimator() const;
129 129
130 // This getter will return null if the ScrollAnimatorBase hasn't been create d yet. 130 // This getter will return null if the ScrollAnimatorBase hasn't been create d yet.
131 ScrollAnimatorBase* existingScrollAnimator() const { return m_scrollAnimator .get(); } 131 ScrollAnimatorBase* existingScrollAnimator() const { return m_scrollAnimator .get(); }
132 132
133 ProgrammaticScrollAnimator& programmaticScrollAnimator() const; 133 ProgrammaticScrollAnimator& programmaticScrollAnimator() const;
134 ProgrammaticScrollAnimator* existingProgrammaticScrollAnimator() const { ret urn m_programmaticScrollAnimator.get(); } 134 ProgrammaticScrollAnimator* existingProgrammaticScrollAnimator() const { ret urn m_programmaticScrollAnimator.get(); }
135 135
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 // vertical-lr / ltr NO NO 358 // vertical-lr / ltr NO NO
359 // vertical-lr / rtl NO YES 359 // vertical-lr / rtl NO YES
360 // vertical-rl / ltr YES NO 360 // vertical-rl / ltr YES NO
361 // vertical-rl / rtl YES YES 361 // vertical-rl / rtl YES YES
362 IntPoint m_scrollOrigin; 362 IntPoint m_scrollOrigin;
363 }; 363 };
364 364
365 } // namespace blink 365 } // namespace blink
366 366
367 #endif // ScrollableArea_h 367 #endif // ScrollableArea_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698