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

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

Issue 8970016: refactoring mouse lock to support pepper and WebKit (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Refactor LockTarget interface & Tests Created 8 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 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; 10 struct PP_NetAddress_Private;
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 virtual std::string ResolveProxy(const GURL& url); 141 virtual std::string ResolveProxy(const GURL& url);
142 virtual void DidStartLoading(); 142 virtual void DidStartLoading();
143 virtual void DidStopLoading(); 143 virtual void DidStopLoading();
144 virtual void SetContentRestriction(int restrictions); 144 virtual void SetContentRestriction(int restrictions);
145 virtual void SaveURLAs(const GURL& url); 145 virtual void SaveURLAs(const GURL& url);
146 virtual webkit_glue::P2PTransport* CreateP2PTransport(); 146 virtual webkit_glue::P2PTransport* CreateP2PTransport();
147 virtual double GetLocalTimeZoneOffset(base::Time t); 147 virtual double GetLocalTimeZoneOffset(base::Time t);
148 virtual std::string GetFlashCommandLineArgs(); 148 virtual std::string GetFlashCommandLineArgs();
149 virtual base::SharedMemory* CreateAnonymousSharedMemory(uint32_t size); 149 virtual base::SharedMemory* CreateAnonymousSharedMemory(uint32_t size);
150 virtual ::ppapi::Preferences GetPreferences(); 150 virtual ::ppapi::Preferences GetPreferences();
151 virtual void LockMouse(PluginInstance* instance); 151 virtual bool LockMouse(PluginInstance* instance);
152 virtual void UnlockMouse(PluginInstance* instance); 152 virtual void UnlockMouse(PluginInstance* instance);
153 virtual bool IsMouseLocked(PluginInstance* instance);
153 virtual void DidChangeCursor(PluginInstance* instance, 154 virtual void DidChangeCursor(PluginInstance* instance,
154 const WebKit::WebCursorInfo& cursor); 155 const WebKit::WebCursorInfo& cursor);
155 virtual void DidReceiveMouseEvent(PluginInstance* instance); 156 virtual void DidReceiveMouseEvent(PluginInstance* instance);
156 virtual void SampleGamepads(WebKit::WebGamepads* data) OVERRIDE; 157 virtual void SampleGamepads(WebKit::WebGamepads* data) OVERRIDE;
157 virtual bool IsInFullscreenMode(); 158 virtual bool IsInFullscreenMode();
158 virtual bool IsPageVisible() const; 159 virtual bool IsPageVisible() const;
159 }; 160 };
160 161
161 } // namespace ppapi 162 } // namespace ppapi
162 } // namespace webkit 163 } // namespace webkit
163 164
164 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ 165 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698