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

Side by Side Diff: webkit/plugins/ppapi/mock_plugin_delegate.h

Issue 7714017: Reimplement the Pepper fullscreen API to use webkitRequestFullScreen and friends. (Closed) Base URL: ssh://matter.syd/usr/local/google/chromium2/src@master
Patch Set: mock_plugin_delegate Created 9 years, 3 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
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 namespace webkit { 10 namespace webkit {
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 webkit::ppapi::PPB_Flash_NetConnector_Impl* connector, 93 webkit::ppapi::PPB_Flash_NetConnector_Impl* connector,
94 const char* host, 94 const char* host,
95 uint16_t port); 95 uint16_t port);
96 virtual int32_t ConnectTcpAddress( 96 virtual int32_t ConnectTcpAddress(
97 webkit::ppapi::PPB_Flash_NetConnector_Impl* connector, 97 webkit::ppapi::PPB_Flash_NetConnector_Impl* connector,
98 const struct PP_Flash_NetAddress* addr); 98 const struct PP_Flash_NetAddress* addr);
99 virtual int32_t ShowContextMenu( 99 virtual int32_t ShowContextMenu(
100 PluginInstance* instance, 100 PluginInstance* instance,
101 webkit::ppapi::PPB_Flash_Menu_Impl* menu, 101 webkit::ppapi::PPB_Flash_Menu_Impl* menu,
102 const gfx::Point& position); 102 const gfx::Point& position);
103 virtual FullscreenContainer* CreateFullscreenContainer(
104 PluginInstance* instance);
105 virtual gfx::Size GetScreenSize(); 103 virtual gfx::Size GetScreenSize();
106 virtual std::string GetDefaultEncoding(); 104 virtual std::string GetDefaultEncoding();
107 virtual void ZoomLimitsChanged(double minimum_factor, 105 virtual void ZoomLimitsChanged(double minimum_factor,
108 double maximum_factor); 106 double maximum_factor);
109 virtual void SubscribeToPolicyUpdates(PluginInstance* instance); 107 virtual void SubscribeToPolicyUpdates(PluginInstance* instance);
110 virtual std::string ResolveProxy(const GURL& url); 108 virtual std::string ResolveProxy(const GURL& url);
111 virtual void DidStartLoading(); 109 virtual void DidStartLoading();
112 virtual void DidStopLoading(); 110 virtual void DidStopLoading();
113 virtual void SetContentRestriction(int restrictions); 111 virtual void SetContentRestriction(int restrictions);
114 virtual void SaveURLAs(const GURL& url); 112 virtual void SaveURLAs(const GURL& url);
115 virtual content::P2PSocketDispatcher* GetP2PSocketDispatcher(); 113 virtual content::P2PSocketDispatcher* GetP2PSocketDispatcher();
116 virtual webkit_glue::P2PTransport* CreateP2PTransport(); 114 virtual webkit_glue::P2PTransport* CreateP2PTransport();
117 virtual double GetLocalTimeZoneOffset(base::Time t); 115 virtual double GetLocalTimeZoneOffset(base::Time t);
118 virtual std::string GetFlashCommandLineArgs(); 116 virtual std::string GetFlashCommandLineArgs();
119 virtual base::SharedMemory* CreateAnonymousSharedMemory(uint32_t size); 117 virtual base::SharedMemory* CreateAnonymousSharedMemory(uint32_t size);
120 virtual ::ppapi::Preferences GetPreferences(); 118 virtual ::ppapi::Preferences GetPreferences();
121 }; 119 };
122 120
123 } // namespace ppapi 121 } // namespace ppapi
124 } // namespace webkit 122 } // namespace webkit
125 123
126 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ 124 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698