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

Side by Side Diff: Source/core/platform/chromium/support/WebScrollbarThemeClientImpl.h

Issue 16982005: Allow objects without scrollbars to be scrollable (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed ScrollbarGroup pageStep Created 7 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 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 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 virtual bool isScrollViewScrollbar() const OVERRIDE; 61 virtual bool isScrollViewScrollbar() const OVERRIDE;
62 virtual IntPoint convertFromContainingWindow(const IntPoint&) OVERRIDE; 62 virtual IntPoint convertFromContainingWindow(const IntPoint&) OVERRIDE;
63 virtual bool isCustomScrollbar() const OVERRIDE; 63 virtual bool isCustomScrollbar() const OVERRIDE;
64 virtual ScrollbarOrientation orientation() const OVERRIDE; 64 virtual ScrollbarOrientation orientation() const OVERRIDE;
65 virtual int value() const OVERRIDE; 65 virtual int value() const OVERRIDE;
66 virtual float currentPos() const OVERRIDE; 66 virtual float currentPos() const OVERRIDE;
67 virtual int visibleSize() const OVERRIDE; 67 virtual int visibleSize() const OVERRIDE;
68 virtual int totalSize() const OVERRIDE; 68 virtual int totalSize() const OVERRIDE;
69 virtual int maximum() const OVERRIDE; 69 virtual int maximum() const OVERRIDE;
70 virtual ScrollbarControlSize controlSize() const OVERRIDE; 70 virtual ScrollbarControlSize controlSize() const OVERRIDE;
71 virtual int lineStep() const OVERRIDE;
72 virtual int pageStep() const OVERRIDE;
73 virtual ScrollbarPart pressedPart() const OVERRIDE; 71 virtual ScrollbarPart pressedPart() const OVERRIDE;
74 virtual ScrollbarPart hoveredPart() const OVERRIDE; 72 virtual ScrollbarPart hoveredPart() const OVERRIDE;
75 virtual void styleChanged() OVERRIDE; 73 virtual void styleChanged() OVERRIDE;
76 virtual bool enabled() const OVERRIDE; 74 virtual bool enabled() const OVERRIDE;
77 virtual void setEnabled(bool) OVERRIDE; 75 virtual void setEnabled(bool) OVERRIDE;
78 virtual bool isOverlayScrollbar() const OVERRIDE; 76 virtual bool isOverlayScrollbar() const OVERRIDE;
79 virtual bool isAlphaLocked() const OVERRIDE; 77 virtual bool isAlphaLocked() const OVERRIDE;
80 virtual void setIsAlphaLocked(bool) OVERRIDE; 78 virtual void setIsAlphaLocked(bool) OVERRIDE;
81 79
82 private: 80 private:
83 WebKit::WebScrollbar* m_scrollbar; 81 WebKit::WebScrollbar* m_scrollbar;
84 }; 82 };
85 83
86 } 84 }
87 85
88 #endif // WebScrollbarThemeClientImpl_h 86 #endif // WebScrollbarThemeClientImpl_h
OLDNEW
« no previous file with comments | « Source/core/platform/ScrollbarThemeClient.h ('k') | Source/core/platform/chromium/support/WebScrollbarThemeClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698