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

Side by Side Diff: Source/web/WebHelperPluginImpl.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/WebFrameImpl.h ('k') | Source/web/WebMediaPlayerClientImpl.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 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 43
44 class HelperPluginChromeClient; 44 class HelperPluginChromeClient;
45 class HelperPluginFrameClient; 45 class HelperPluginFrameClient;
46 class WebDocument; 46 class WebDocument;
47 class WebFrameImpl; 47 class WebFrameImpl;
48 class WebViewImpl; 48 class WebViewImpl;
49 class WebWidgetClient; 49 class WebWidgetClient;
50 50
51 // Hosts a simple page that instantiates a plugin using an <object> tag. 51 // Hosts a simple page that instantiates a plugin using an <object> tag.
52 // The widget is offscreen, and the plugin will not receive painting, resize, et c. events. 52 // The widget is offscreen, and the plugin will not receive painting, resize, et c. events.
53 class WebHelperPluginImpl : public WebHelperPlugin, 53 class WebHelperPluginImpl FINAL : public WebHelperPlugin, public RefCounted<WebH elperPluginImpl> {
54 public RefCounted<WebHelperPluginImpl> {
55 WTF_MAKE_NONCOPYABLE(WebHelperPluginImpl); 54 WTF_MAKE_NONCOPYABLE(WebHelperPluginImpl);
56 WTF_MAKE_FAST_ALLOCATED; 55 WTF_MAKE_FAST_ALLOCATED;
57 56
58 public: 57 public:
59 virtual ~WebHelperPluginImpl(); 58 virtual ~WebHelperPluginImpl();
60 bool initialize(const String& pluginType, const WebDocument& hostDocument, W ebViewImpl*); 59 bool initialize(const String& pluginType, const WebDocument& hostDocument, W ebViewImpl*);
61 void closeHelperPlugin(); 60 void closeHelperPlugin();
62 61
63 // WebHelperPlugin methods: 62 // WebHelperPlugin methods:
64 virtual void initializeFrame(WebFrameClient*) OVERRIDE; 63 virtual void initializeFrame(WebFrameClient*) OVERRIDE;
(...skipping 19 matching lines...) Expand all
84 83
85 friend class WebHelperPlugin; 84 friend class WebHelperPlugin;
86 friend class HelperPluginChromeClient; 85 friend class HelperPluginChromeClient;
87 }; 86 };
88 87
89 DEFINE_TYPE_CASTS(WebHelperPluginImpl, WebWidget, widget, widget->isHelperPlugin (), widget.isHelperPlugin()); 88 DEFINE_TYPE_CASTS(WebHelperPluginImpl, WebWidget, widget, widget->isHelperPlugin (), widget.isHelperPlugin());
90 89
91 } // namespace blink 90 } // namespace blink
92 91
93 #endif // WebHelperPluginImpl_h 92 #endif // WebHelperPluginImpl_h
OLDNEW
« no previous file with comments | « Source/web/WebFrameImpl.h ('k') | Source/web/WebMediaPlayerClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698