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

Side by Side Diff: webkit/plugins/ppapi/mock_plugin_delegate.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 WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ 5 #ifndef WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_
6 #define WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ 6 #define WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_
7 7
8 #include "webkit/plugins/ppapi/plugin_delegate.h" 8 #include "webkit/plugins/ppapi/plugin_delegate.h"
9 9
10 struct PP_NetAddress_Private;
11
10 namespace webkit { 12 namespace webkit {
11 namespace ppapi { 13 namespace ppapi {
12 14
13 class MockPluginDelegate : public PluginDelegate { 15 class MockPluginDelegate : public PluginDelegate {
14 public: 16 public:
15 MockPluginDelegate(); 17 MockPluginDelegate();
16 virtual ~MockPluginDelegate(); 18 virtual ~MockPluginDelegate();
17 19
18 virtual void PluginFocusChanged(PluginInstance* instance, bool focused); 20 virtual void PluginFocusChanged(PluginInstance* instance, bool focused);
19 virtual void PluginTextInputTypeChanged(PluginInstance* instance); 21 virtual void PluginTextInputTypeChanged(PluginInstance* instance);
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 virtual void SyncGetFileSystemPlatformPath(const GURL& url, 92 virtual void SyncGetFileSystemPlatformPath(const GURL& url,
91 FilePath* platform_path); 93 FilePath* platform_path);
92 virtual scoped_refptr<base::MessageLoopProxy> 94 virtual scoped_refptr<base::MessageLoopProxy>
93 GetFileThreadMessageLoopProxy(); 95 GetFileThreadMessageLoopProxy();
94 virtual int32_t ConnectTcp( 96 virtual int32_t ConnectTcp(
95 webkit::ppapi::PPB_Flash_NetConnector_Impl* connector, 97 webkit::ppapi::PPB_Flash_NetConnector_Impl* connector,
96 const char* host, 98 const char* host,
97 uint16_t port); 99 uint16_t port);
98 virtual int32_t ConnectTcpAddress( 100 virtual int32_t ConnectTcpAddress(
99 webkit::ppapi::PPB_Flash_NetConnector_Impl* connector, 101 webkit::ppapi::PPB_Flash_NetConnector_Impl* connector,
100 const struct PP_Flash_NetAddress* addr); 102 const PP_NetAddress_Private* addr);
101 virtual int32_t ShowContextMenu( 103 virtual int32_t ShowContextMenu(
102 PluginInstance* instance, 104 PluginInstance* instance,
103 webkit::ppapi::PPB_Flash_Menu_Impl* menu, 105 webkit::ppapi::PPB_Flash_Menu_Impl* menu,
104 const gfx::Point& position); 106 const gfx::Point& position);
105 virtual FullscreenContainer* CreateFullscreenContainer( 107 virtual FullscreenContainer* CreateFullscreenContainer(
106 PluginInstance* instance); 108 PluginInstance* instance);
107 virtual gfx::Size GetScreenSize(); 109 virtual gfx::Size GetScreenSize();
108 virtual std::string GetDefaultEncoding(); 110 virtual std::string GetDefaultEncoding();
109 virtual void ZoomLimitsChanged(double minimum_factor, 111 virtual void ZoomLimitsChanged(double minimum_factor,
110 double maximum_factor); 112 double maximum_factor);
(...skipping 12 matching lines...) Expand all
123 virtual void DidChangeCursor(PluginInstance* instance, 125 virtual void DidChangeCursor(PluginInstance* instance,
124 const WebKit::WebCursorInfo& cursor); 126 const WebKit::WebCursorInfo& cursor);
125 virtual void DidReceiveMouseEvent(PluginInstance* instance); 127 virtual void DidReceiveMouseEvent(PluginInstance* instance);
126 virtual bool IsInFullscreenMode(); 128 virtual bool IsInFullscreenMode();
127 }; 129 };
128 130
129 } // namespace ppapi 131 } // namespace ppapi
130 } // namespace webkit 132 } // namespace webkit
131 133
132 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ 134 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698