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

Side by Side Diff: Source/web/WebHelperPluginImpl.h

Issue 241303002: Rename WebFrameImpl to WebLocalFrameImpl. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix Mac too Created 6 years, 8 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.cpp ('k') | Source/web/WebHelperPluginImpl.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 27 matching lines...) Expand all
38 #include "wtf/PassOwnPtr.h" 38 #include "wtf/PassOwnPtr.h"
39 #include "wtf/RefPtr.h" 39 #include "wtf/RefPtr.h"
40 #include "wtf/text/WTFString.h" 40 #include "wtf/text/WTFString.h"
41 41
42 namespace WebCore { 42 namespace WebCore {
43 class HTMLObjectElement; 43 class HTMLObjectElement;
44 } // namespace WebCore 44 } // namespace WebCore
45 45
46 namespace blink { 46 namespace blink {
47 47
48 class WebFrameImpl; 48 class WebLocalFrameImpl;
49 class WebPluginContainerImpl; 49 class WebPluginContainerImpl;
50 50
51 // Utility class to host helper plugins for media. Internally, it creates a deta ched 51 // Utility class to host helper plugins for media. Internally, it creates a deta ched
52 // HTMLPluginElement to host the plugin and uses FrameLoaderClient::createPlugin () to instantiate 52 // HTMLPluginElement to host the plugin and uses FrameLoaderClient::createPlugin () to instantiate
53 // the requested plugin. 53 // the requested plugin.
54 class WebHelperPluginImpl FINAL : public WebHelperPlugin { 54 class WebHelperPluginImpl FINAL : public WebHelperPlugin {
55 WTF_MAKE_NONCOPYABLE(WebHelperPluginImpl); 55 WTF_MAKE_NONCOPYABLE(WebHelperPluginImpl);
56 WTF_MAKE_FAST_ALLOCATED; 56 WTF_MAKE_FAST_ALLOCATED;
57 public: 57 public:
58 // WebHelperPlugin methods: 58 // WebHelperPlugin methods:
59 virtual WebPlugin* getPlugin() OVERRIDE; 59 virtual WebPlugin* getPlugin() OVERRIDE;
60 virtual void destroy() OVERRIDE; 60 virtual void destroy() OVERRIDE;
61 61
62 private: 62 private:
63 friend class WebHelperPlugin; 63 friend class WebHelperPlugin;
64 64
65 WebHelperPluginImpl(); 65 WebHelperPluginImpl();
66 virtual ~WebHelperPluginImpl(); 66 virtual ~WebHelperPluginImpl();
67 67
68 bool initialize(const String& pluginType, WebFrameImpl*); 68 bool initialize(const String& pluginType, WebLocalFrameImpl*);
69 void reallyDestroy(WebCore::Timer<WebHelperPluginImpl>*); 69 void reallyDestroy(WebCore::Timer<WebHelperPluginImpl>*);
70 70
71 WebCore::Timer<WebHelperPluginImpl> m_destructionTimer; 71 WebCore::Timer<WebHelperPluginImpl> m_destructionTimer;
72 RefPtr<WebCore::HTMLObjectElement> m_objectElement; 72 RefPtr<WebCore::HTMLObjectElement> m_objectElement;
73 RefPtr<WebPluginContainerImpl> m_pluginContainer; 73 RefPtr<WebPluginContainerImpl> m_pluginContainer;
74 }; 74 };
75 75
76 } // namespace blink 76 } // namespace blink
77 77
78 #endif // WebHelperPluginImpl_h 78 #endif // WebHelperPluginImpl_h
OLDNEW
« no previous file with comments | « Source/web/WebFrameImpl.cpp ('k') | Source/web/WebHelperPluginImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698