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

Side by Side Diff: Source/web/WebPluginScrollbarImpl.h

Issue 648913002: Clean up vestiges of ScrollView. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « Source/web/ViewportAnchor.cpp ('k') | Source/web/WebPluginScrollbarImpl.cpp » ('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) 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 * 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 Scrollbar* scrollbar() { return m_scrollbar.get(); } 53 Scrollbar* scrollbar() { return m_scrollbar.get(); }
54 54
55 // WebScrollbar methods 55 // WebScrollbar methods
56 virtual bool isOverlay() const override; 56 virtual bool isOverlay() const override;
57 virtual int value() const override; 57 virtual int value() const override;
58 virtual WebPoint location() const override; 58 virtual WebPoint location() const override;
59 virtual WebSize size() const override; 59 virtual WebSize size() const override;
60 virtual bool enabled() const override; 60 virtual bool enabled() const override;
61 virtual int maximum() const override; 61 virtual int maximum() const override;
62 virtual int totalSize() const override; 62 virtual int totalSize() const override;
63 virtual bool isScrollViewScrollbar() const override;
64 virtual bool isScrollableAreaActive() const override; 63 virtual bool isScrollableAreaActive() const override;
65 virtual void getTickmarks(WebVector<WebRect>& tickmarks) const override; 64 virtual void getTickmarks(WebVector<WebRect>& tickmarks) const override;
66 virtual WebScrollbar::ScrollbarControlSize controlSize() const override; 65 virtual WebScrollbar::ScrollbarControlSize controlSize() const override;
67 virtual WebScrollbar::ScrollbarPart pressedPart() const override; 66 virtual WebScrollbar::ScrollbarPart pressedPart() const override;
68 virtual WebScrollbar::ScrollbarPart hoveredPart() const override; 67 virtual WebScrollbar::ScrollbarPart hoveredPart() const override;
69 virtual WebScrollbar::ScrollbarOverlayStyle scrollbarOverlayStyle() const ov erride; 68 virtual WebScrollbar::ScrollbarOverlayStyle scrollbarOverlayStyle() const ov erride;
70 virtual WebScrollbar::Orientation orientation() const override; 69 virtual WebScrollbar::Orientation orientation() const override;
71 virtual bool isLeftSideVerticalScrollbar() const override; 70 virtual bool isLeftSideVerticalScrollbar() const override;
72 virtual bool isCustomScrollbar() const override; 71 virtual bool isCustomScrollbar() const override;
73 72
(...skipping 18 matching lines...) Expand all
92 ScrollbarGroup* m_group; 91 ScrollbarGroup* m_group;
93 WebPluginScrollbarClient* m_client; 92 WebPluginScrollbarClient* m_client;
94 93
95 int m_scrollOffset; 94 int m_scrollOffset;
96 RefPtr<Scrollbar> m_scrollbar; 95 RefPtr<Scrollbar> m_scrollbar;
97 }; 96 };
98 97
99 } // namespace blink 98 } // namespace blink
100 99
101 #endif 100 #endif
OLDNEW
« no previous file with comments | « Source/web/ViewportAnchor.cpp ('k') | Source/web/WebPluginScrollbarImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698