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

Side by Side Diff: Source/web/tests/FakeWebPlugin.h

Issue 634893002: Replace OVERRIDE and FINAL with override and final in WebKit/public (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
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
« no previous file with comments | « Source/web/tests/ActivityLoggerTest.cpp ('k') | Source/web/tests/FrameLoaderClientImplTest.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 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 29 matching lines...) Expand all
40 class WebInputEvent; 40 class WebInputEvent;
41 class WebPluginContainer; 41 class WebPluginContainer;
42 class WebURL; 42 class WebURL;
43 class WebURLResponse; 43 class WebURLResponse;
44 44
45 class FakeWebPlugin : public WebPlugin { 45 class FakeWebPlugin : public WebPlugin {
46 public: 46 public:
47 FakeWebPlugin(WebFrame*, const WebPluginParams&); 47 FakeWebPlugin(WebFrame*, const WebPluginParams&);
48 48
49 // WebPlugin methods: 49 // WebPlugin methods:
50 virtual bool initialize(WebPluginContainer*) OVERRIDE; 50 virtual bool initialize(WebPluginContainer*) override;
51 virtual void destroy() OVERRIDE; 51 virtual void destroy() override;
52 virtual NPObject* scriptableObject() OVERRIDE { return 0; } 52 virtual NPObject* scriptableObject() override { return 0; }
53 virtual bool canProcessDrag() const OVERRIDE { return false; } 53 virtual bool canProcessDrag() const override { return false; }
54 virtual void paint(WebCanvas*, const WebRect&) OVERRIDE { } 54 virtual void paint(WebCanvas*, const WebRect&) override { }
55 virtual void updateGeometry(const WebRect& frameRect, const WebRect& clipRec t, const WebVector<WebRect>& cutOutsRects, bool isVisible) OVERRIDE { } 55 virtual void updateGeometry(const WebRect& frameRect, const WebRect& clipRec t, const WebVector<WebRect>& cutOutsRects, bool isVisible) override { }
56 virtual void updateFocus(bool) OVERRIDE { } 56 virtual void updateFocus(bool) override { }
57 virtual void updateVisibility(bool) OVERRIDE { } 57 virtual void updateVisibility(bool) override { }
58 virtual bool acceptsInputEvents() OVERRIDE { return true; } 58 virtual bool acceptsInputEvents() override { return true; }
59 virtual bool handleInputEvent(const WebInputEvent&, WebCursorInfo&) OVERRIDE { return false; } 59 virtual bool handleInputEvent(const WebInputEvent&, WebCursorInfo&) override { return false; }
60 virtual bool handleDragStatusUpdate(WebDragStatus, const WebDragData&, WebDr agOperationsMask, const WebPoint& position, const WebPoint& screenPosition) OVER RIDE { return false; } 60 virtual bool handleDragStatusUpdate(WebDragStatus, const WebDragData&, WebDr agOperationsMask, const WebPoint& position, const WebPoint& screenPosition) over ride { return false; }
61 virtual void didReceiveResponse(const WebURLResponse&) OVERRIDE { } 61 virtual void didReceiveResponse(const WebURLResponse&) override { }
62 virtual void didReceiveData(const char* data, int dataLength) OVERRIDE { } 62 virtual void didReceiveData(const char* data, int dataLength) override { }
63 virtual void didFinishLoading() OVERRIDE { } 63 virtual void didFinishLoading() override { }
64 virtual void didFailLoading(const WebURLError&) OVERRIDE { } 64 virtual void didFailLoading(const WebURLError&) override { }
65 virtual void didFinishLoadingFrameRequest(const WebURL&, void* notifyData) O VERRIDE { } 65 virtual void didFinishLoadingFrameRequest(const WebURL&, void* notifyData) o verride { }
66 virtual void didFailLoadingFrameRequest(const WebURL&, void* notifyData, con st WebURLError&) OVERRIDE { } 66 virtual void didFailLoadingFrameRequest(const WebURL&, void* notifyData, con st WebURLError&) override { }
67 virtual bool isPlaceholder() OVERRIDE { return false; } 67 virtual bool isPlaceholder() override { return false; }
68 68
69 protected: 69 protected:
70 virtual ~FakeWebPlugin(); 70 virtual ~FakeWebPlugin();
71 71
72 private: 72 private:
73 WebFrame* m_frame; 73 WebFrame* m_frame;
74 WebPluginContainer* m_container; 74 WebPluginContainer* m_container;
75 }; 75 };
76 76
77 } // namespace blink 77 } // namespace blink
78 78
79 #endif // FakeWebPlugin_h 79 #endif // FakeWebPlugin_h
OLDNEW
« no previous file with comments | « Source/web/tests/ActivityLoggerTest.cpp ('k') | Source/web/tests/FrameLoaderClientImplTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698