Index: content/public/browser/content_browser_client.h |
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h |
index 9fe6af0483e94ed896c6c57f23deb9fa1f3768d7..ac7093e7d6679d3dd590ce8191778bcba53942d1 100644 |
--- a/content/public/browser/content_browser_client.h |
+++ b/content/public/browser/content_browser_client.h |
@@ -68,6 +68,7 @@ class SpeechRecognitionManagerDelegate; |
class WebContents; |
class WebContentsView; |
class WebContentsViewDelegate; |
+struct ClipboardWriteCallbackParams; |
struct MainFunctionParams; |
struct ShowDesktopNotificationHostMsgParams; |
@@ -444,6 +445,11 @@ class CONTENT_EXPORT ContentBrowserClient { |
// Returns the directory containing hyphenation dictionaries. |
virtual FilePath GetHyphenDictionaryDirectory(); |
+ // Called before writing clipboard content, thus allowing an embedder to |
+ // modify the contents of Clipboard::ObjectMap. |
+ virtual void BeforeWriteToClipboard( |
+ const ClipboardWriteCallbackParams& params) {} |
+ |
#if defined(OS_POSIX) && !defined(OS_MACOSX) |
// Populates |mappings| with all files that need to be mapped before launching |
// a child process. |