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

Side by Side Diff: content/renderer/renderer_clipboard_client.h

Issue 8775025: Add glue for supporting custom MIME types in DataTransfer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_RENDERER_RENDERER_CLIPBOARD_CLIENT_H_ 5 #ifndef CONTENT_RENDERER_RENDERER_CLIPBOARD_CLIENT_H_
6 #define CONTENT_RENDERER_RENDERER_CLIPBOARD_CLIENT_H_ 6 #define CONTENT_RENDERER_RENDERER_CLIPBOARD_CLIENT_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "webkit/glue/clipboard_client.h" 9 #include "webkit/glue/clipboard_client.h"
10 10
(...skipping 12 matching lines...) Expand all
23 bool* contains_filenames) OVERRIDE; 23 bool* contains_filenames) OVERRIDE;
24 virtual void ReadText(ui::Clipboard::Buffer buffer, 24 virtual void ReadText(ui::Clipboard::Buffer buffer,
25 string16* result) OVERRIDE; 25 string16* result) OVERRIDE;
26 virtual void ReadAsciiText(ui::Clipboard::Buffer buffer, 26 virtual void ReadAsciiText(ui::Clipboard::Buffer buffer,
27 std::string* result) OVERRIDE; 27 std::string* result) OVERRIDE;
28 virtual void ReadHTML(ui::Clipboard::Buffer buffer, string16* markup, 28 virtual void ReadHTML(ui::Clipboard::Buffer buffer, string16* markup,
29 GURL* url, uint32* fragment_start, 29 GURL* url, uint32* fragment_start,
30 uint32* fragment_end) OVERRIDE; 30 uint32* fragment_end) OVERRIDE;
31 virtual void ReadImage(ui::Clipboard::Buffer buffer, 31 virtual void ReadImage(ui::Clipboard::Buffer buffer,
32 std::string* data) OVERRIDE; 32 std::string* data) OVERRIDE;
33 virtual void ReadCustomData(ui::Clipboard::Buffer buffer,
34 const string16& type,
35 string16* data);
tony 2011/12/02 00:13:29 Nit: OVERRIDE like the other methods?
dcheng 2011/12/02 00:29:17 Done.
33 virtual WriteContext* CreateWriteContext() OVERRIDE; 36 virtual WriteContext* CreateWriteContext() OVERRIDE;
34 }; 37 };
35 38
36 #endif // CONTENT_RENDERER_RENDERER_CLIPBOARD_CLIENT_H_ 39 #endif // CONTENT_RENDERER_RENDERER_CLIPBOARD_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698