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

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

Issue 9649017: Revert 125761 - Implement PPB_NetworkMonitor_Private Pepper interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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
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_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
11 #include <string> 11 #include <string>
12 12
13 #include "base/basictypes.h" 13 #include "base/basictypes.h"
14 #include "base/id_map.h" 14 #include "base/id_map.h"
15 #include "base/memory/ref_counted.h" 15 #include "base/memory/ref_counted.h"
16 #include "base/memory/scoped_ptr.h" 16 #include "base/memory/scoped_ptr.h"
17 #include "base/memory/weak_ptr.h" 17 #include "base/memory/weak_ptr.h"
18 #include "base/observer_list.h"
19 #include "content/common/content_export.h" 18 #include "content/common/content_export.h"
20 #include "content/public/renderer/render_view_observer.h" 19 #include "content/public/renderer/render_view_observer.h"
21 #include "content/renderer/mouse_lock_dispatcher.h" 20 #include "content/renderer/mouse_lock_dispatcher.h"
22 #include "content/renderer/pepper/pepper_parent_context_provider.h" 21 #include "content/renderer/pepper/pepper_parent_context_provider.h"
23 #include "ppapi/shared_impl/private/tcp_socket_private_impl.h" 22 #include "ppapi/shared_impl/private/tcp_socket_private_impl.h"
24 #include "ppapi/shared_impl/private/udp_socket_private_impl.h" 23 #include "ppapi/shared_impl/private/udp_socket_private_impl.h"
25 #include "ui/base/ime/text_input_type.h" 24 #include "ui/base/ime/text_input_type.h"
26 #include "webkit/plugins/ppapi/plugin_delegate.h" 25 #include "webkit/plugins/ppapi/plugin_delegate.h"
27 #include "webkit/plugins/ppapi/ppb_flash_menu_impl.h" 26 #include "webkit/plugins/ppapi/ppb_flash_menu_impl.h"
28 27
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 virtual void UDPSocketClose(uint32 socket_id) OVERRIDE; 293 virtual void UDPSocketClose(uint32 socket_id) OVERRIDE;
295 virtual void TCPServerSocketListen( 294 virtual void TCPServerSocketListen(
296 webkit::ppapi::PPB_TCPServerSocket_Private_Impl* socket, 295 webkit::ppapi::PPB_TCPServerSocket_Private_Impl* socket,
297 uint32 temp_socket_id, 296 uint32 temp_socket_id,
298 const PP_NetAddress_Private& addr, 297 const PP_NetAddress_Private& addr,
299 int32_t backlog) OVERRIDE; 298 int32_t backlog) OVERRIDE;
300 virtual void TCPServerSocketAccept(uint32 real_socket_id) OVERRIDE; 299 virtual void TCPServerSocketAccept(uint32 real_socket_id) OVERRIDE;
301 virtual void TCPServerSocketStopListening(uint32 real_socket_id, 300 virtual void TCPServerSocketStopListening(uint32 real_socket_id,
302 uint32 temp_socket_id) OVERRIDE; 301 uint32 temp_socket_id) OVERRIDE;
303 302
304 virtual bool AddNetworkListObserver(
305 webkit_glue::NetworkListObserver* observer) OVERRIDE;
306 virtual void RemoveNetworkListObserver(
307 webkit_glue::NetworkListObserver* observer) OVERRIDE;
308
309 virtual int32_t ShowContextMenu( 303 virtual int32_t ShowContextMenu(
310 webkit::ppapi::PluginInstance* instance, 304 webkit::ppapi::PluginInstance* instance,
311 webkit::ppapi::PPB_Flash_Menu_Impl* menu, 305 webkit::ppapi::PPB_Flash_Menu_Impl* menu,
312 const gfx::Point& position) OVERRIDE; 306 const gfx::Point& position) OVERRIDE;
313 void OnContextMenuClosed( 307 void OnContextMenuClosed(
314 const content::CustomContextMenuContext& custom_context); 308 const content::CustomContextMenuContext& custom_context);
315 void OnCustomContextMenuAction( 309 void OnCustomContextMenuAction(
316 const content::CustomContextMenuContext& custom_context, 310 const content::CustomContextMenuContext& custom_context,
317 unsigned action); 311 unsigned action);
318 void CompleteShowContextMenu(int request_id, 312 void CompleteShowContextMenu(int request_id,
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
471 465
472 scoped_ptr<content::GamepadSharedMemoryReader> gamepad_shared_memory_reader_; 466 scoped_ptr<content::GamepadSharedMemoryReader> gamepad_shared_memory_reader_;
473 467
474 scoped_ptr<PepperDeviceEnumerationEventHandler> 468 scoped_ptr<PepperDeviceEnumerationEventHandler>
475 device_enumeration_event_handler_; 469 device_enumeration_event_handler_;
476 470
477 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); 471 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl);
478 }; 472 };
479 473
480 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 474 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/p2p/socket_dispatcher.cc ('k') | content/renderer/pepper/pepper_plugin_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698