OLD | NEW |
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 CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
6 #define CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 6 #define CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <set> | 9 #include <set> |
10 #include <map> | 10 #include <map> |
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
274 webkit::ppapi::PPB_Flash_Menu_Impl* menu, | 274 webkit::ppapi::PPB_Flash_Menu_Impl* menu, |
275 const gfx::Point& position) OVERRIDE; | 275 const gfx::Point& position) OVERRIDE; |
276 void OnContextMenuClosed( | 276 void OnContextMenuClosed( |
277 const webkit_glue::CustomContextMenuContext& custom_context); | 277 const webkit_glue::CustomContextMenuContext& custom_context); |
278 void OnCustomContextMenuAction( | 278 void OnCustomContextMenuAction( |
279 const webkit_glue::CustomContextMenuContext& custom_context, | 279 const webkit_glue::CustomContextMenuContext& custom_context, |
280 unsigned action); | 280 unsigned action); |
281 void CompleteShowContextMenu(int request_id, | 281 void CompleteShowContextMenu(int request_id, |
282 bool did_select, | 282 bool did_select, |
283 unsigned action); | 283 unsigned action); |
284 virtual webkit::ppapi::FullscreenContainer* | 284 virtual void SetFullscreen( |
285 CreateFullscreenContainer( | 285 webkit::ppapi::PluginInstance* instance, |
286 webkit::ppapi::PluginInstance* instance) OVERRIDE; | 286 bool fullscreen) OVERRIDE; |
287 virtual gfx::Size GetScreenSize() OVERRIDE; | 287 virtual gfx::Size GetScreenSize() OVERRIDE; |
288 virtual std::string GetDefaultEncoding() OVERRIDE; | 288 virtual std::string GetDefaultEncoding() OVERRIDE; |
289 virtual void ZoomLimitsChanged(double minimum_factor, double maximum_factor) | 289 virtual void ZoomLimitsChanged(double minimum_factor, double maximum_factor) |
290 OVERRIDE; | 290 OVERRIDE; |
291 virtual void SubscribeToPolicyUpdates( | 291 virtual void SubscribeToPolicyUpdates( |
292 webkit::ppapi::PluginInstance* instance) OVERRIDE; | 292 webkit::ppapi::PluginInstance* instance) OVERRIDE; |
293 virtual std::string ResolveProxy(const GURL& url) OVERRIDE; | 293 virtual std::string ResolveProxy(const GURL& url) OVERRIDE; |
294 virtual void DidStartLoading() OVERRIDE; | 294 virtual void DidStartLoading() OVERRIDE; |
295 virtual void DidStopLoading() OVERRIDE; | 295 virtual void DidStopLoading() OVERRIDE; |
296 virtual void SetContentRestriction(int restrictions) OVERRIDE; | 296 virtual void SetContentRestriction(int restrictions) OVERRIDE; |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
340 bool is_pepper_plugin_focused_; | 340 bool is_pepper_plugin_focused_; |
341 | 341 |
342 // Set of instances to receive a notification when the enterprise policy has | 342 // Set of instances to receive a notification when the enterprise policy has |
343 // been updated. | 343 // been updated. |
344 std::set<webkit::ppapi::PluginInstance*> subscribed_to_policy_updates_; | 344 std::set<webkit::ppapi::PluginInstance*> subscribed_to_policy_updates_; |
345 | 345 |
346 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); | 346 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); |
347 }; | 347 }; |
348 | 348 |
349 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 349 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
OLD | NEW |