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

Unified Diff: webkit/plugins/ppapi/plugin_delegate.h

Issue 6253017: Pepper/Flapper: First pass at context menu implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: oops Created 9 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 side-by-side diff with in-line comments
Download patch
Index: webkit/plugins/ppapi/plugin_delegate.h
diff --git a/webkit/plugins/ppapi/plugin_delegate.h b/webkit/plugins/ppapi/plugin_delegate.h
index 94ffa619e3e9cb448219cf7fc1b45e2a319b4603..8f36c3d494b96824c9ab7193c0801c3cbb6e0ee3 100644
--- a/webkit/plugins/ppapi/plugin_delegate.h
+++ b/webkit/plugins/ppapi/plugin_delegate.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.
@@ -34,6 +34,7 @@ class FileSystemCallbackDispatcher;
}
namespace gfx {
+class Point;
class Rect;
}
@@ -64,6 +65,7 @@ class FileIO;
class FullscreenContainer;
class PluginInstance;
class PluginModule;
+class PPB_Flash_Menu_Impl;
class PPB_Flash_NetConnector_Impl;
// Virtual interface that the browser implements to implement features for
@@ -302,6 +304,12 @@ class PluginDelegate {
webkit::ppapi::PPB_Flash_NetConnector_Impl* connector,
const struct PP_Flash_NetAddress* addr) = 0;
+ // Show the given context menu at the given position (in the render view's
+ // coordinates).
+ virtual int32_t ShowContextMenu(
+ webkit::ppapi::PPB_Flash_Menu_Impl* menu,
+ const gfx::Point& position) = 0;
+
// Create a fullscreen container for a plugin instance. This effectively
// switches the plugin to fullscreen.
virtual FullscreenContainer* CreateFullscreenContainer(

Powered by Google App Engine
This is Rietveld 408576698