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

Unified Diff: content/browser/renderer_host/render_widget_host_delegate.h

Issue 1133003003: Fix copying from interstitial pages on OSX by going through the RenderWidgetHostDelegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address Nasko's comments. Created 5 years, 7 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: content/browser/renderer_host/render_widget_host_delegate.h
diff --git a/content/browser/renderer_host/render_widget_host_delegate.h b/content/browser/renderer_host/render_widget_host_delegate.h
index a2eb5e6e379535e4b3776e1243423ec918f716b5..e99fc451e1e6be4ffe050e03ea8b480a9794584a 100644
--- a/content/browser/renderer_host/render_widget_host_delegate.h
+++ b/content/browser/renderer_host/render_widget_host_delegate.h
@@ -75,6 +75,30 @@ class CONTENT_EXPORT RenderWidgetHostDelegate {
virtual BrowserAccessibilityManager*
GetOrCreateRootBrowserAccessibilityManager();
+ // Send the OS Undo action to the focused frame.
+ virtual void Undo();
+
+ // Send the OS Redo action to the focused frame.
+ virtual void Redo();
+
+ // Send the OS Cut action to the focused frame.
+ virtual void Cut();
+
+ // Send the OS Copy action to the focused frame.
+ virtual void Copy();
+
+ // Send the OS CopyToFindPboard action to the focused frame.
+ virtual void CopyToFindPboard();
+
+ // Send the OS Paste action to the focused frame.
+ virtual void Paste();
+
+ // Send the OS PasteAndMatchStyle action to the focused frame.
+ virtual void PasteAndMatchStyle();
+
+ // Send the OS SelectAll action to the focused frame.
+ virtual void SelectAll();
+
#if defined(OS_WIN)
virtual gfx::NativeViewAccessible GetParentNativeViewAccessible();
#endif

Powered by Google App Engine
This is Rietveld 408576698