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

Side by Side Diff: content/renderer/pepper_plugin_delegate_impl.h

Issue 8511032: Make the Pepper Flash net address just private, not Flash-specific. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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) 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 CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
6 #define CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 6 #define CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 #include <map> 10 #include <map>
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 const GURL& url, 292 const GURL& url,
293 FilePath* platform_path) OVERRIDE; 293 FilePath* platform_path) OVERRIDE;
294 virtual scoped_refptr<base::MessageLoopProxy> 294 virtual scoped_refptr<base::MessageLoopProxy>
295 GetFileThreadMessageLoopProxy() OVERRIDE; 295 GetFileThreadMessageLoopProxy() OVERRIDE;
296 virtual int32_t ConnectTcp( 296 virtual int32_t ConnectTcp(
297 webkit::ppapi::PPB_Flash_NetConnector_Impl* connector, 297 webkit::ppapi::PPB_Flash_NetConnector_Impl* connector,
298 const char* host, 298 const char* host,
299 uint16_t port) OVERRIDE; 299 uint16_t port) OVERRIDE;
300 virtual int32_t ConnectTcpAddress( 300 virtual int32_t ConnectTcpAddress(
301 webkit::ppapi::PPB_Flash_NetConnector_Impl* connector, 301 webkit::ppapi::PPB_Flash_NetConnector_Impl* connector,
302 const struct PP_Flash_NetAddress* addr) OVERRIDE; 302 const struct PP_NetAddress_Private* addr) OVERRIDE;
303 // This is the completion for both |ConnectTcp()| and |ConnectTcpAddress()|. 303 // This is the completion for both |ConnectTcp()| and |ConnectTcpAddress()|.
304 void OnConnectTcpACK( 304 void OnConnectTcpACK(
305 int request_id, 305 int request_id,
306 base::PlatformFile socket, 306 base::PlatformFile socket,
307 const PP_Flash_NetAddress& local_addr, 307 const PP_NetAddress_Private& local_addr,
308 const PP_Flash_NetAddress& remote_addr); 308 const PP_NetAddress_Private& remote_addr);
309 virtual int32_t ShowContextMenu( 309 virtual int32_t ShowContextMenu(
310 webkit::ppapi::PluginInstance* instance, 310 webkit::ppapi::PluginInstance* instance,
311 webkit::ppapi::PPB_Flash_Menu_Impl* menu, 311 webkit::ppapi::PPB_Flash_Menu_Impl* menu,
312 const gfx::Point& position) OVERRIDE; 312 const gfx::Point& position) OVERRIDE;
313 void OnContextMenuClosed( 313 void OnContextMenuClosed(
314 const webkit_glue::CustomContextMenuContext& custom_context); 314 const webkit_glue::CustomContextMenuContext& custom_context);
315 void OnCustomContextMenuAction( 315 void OnCustomContextMenuAction(
316 const webkit_glue::CustomContextMenuContext& custom_context, 316 const webkit_glue::CustomContextMenuContext& custom_context,
317 unsigned action); 317 unsigned action);
318 void CompleteShowContextMenu(int request_id, 318 void CompleteShowContextMenu(int request_id,
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 // The plugin instance that received the last mouse event. It is set to NULL 403 // The plugin instance that received the last mouse event. It is set to NULL
404 // if the last mouse event went to elements other than Pepper plugins. 404 // if the last mouse event went to elements other than Pepper plugins.
405 // |last_mouse_event_target_| is not owned by this class. We can know about 405 // |last_mouse_event_target_| is not owned by this class. We can know about
406 // when it is destroyed via InstanceDeleted(). 406 // when it is destroyed via InstanceDeleted().
407 webkit::ppapi::PluginInstance* last_mouse_event_target_; 407 webkit::ppapi::PluginInstance* last_mouse_event_target_;
408 408
409 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); 409 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl);
410 }; 410 };
411 411
412 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 412 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698