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

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

Issue 135753002: Update web classes to use OVERRIDE / FINAL when needed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 11 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/WebPluginContainerImpl.h ('k') | Source/web/WebPopupMenuImpl.h » ('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 22 matching lines...) Expand all
33 namespace WebCore { 33 namespace WebCore {
34 class IntPoint; 34 class IntPoint;
35 class IntRect; 35 class IntRect;
36 class Scrollbar; 36 class Scrollbar;
37 } 37 }
38 38
39 namespace blink { 39 namespace blink {
40 40
41 class ScrollbarGroup; 41 class ScrollbarGroup;
42 42
43 class WebPluginScrollbarImpl : public WebPluginScrollbar { 43 class WebPluginScrollbarImpl FINAL : public WebPluginScrollbar {
44 public: 44 public:
45 WebPluginScrollbarImpl(Orientation, ScrollbarGroup*, WebPluginScrollbarClien t*); 45 WebPluginScrollbarImpl(Orientation, ScrollbarGroup*, WebPluginScrollbarClien t*);
46 ~WebPluginScrollbarImpl(); 46 virtual ~WebPluginScrollbarImpl();
47 47
48 void setScrollOffset(int); 48 void setScrollOffset(int);
49 void invalidateScrollbarRect(const WebCore::IntRect&); 49 void invalidateScrollbarRect(const WebCore::IntRect&);
50 // FIXME: Combine this with the other getTickmarks method 50 // FIXME: Combine this with the other getTickmarks method
51 void getTickmarks(Vector<WebCore::IntRect>&) const; 51 void getTickmarks(Vector<WebCore::IntRect>&) const;
52 WebCore::IntPoint convertFromContainingViewToScrollbar(const WebCore::IntPoi nt& parentPoint) const; 52 WebCore::IntPoint convertFromContainingViewToScrollbar(const WebCore::IntPoi nt& parentPoint) const;
53 void scrollbarStyleChanged(); 53 void scrollbarStyleChanged();
54 54
55 int scrollOffset() { return m_scrollOffset; } 55 int scrollOffset() { return m_scrollOffset; }
56 WebCore::Scrollbar* scrollbar() { return m_scrollbar.get(); } 56 WebCore::Scrollbar* scrollbar() { return m_scrollbar.get(); }
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 ScrollbarGroup* m_group; 95 ScrollbarGroup* m_group;
96 WebPluginScrollbarClient* m_client; 96 WebPluginScrollbarClient* m_client;
97 97
98 int m_scrollOffset; 98 int m_scrollOffset;
99 RefPtr<WebCore::Scrollbar> m_scrollbar; 99 RefPtr<WebCore::Scrollbar> m_scrollbar;
100 }; 100 };
101 101
102 } // namespace blink 102 } // namespace blink
103 103
104 #endif 104 #endif
OLDNEW
« no previous file with comments | « Source/web/WebPluginContainerImpl.h ('k') | Source/web/WebPopupMenuImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698