| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008 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 14 matching lines...) Expand all Loading... |
| 25 | 25 |
| 26 #ifndef ScrollbarThemeMacCommon_h | 26 #ifndef ScrollbarThemeMacCommon_h |
| 27 #define ScrollbarThemeMacCommon_h | 27 #define ScrollbarThemeMacCommon_h |
| 28 | 28 |
| 29 #include "core/platform/ScrollbarTheme.h" | 29 #include "core/platform/ScrollbarTheme.h" |
| 30 | 30 |
| 31 namespace WebCore { | 31 namespace WebCore { |
| 32 | 32 |
| 33 class ScrollbarThemeMacCommon : public ScrollbarTheme { | 33 class ScrollbarThemeMacCommon : public ScrollbarTheme { |
| 34 public: | 34 public: |
| 35 void Initialize(); | |
| 36 virtual ~ScrollbarThemeMacCommon(); | 35 virtual ~ScrollbarThemeMacCommon(); |
| 37 | 36 |
| 38 virtual void registerScrollbar(ScrollbarThemeClient*) OVERRIDE; | 37 virtual void registerScrollbar(ScrollbarThemeClient*) OVERRIDE; |
| 39 virtual void unregisterScrollbar(ScrollbarThemeClient*) OVERRIDE; | 38 virtual void unregisterScrollbar(ScrollbarThemeClient*) OVERRIDE; |
| 40 void preferencesChanged(float initialButtonDelay, float autoscrollButtonDela
y, bool jumpOnTrackClick, bool redraw); | 39 void preferencesChanged(float initialButtonDelay, float autoscrollButtonDela
y, bool jumpOnTrackClick, bool redraw); |
| 41 | 40 |
| 42 virtual bool supportsControlTints() const OVERRIDE { return true; } | 41 virtual bool supportsControlTints() const OVERRIDE { return true; } |
| 43 | 42 |
| 44 virtual double initialAutoscrollTimerDelay() OVERRIDE; | 43 virtual double initialAutoscrollTimerDelay() OVERRIDE; |
| 45 virtual double autoscrollTimerDelay() OVERRIDE; | 44 virtual double autoscrollTimerDelay() OVERRIDE; |
| (...skipping 12 matching lines...) Expand all Loading... |
| 58 virtual void updateButtonPlacement() { } | 57 virtual void updateButtonPlacement() { } |
| 59 | 58 |
| 60 void paintGivenTickmarks(GraphicsContext*, ScrollbarThemeClient*, const IntR
ect&, const Vector<IntRect>&); | 59 void paintGivenTickmarks(GraphicsContext*, ScrollbarThemeClient*, const IntR
ect&, const Vector<IntRect>&); |
| 61 | 60 |
| 62 RefPtr<Pattern> m_overhangPattern; | 61 RefPtr<Pattern> m_overhangPattern; |
| 63 }; | 62 }; |
| 64 | 63 |
| 65 } | 64 } |
| 66 | 65 |
| 67 #endif // ScrollbarThemeMacCommon_h | 66 #endif // ScrollbarThemeMacCommon_h |
| OLD | NEW |