OLD | NEW |
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 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
311 CreateFullscreenContainer( | 311 CreateFullscreenContainer( |
312 webkit::ppapi::PluginInstance* instance) OVERRIDE; | 312 webkit::ppapi::PluginInstance* instance) OVERRIDE; |
313 virtual gfx::Size GetScreenSize() OVERRIDE; | 313 virtual gfx::Size GetScreenSize() OVERRIDE; |
314 virtual std::string GetDefaultEncoding() OVERRIDE; | 314 virtual std::string GetDefaultEncoding() OVERRIDE; |
315 virtual void ZoomLimitsChanged(double minimum_factor, double maximum_factor) | 315 virtual void ZoomLimitsChanged(double minimum_factor, double maximum_factor) |
316 OVERRIDE; | 316 OVERRIDE; |
317 virtual void DidStartLoading() OVERRIDE; | 317 virtual void DidStartLoading() OVERRIDE; |
318 virtual void DidStopLoading() OVERRIDE; | 318 virtual void DidStopLoading() OVERRIDE; |
319 virtual void SetContentRestriction(int restrictions) OVERRIDE; | 319 virtual void SetContentRestriction(int restrictions) OVERRIDE; |
320 virtual void SaveURLAs(const GURL& url) OVERRIDE; | 320 virtual void SaveURLAs(const GURL& url) OVERRIDE; |
321 virtual double GetLocalTimeZoneOffset(base::Time t) OVERRIDE; | |
322 virtual base::SharedMemory* CreateAnonymousSharedMemory(uint32_t size) | 321 virtual base::SharedMemory* CreateAnonymousSharedMemory(uint32_t size) |
323 OVERRIDE; | 322 OVERRIDE; |
324 virtual ::ppapi::Preferences GetPreferences() OVERRIDE; | 323 virtual ::ppapi::Preferences GetPreferences() OVERRIDE; |
325 virtual bool LockMouse(webkit::ppapi::PluginInstance* instance) OVERRIDE; | 324 virtual bool LockMouse(webkit::ppapi::PluginInstance* instance) OVERRIDE; |
326 virtual void UnlockMouse(webkit::ppapi::PluginInstance* instance) OVERRIDE; | 325 virtual void UnlockMouse(webkit::ppapi::PluginInstance* instance) OVERRIDE; |
327 virtual bool IsMouseLocked(webkit::ppapi::PluginInstance* instance) OVERRIDE; | 326 virtual bool IsMouseLocked(webkit::ppapi::PluginInstance* instance) OVERRIDE; |
328 virtual void DidChangeCursor(webkit::ppapi::PluginInstance* instance, | 327 virtual void DidChangeCursor(webkit::ppapi::PluginInstance* instance, |
329 const WebKit::WebCursorInfo& cursor) OVERRIDE; | 328 const WebKit::WebCursorInfo& cursor) OVERRIDE; |
330 virtual void DidReceiveMouseEvent( | 329 virtual void DidReceiveMouseEvent( |
331 webkit::ppapi::PluginInstance* instance) OVERRIDE; | 330 webkit::ppapi::PluginInstance* instance) OVERRIDE; |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
472 | 471 |
473 scoped_ptr<PepperDeviceEnumerationEventHandler> | 472 scoped_ptr<PepperDeviceEnumerationEventHandler> |
474 device_enumeration_event_handler_; | 473 device_enumeration_event_handler_; |
475 | 474 |
476 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); | 475 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); |
477 }; | 476 }; |
478 | 477 |
479 } // namespace content | 478 } // namespace content |
480 | 479 |
481 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 480 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
OLD | NEW |