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

Side by Side Diff: Source/web/ScrollbarGroup.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/PrerendererClientImpl.h ('k') | Source/web/ServiceWorkerGlobalScopeProxy.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) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 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 20 matching lines...) Expand all
31 #include "wtf/RefPtr.h" 31 #include "wtf/RefPtr.h"
32 32
33 namespace WebCore { 33 namespace WebCore {
34 class FrameView; 34 class FrameView;
35 } 35 }
36 36
37 namespace blink { 37 namespace blink {
38 38
39 class WebPluginScrollbarImpl; 39 class WebPluginScrollbarImpl;
40 40
41 class ScrollbarGroup : public WebCore::ScrollableArea { 41 class ScrollbarGroup FINAL : public WebCore::ScrollableArea {
42 public: 42 public:
43 ScrollbarGroup(WebCore::FrameView*, const WebCore::IntRect& frameRect); 43 ScrollbarGroup(WebCore::FrameView*, const WebCore::IntRect& frameRect);
44 ~ScrollbarGroup(); 44 virtual ~ScrollbarGroup();
45 45
46 void scrollbarCreated(WebPluginScrollbarImpl*); 46 void scrollbarCreated(WebPluginScrollbarImpl*);
47 void scrollbarDestroyed(WebPluginScrollbarImpl*); 47 void scrollbarDestroyed(WebPluginScrollbarImpl*);
48 void setLastMousePosition(const WebCore::IntPoint&); 48 void setLastMousePosition(const WebCore::IntPoint&);
49 void setFrameRect(const WebCore::IntRect&); 49 void setFrameRect(const WebCore::IntRect&);
50 50
51 // WebCore::ScrollableArea methods 51 // WebCore::ScrollableArea methods
52 virtual int scrollSize(WebCore::ScrollbarOrientation) const OVERRIDE; 52 virtual int scrollSize(WebCore::ScrollbarOrientation) const OVERRIDE;
53 virtual void setScrollOffset(const WebCore::IntPoint&) OVERRIDE; 53 virtual void setScrollOffset(const WebCore::IntPoint&) OVERRIDE;
54 virtual void invalidateScrollbarRect(WebCore::Scrollbar*, const WebCore::Int Rect&) OVERRIDE; 54 virtual void invalidateScrollbarRect(WebCore::Scrollbar*, const WebCore::Int Rect&) OVERRIDE;
(...skipping 26 matching lines...) Expand all
81 WebCore::FrameView* m_frameView; 81 WebCore::FrameView* m_frameView;
82 WebCore::IntPoint m_lastMousePosition; 82 WebCore::IntPoint m_lastMousePosition;
83 WebCore::IntRect m_frameRect; 83 WebCore::IntRect m_frameRect;
84 WebPluginScrollbarImpl* m_horizontalScrollbar; 84 WebPluginScrollbarImpl* m_horizontalScrollbar;
85 WebPluginScrollbarImpl* m_verticalScrollbar; 85 WebPluginScrollbarImpl* m_verticalScrollbar;
86 }; 86 };
87 87
88 } // namespace blink 88 } // namespace blink
89 89
90 #endif 90 #endif
OLDNEW
« no previous file with comments | « Source/web/PrerendererClientImpl.h ('k') | Source/web/ServiceWorkerGlobalScopeProxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698