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

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

Issue 6576020: Remove Gears from Chrome (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: windows fixes Created 9 years, 9 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.h ('k') | webkit/plugins/npapi/webplugin_impl.cc » ('j') | 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 virtual void CancelResource(unsigned long id); 117 virtual void CancelResource(unsigned long id);
118 virtual void Invalidate(); 118 virtual void Invalidate();
119 virtual void InvalidateRect(const gfx::Rect& rect); 119 virtual void InvalidateRect(const gfx::Rect& rect);
120 virtual NPObject* GetWindowScriptNPObject(); 120 virtual NPObject* GetWindowScriptNPObject();
121 virtual NPObject* GetPluginElement(); 121 virtual NPObject* GetPluginElement();
122 virtual void SetCookie(const GURL& url, 122 virtual void SetCookie(const GURL& url,
123 const GURL& first_party_for_cookies, 123 const GURL& first_party_for_cookies,
124 const std::string& cookie); 124 const std::string& cookie);
125 virtual std::string GetCookies(const GURL& url, 125 virtual std::string GetCookies(const GURL& url,
126 const GURL& first_party_for_cookies); 126 const GURL& first_party_for_cookies);
127 virtual void ShowModalHTMLDialog(const GURL& url, int width, int height,
128 const std::string& json_arguments,
129 std::string* json_retval);
130 virtual void OnMissingPluginStatus(int status); 127 virtual void OnMissingPluginStatus(int status);
131 128
132 virtual void URLRedirectResponse(bool allow, int resource_id); 129 virtual void URLRedirectResponse(bool allow, int resource_id);
133 130
134 // Given a (maybe partial) url, completes using the base url. 131 // Given a (maybe partial) url, completes using the base url.
135 GURL CompleteURL(const char* url); 132 GURL CompleteURL(const char* url);
136 133
137 // Executes the script passed in. The notify_needed and notify_data arguments 134 // Executes the script passed in. The notify_needed and notify_data arguments
138 // are passed in by the plugin process. These indicate whether the plugin 135 // are passed in by the plugin process. These indicate whether the plugin
139 // expects a notification on script execution. We pass them back to the 136 // expects a notification on script execution. We pass them back to the
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 324
328 ScopedRunnableMethodFactory<WebPluginImpl> method_factory_; 325 ScopedRunnableMethodFactory<WebPluginImpl> method_factory_;
329 326
330 DISALLOW_COPY_AND_ASSIGN(WebPluginImpl); 327 DISALLOW_COPY_AND_ASSIGN(WebPluginImpl);
331 }; 328 };
332 329
333 } // namespace npapi 330 } // namespace npapi
334 } // namespace webkit 331 } // namespace webkit
335 332
336 #endif // WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_IMPL_H_ 333 #endif // WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/plugins/npapi/webplugin.h ('k') | webkit/plugins/npapi/webplugin_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698