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

Side by Side Diff: third_party/WebKit/Source/platform/exported/WebScrollbarThemeClientImpl.h

Issue 2834573005: Scrollbar no longer inherits from FrameViewBase. (Closed)
Patch Set: Update from upstream patch Created 3 years, 8 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 WebScrollbarThemeClientImpl(WebScrollbar&); 46 WebScrollbarThemeClientImpl(WebScrollbar&);
47 ~WebScrollbarThemeClientImpl() override; 47 ~WebScrollbarThemeClientImpl() override;
48 48
49 // Implement ScrollbarThemeClient interface 49 // Implement ScrollbarThemeClient interface
50 int X() const override; 50 int X() const override;
51 int Y() const override; 51 int Y() const override;
52 int Width() const override; 52 int Width() const override;
53 int Height() const override; 53 int Height() const override;
54 IntSize Size() const override; 54 IntSize Size() const override;
55 IntPoint Location() const override; 55 IntPoint Location() const override;
56 FrameViewBase* Parent() const override;
57 FrameViewBase* Root() const override;
58 void SetFrameRect(const IntRect&) override; 56 void SetFrameRect(const IntRect&) override;
59 IntRect FrameRect() const override; 57 IntRect FrameRect() const override;
60 void Invalidate() override; 58 void Invalidate() override;
61 void InvalidateRect(const IntRect&) override; 59 void InvalidateRect(const IntRect&) override;
62 ScrollbarOverlayColorTheme GetScrollbarOverlayColorTheme() const override; 60 ScrollbarOverlayColorTheme GetScrollbarOverlayColorTheme() const override;
63 void GetTickmarks(Vector<IntRect>&) const override; 61 void GetTickmarks(Vector<IntRect>&) const override;
64 bool IsScrollableAreaActive() const override; 62 bool IsScrollableAreaActive() const override;
65 IntPoint ConvertFromRootFrame(const IntPoint&) const override; 63 IntPoint ConvertFromRootFrame(const IntPoint&) const override;
66 bool IsCustomScrollbar() const override; 64 bool IsCustomScrollbar() const override;
67 ScrollbarOrientation Orientation() const override; 65 ScrollbarOrientation Orientation() const override;
(...skipping 14 matching lines...) Expand all
82 float ElasticOverscroll() const override; 80 float ElasticOverscroll() const override;
83 void SetElasticOverscroll(float) override; 81 void SetElasticOverscroll(float) override;
84 82
85 private: 83 private:
86 WebScrollbar& scrollbar_; 84 WebScrollbar& scrollbar_;
87 }; 85 };
88 86
89 } // namespace blink 87 } // namespace blink
90 88
91 #endif // WebScrollbarThemeClientImpl_h 89 #endif // WebScrollbarThemeClientImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698