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

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

Issue 2722953003: Part 1 to rename platform/Widget to platform/FrameViewBase. (Closed)
Patch Set: Created 3 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) 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 Widget* parent() const override; 56 FrameViewBase* parent() const override;
57 Widget* root() const override; 57 FrameViewBase* root() const override;
58 void setFrameRect(const IntRect&) override; 58 void setFrameRect(const IntRect&) override;
59 IntRect frameRect() const override; 59 IntRect frameRect() const override;
60 void invalidate() override; 60 void invalidate() override;
61 void invalidateRect(const IntRect&) override; 61 void invalidateRect(const IntRect&) override;
62 ScrollbarOverlayColorTheme getScrollbarOverlayColorTheme() const override; 62 ScrollbarOverlayColorTheme getScrollbarOverlayColorTheme() const override;
63 void getTickmarks(Vector<IntRect>&) const override; 63 void getTickmarks(Vector<IntRect>&) const override;
64 bool isScrollableAreaActive() const override; 64 bool isScrollableAreaActive() const override;
65 IntPoint convertFromRootFrame(const IntPoint&) const override; 65 IntPoint convertFromRootFrame(const IntPoint&) const override;
66 bool isCustomScrollbar() const override; 66 bool isCustomScrollbar() const override;
67 ScrollbarOrientation orientation() const override; 67 ScrollbarOrientation orientation() const override;
(...skipping 14 matching lines...) Expand all
82 float elasticOverscroll() const override; 82 float elasticOverscroll() const override;
83 void setElasticOverscroll(float) override; 83 void setElasticOverscroll(float) override;
84 84
85 private: 85 private:
86 WebScrollbar& m_scrollbar; 86 WebScrollbar& m_scrollbar;
87 }; 87 };
88 88
89 } // namespace blink 89 } // namespace blink
90 90
91 #endif // WebScrollbarThemeClientImpl_h 91 #endif // WebScrollbarThemeClientImpl_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/Widget.cpp ('k') | third_party/WebKit/Source/platform/scroll/ScrollbarThemeClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698