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* | |
285 CreateFullscreenContainer( | |
286 webkit::ppapi::PluginInstance* instance) OVERRIDE; | |
287 virtual gfx::Size GetScreenSize() OVERRIDE; | 284 virtual gfx::Size GetScreenSize() OVERRIDE; |
288 virtual std::string GetDefaultEncoding() OVERRIDE; | 285 virtual std::string GetDefaultEncoding() OVERRIDE; |
289 virtual void ZoomLimitsChanged(double minimum_factor, double maximum_factor) | 286 virtual void ZoomLimitsChanged(double minimum_factor, double maximum_factor) |
290 OVERRIDE; | 287 OVERRIDE; |
291 virtual void SubscribeToPolicyUpdates( | 288 virtual void SubscribeToPolicyUpdates( |
292 webkit::ppapi::PluginInstance* instance) OVERRIDE; | 289 webkit::ppapi::PluginInstance* instance) OVERRIDE; |
293 virtual std::string ResolveProxy(const GURL& url) OVERRIDE; | 290 virtual std::string ResolveProxy(const GURL& url) OVERRIDE; |
294 virtual void DidStartLoading() OVERRIDE; | 291 virtual void DidStartLoading() OVERRIDE; |
295 virtual void DidStopLoading() OVERRIDE; | 292 virtual void DidStopLoading() OVERRIDE; |
296 virtual void SetContentRestriction(int restrictions) OVERRIDE; | 293 virtual void SetContentRestriction(int restrictions) OVERRIDE; |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
341 bool is_pepper_plugin_focused_; | 338 bool is_pepper_plugin_focused_; |
342 | 339 |
343 // Set of instances to receive a notification when the enterprise policy has | 340 // Set of instances to receive a notification when the enterprise policy has |
344 // been updated. | 341 // been updated. |
345 std::set<webkit::ppapi::PluginInstance*> subscribed_to_policy_updates_; | 342 std::set<webkit::ppapi::PluginInstance*> subscribed_to_policy_updates_; |
346 | 343 |
347 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); | 344 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); |
348 }; | 345 }; |
349 | 346 |
350 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 347 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
OLD | NEW |