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

Side by Side Diff: Source/web/DragClientImpl.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/DateTimeChooserImpl.h ('k') | Source/web/EditorClientImpl.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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 27 matching lines...) Expand all
38 class ClipBoard; 38 class ClipBoard;
39 class DragData; 39 class DragData;
40 class DragImage; 40 class DragImage;
41 class IntPoint; 41 class IntPoint;
42 class KURL; 42 class KURL;
43 } 43 }
44 44
45 namespace blink { 45 namespace blink {
46 class WebViewImpl; 46 class WebViewImpl;
47 47
48 class DragClientImpl : public WebCore::DragClient { 48 class DragClientImpl FINAL : public WebCore::DragClient {
49 public: 49 public:
50 DragClientImpl(WebViewImpl* webView) : m_webView(webView) { } 50 DragClientImpl(WebViewImpl* webView) : m_webView(webView) { }
51 51
52 virtual WebCore::DragDestinationAction actionMaskForDrag(WebCore::DragData*) ; 52 virtual WebCore::DragDestinationAction actionMaskForDrag(WebCore::DragData*) OVERRIDE;
53 virtual void startDrag( 53 virtual void startDrag(
54 WebCore::DragImage*, 54 WebCore::DragImage*,
55 const WebCore::IntPoint& dragImageOrigin, 55 const WebCore::IntPoint& dragImageOrigin,
56 const WebCore::IntPoint& eventPos, 56 const WebCore::IntPoint& eventPos,
57 WebCore::Clipboard* clipboard, 57 WebCore::Clipboard* clipboard,
58 WebCore::Frame* frame, 58 WebCore::Frame* frame,
59 bool isLinkDrag = false); 59 bool isLinkDrag = false) OVERRIDE;
60 60
61 private: 61 private:
62 WebViewImpl* m_webView; 62 WebViewImpl* m_webView;
63 }; 63 };
64 64
65 } // namespace blink 65 } // namespace blink
66 66
67 #endif 67 #endif
OLDNEW
« no previous file with comments | « Source/web/DateTimeChooserImpl.h ('k') | Source/web/EditorClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698