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

Side by Side Diff: Source/core/plugins/PluginView.h

Issue 640593002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/[css|rendering|clipboard] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased the patch 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/core/plugins/DOMPluginArray.h ('k') | Source/core/rendering/AutoTableLayout.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) 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2010 Apple Inc. All rights reserved.
3 * Copyright (C) 2013 Google Inc. All rights reserved. 3 * Copyright (C) 2013 Google Inc. All rights reserved.
4 * Copyright (C) 2014 Opera Software ASA. All rights reserved. 4 * Copyright (C) 2014 Opera Software ASA. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 26 matching lines...) Expand all
37 namespace blink { class WebLayer; } 37 namespace blink { class WebLayer; }
38 38
39 namespace blink { 39 namespace blink {
40 40
41 class ResourceError; 41 class ResourceError;
42 class ResourceResponse; 42 class ResourceResponse;
43 class Scrollbar; 43 class Scrollbar;
44 44
45 class PluginView : public Widget { 45 class PluginView : public Widget {
46 public: 46 public:
47 virtual bool isPluginView() const OVERRIDE FINAL { return true; } 47 virtual bool isPluginView() const override final { return true; }
48 48
49 virtual blink::WebLayer* platformLayer() const { return 0; } 49 virtual blink::WebLayer* platformLayer() const { return 0; }
50 virtual v8::Local<v8::Object> scriptableObject(v8::Isolate*) { return v8::Lo cal<v8::Object>(); } 50 virtual v8::Local<v8::Object> scriptableObject(v8::Isolate*) { return v8::Lo cal<v8::Object>(); }
51 virtual bool getFormValue(String&) { return false; } 51 virtual bool getFormValue(String&) { return false; }
52 virtual bool wantsWheelEvents() { return false; } 52 virtual bool wantsWheelEvents() { return false; }
53 virtual bool supportsKeyboardFocus() const { return false; } 53 virtual bool supportsKeyboardFocus() const { return false; }
54 virtual bool supportsInputMethod() const { return false; } 54 virtual bool supportsInputMethod() const { return false; }
55 virtual bool canProcessDrag() const { return false; } 55 virtual bool canProcessDrag() const { return false; }
56 56
57 virtual void didReceiveResponse(const ResourceResponse&) { } 57 virtual void didReceiveResponse(const ResourceResponse&) { }
58 virtual void didReceiveData(const char*, int) { } 58 virtual void didReceiveData(const char*, int) { }
59 virtual void didFinishLoading() { } 59 virtual void didFinishLoading() { }
60 virtual void didFailLoading(const ResourceError&) { } 60 virtual void didFailLoading(const ResourceError&) { }
61 61
62 protected: 62 protected:
63 PluginView() : Widget() { } 63 PluginView() : Widget() { }
64 }; 64 };
65 65
66 DEFINE_TYPE_CASTS(PluginView, Widget, widget, widget->isPluginView(), widget.isP luginView()); 66 DEFINE_TYPE_CASTS(PluginView, Widget, widget, widget->isPluginView(), widget.isP luginView());
67 67
68 } // namespace blink 68 } // namespace blink
69 69
70 #endif // PluginView_h 70 #endif // PluginView_h
OLDNEW
« no previous file with comments | « Source/core/plugins/DOMPluginArray.h ('k') | Source/core/rendering/AutoTableLayout.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698