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

Side by Side Diff: content/public/browser/clipboard_write_callback_params.h

Issue 12041078: Clear the clipboard closing Incognito window (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Addressed comments Created 7 years, 10 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
(Empty)
1 #ifndef CONTENT_PUBLIC_BROWSER_CLIPBOARD_WRITE_CALLBACK_PARAMS_H_
jam 2013/02/01 17:08:16 agree with joi, don't add this and just use two pa
vasilii 2013/02/01 17:25:08 Do you agree to introduce a dependence on ui/base/
2 #define CONTENT_PUBLIC_BROWSER_CLIPBOARD_WRITE_CALLBACK_PARAMS_H_
3
4 #include "ui/base/clipboard/clipboard.h"
5
6 namespace content {
7
8 class BrowserContext;
9
10 // ClipboardWriteCallbackParams carries data through ChromeContentBrowserClient
11 // thus allowing "chrome" layer to modify Clipboard::ObjectMap before writing.
12 struct ClipboardWriteCallbackParams {
13 ClipboardWriteCallbackParams(BrowserContext* context,
14 ui::Clipboard::ObjectMap& object_map)
15 : browser_context(context),
16 objects(object_map) {
17 }
18
19 BrowserContext* browser_context;
20 ui::Clipboard::ObjectMap& objects;
21 };
22
23 } // namespace content
24 #endif // CONTENT_PUBLIC_BROWSER_CLIPBOARD_WRITE_CALLBACK_PARAMS_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | content/public/browser/content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698