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

Unified Diff: chrome/renderer/render_view.h

Issue 6253017: Pepper/Flapper: First pass at context menu implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: make brettw happier 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
« no previous file with comments | « chrome/renderer/pepper_plugin_delegate_impl.cc ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/render_view.h
diff --git a/chrome/renderer/render_view.h b/chrome/renderer/render_view.h
index 92a3577f909f5f2fd29e321d360784b3eb25139c..314224d1db28d8603f726f18216625037169f353 100644
--- a/chrome/renderer/render_view.h
+++ b/chrome/renderer/render_view.h
@@ -114,6 +114,7 @@ class PhishingClassifierDelegate;
}
namespace webkit_glue {
+struct CustomContextMenuContext;
class ImageResourceFetcher;
struct FileUploadData;
struct FormData;
@@ -826,7 +827,8 @@ class RenderView : public RenderWidget,
const PP_Flash_NetAddress& local_addr,
const PP_Flash_NetAddress& remote_addr);
#endif
- void OnContextMenuClosed();
+ void OnContextMenuClosed(
+ const webkit_glue::CustomContextMenuContext& custom_context);
void OnCopy();
void OnCopyImageAt(int x, int y);
#if defined(OS_MACOSX)
@@ -838,7 +840,9 @@ class RenderView : public RenderWidget,
void OnCSSInsertRequest(const std::wstring& frame_xpath,
const std::string& css,
const std::string& id);
- void OnCustomContextMenuAction(unsigned action);
+ void OnCustomContextMenuAction(
+ const webkit_glue::CustomContextMenuContext& custom_context,
+ unsigned action);
void OnDelete();
void OnDeterminePageLanguage();
void OnDisableScrollbarsForSmallWindows(
« no previous file with comments | « chrome/renderer/pepper_plugin_delegate_impl.cc ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698