Index: chrome/renderer/pepper_plugin_delegate_impl.h |
diff --git a/chrome/renderer/pepper_plugin_delegate_impl.h b/chrome/renderer/pepper_plugin_delegate_impl.h |
index 408163aed325513b49d327bab59df7dfc95d7d78..0730a1e862b6276c1b1b8c511b8c8c8788067928 100644 |
--- a/chrome/renderer/pepper_plugin_delegate_impl.h |
+++ b/chrome/renderer/pepper_plugin_delegate_impl.h |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -16,11 +16,13 @@ |
#include "ppapi/c/pp_errors.h" |
#include "webkit/plugins/ppapi/plugin_delegate.h" |
#include "webkit/plugins/ppapi/ppapi_plugin_instance.h" |
+#include "webkit/plugins/ppapi/ppb_flash_menu_impl.h" |
class FilePath; |
class RenderView; |
namespace gfx { |
+class Point; |
class Rect; |
} |
@@ -154,6 +156,12 @@ class PepperPluginDelegateImpl |
base::PlatformFile socket, |
const PP_Flash_NetAddress& local_addr, |
const PP_Flash_NetAddress& remote_addr); |
+ virtual int32_t ShowContextMenu( |
+ webkit::ppapi::PPB_Flash_Menu_Impl* menu, |
+ const gfx::Point& position); |
+ void CompleteShowContextMenu(int request_id, |
+ bool did_select, |
+ unsigned action); |
virtual webkit::ppapi::FullscreenContainer* |
CreateFullscreenContainer( |
webkit::ppapi::PluginInstance* instance); |
@@ -179,6 +187,9 @@ class PepperPluginDelegateImpl |
IDMap<scoped_refptr<webkit::ppapi::PPB_Flash_NetConnector_Impl>, |
IDMapOwnPointer> pending_connect_tcps_; |
+ IDMap<scoped_refptr<webkit::ppapi::PPB_Flash_Menu_Impl>, |
+ IDMapOwnPointer> pending_context_menus_; |
+ |
DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); |
}; |