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

Side by Side Diff: content/child/npapi/webplugin_delegate_impl.h

Issue 132233022: Fix chrome.webRequest.onBeforeRequest for requests coming from NPAPI plugin processes. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_CHILD_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_ 5 #ifndef CONTENT_CHILD_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_
6 #define CONTENT_CHILD_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_ 6 #define CONTENT_CHILD_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 int notify_id, 122 int notify_id,
123 const GURL& url, 123 const GURL& url,
124 const GURL& first_party_for_cookies, 124 const GURL& first_party_for_cookies,
125 const std::string& method, 125 const std::string& method,
126 const char* buf, 126 const char* buf,
127 unsigned int len, 127 unsigned int len,
128 const GURL& referrer, 128 const GURL& referrer,
129 bool notify_redirects, 129 bool notify_redirects,
130 bool is_plugin_src_load, 130 bool is_plugin_src_load,
131 int origin_pid, 131 int origin_pid,
132 int render_frame_id) OVERRIDE; 132 int render_frame_id,
133 int render_view_id) OVERRIDE;
133 // End of WebPluginDelegate implementation. 134 // End of WebPluginDelegate implementation.
134 135
135 gfx::PluginWindowHandle windowed_handle() const { return windowed_handle_; } 136 gfx::PluginWindowHandle windowed_handle() const { return windowed_handle_; }
136 bool IsWindowless() const { return windowless_; } 137 bool IsWindowless() const { return windowless_; }
137 PluginInstance* instance() { return instance_.get(); } 138 PluginInstance* instance() { return instance_.get(); }
138 gfx::Rect GetRect() const { return window_rect_; } 139 gfx::Rect GetRect() const { return window_rect_; }
139 gfx::Rect GetClipRect() const { return clip_rect_; } 140 gfx::Rect GetClipRect() const { return clip_rect_; }
140 141
141 // Returns the path for the library implementing this plugin. 142 // Returns the path for the library implementing this plugin.
142 base::FilePath GetPluginPath(); 143 base::FilePath GetPluginPath();
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after
499 500
500 // True if NPP_New did not return an error. 501 // True if NPP_New did not return an error.
501 bool creation_succeeded_; 502 bool creation_succeeded_;
502 503
503 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateImpl); 504 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateImpl);
504 }; 505 };
505 506
506 } // namespace content 507 } // namespace content
507 508
508 #endif // CONTENT_CHILD_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_ 509 #endif // CONTENT_CHILD_NPAPI_WEBPLUGIN_DELEGATE_IMPL_H_
OLDNEW
« no previous file with comments | « content/child/npapi/webplugin_delegate.h ('k') | content/child/npapi/webplugin_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698