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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 virtual void DidSendScreenRects(RenderWidgetHostImpl* rwh) {} 68 virtual void DidSendScreenRects(RenderWidgetHostImpl* rwh) {}
69 69
70 // Get the root BrowserAccessibilityManager for this frame tree. 70 // Get the root BrowserAccessibilityManager for this frame tree.
71 virtual BrowserAccessibilityManager* GetRootBrowserAccessibilityManager(); 71 virtual BrowserAccessibilityManager* GetRootBrowserAccessibilityManager();
72 72
73 // Get the root BrowserAccessibilityManager for this frame tree, 73 // Get the root BrowserAccessibilityManager for this frame tree,
74 // or create it if it doesn't exist. 74 // or create it if it doesn't exist.
75 virtual BrowserAccessibilityManager* 75 virtual BrowserAccessibilityManager*
76 GetOrCreateRootBrowserAccessibilityManager(); 76 GetOrCreateRootBrowserAccessibilityManager();
77 77
78 // Send the OS Undo action to the focused frame.
79 virtual void Undo();
80
81 // Send the OS Redo action to the focused frame.
82 virtual void Redo();
83
84 // Send the OS Cut action to the focused frame.
85 virtual void Cut();
86
87 // Send the OS Copy action to the focused frame.
88 virtual void Copy();
89
90 // Send the OS CopyToFindPboard action to the focused frame.
91 virtual void CopyToFindPboard();
92
93 // Send the OS Paste action to the focused frame.
94 virtual void Paste();
95
96 // Send the OS PasteAndMatchStyle action to the focused frame.
97 virtual void PasteAndMatchStyle();
98
99 // Send the OS SelectAll action to the focused frame.
100 virtual void SelectAll();
101
78 #if defined(OS_WIN) 102 #if defined(OS_WIN)
79 virtual gfx::NativeViewAccessible GetParentNativeViewAccessible(); 103 virtual gfx::NativeViewAccessible GetParentNativeViewAccessible();
80 #endif 104 #endif
81 105
82 protected: 106 protected:
83 virtual ~RenderWidgetHostDelegate() {} 107 virtual ~RenderWidgetHostDelegate() {}
84 }; 108 };
85 109
86 } // namespace content 110 } // namespace content
87 111
88 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_ 112 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698