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

Side by Side Diff: webkit/plugins/npapi/webplugin_impl.h

Issue 7054068: Make sandboxed Flash work under UIPI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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 | « webkit/plugins/npapi/webplugin_delegate_impl_win.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_IMPL_H_ 5 #ifndef WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_IMPL_H_
6 #define WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_IMPL_H_ 6 #define WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <map> 9 #include <map>
10 #include <vector> 10 #include <vector>
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 int identifier); 104 int identifier);
105 virtual void selectFindResult(bool forward); 105 virtual void selectFindResult(bool forward);
106 virtual void stopFind(); 106 virtual void stopFind();
107 107
108 // WebPlugin implementation: 108 // WebPlugin implementation:
109 virtual void SetWindow(gfx::PluginWindowHandle window); 109 virtual void SetWindow(gfx::PluginWindowHandle window);
110 virtual void SetAcceptsInputEvents(bool accepts); 110 virtual void SetAcceptsInputEvents(bool accepts);
111 virtual void WillDestroyWindow(gfx::PluginWindowHandle window); 111 virtual void WillDestroyWindow(gfx::PluginWindowHandle window);
112 #if defined(OS_WIN) 112 #if defined(OS_WIN)
113 void SetWindowlessPumpEvent(HANDLE pump_messages_event) { } 113 void SetWindowlessPumpEvent(HANDLE pump_messages_event) { }
114 void ReparentPluginWindow(HWND window, HWND parent) { }
114 #endif 115 #endif
115 virtual void CancelResource(unsigned long id); 116 virtual void CancelResource(unsigned long id);
116 virtual void Invalidate(); 117 virtual void Invalidate();
117 virtual void InvalidateRect(const gfx::Rect& rect); 118 virtual void InvalidateRect(const gfx::Rect& rect);
118 virtual NPObject* GetWindowScriptNPObject(); 119 virtual NPObject* GetWindowScriptNPObject();
119 virtual NPObject* GetPluginElement(); 120 virtual NPObject* GetPluginElement();
120 virtual void SetCookie(const GURL& url, 121 virtual void SetCookie(const GURL& url,
121 const GURL& first_party_for_cookies, 122 const GURL& first_party_for_cookies,
122 const std::string& cookie); 123 const std::string& cookie);
123 virtual std::string GetCookies(const GURL& url, 124 virtual std::string GetCookies(const GURL& url,
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 312
312 ScopedRunnableMethodFactory<WebPluginImpl> method_factory_; 313 ScopedRunnableMethodFactory<WebPluginImpl> method_factory_;
313 314
314 DISALLOW_COPY_AND_ASSIGN(WebPluginImpl); 315 DISALLOW_COPY_AND_ASSIGN(WebPluginImpl);
315 }; 316 };
316 317
317 } // namespace npapi 318 } // namespace npapi
318 } // namespace webkit 319 } // namespace webkit
319 320
320 #endif // WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_IMPL_H_ 321 #endif // WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/plugins/npapi/webplugin_delegate_impl_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698