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

Side by Side Diff: Source/core/platform/ScrollbarThemeMacCommon.h

Issue 63213002: Have Blink be told of scrollbar changes rather than paying attention itself (Blink side part 2). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 7 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 | « no previous file | Source/core/platform/ScrollbarThemeMacCommon.mm » ('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) 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
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
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
OLDNEW
« no previous file with comments | « no previous file | Source/core/platform/ScrollbarThemeMacCommon.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698