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

Side by Side Diff: ui/base/clipboard/clipboard.h

Issue 11225021: Move flash clipboard to the new proxy and add custom format support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 1 month 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
« no previous file with comments | « ppapi/thunk/ppb_instance_api.h ('k') | ui/base/clipboard/clipboard_android.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 UI_BASE_CLIPBOARD_CLIPBOARD_H_ 5 #ifndef UI_BASE_CLIPBOARD_CLIPBOARD_H_
6 #define UI_BASE_CLIPBOARD_CLIPBOARD_H_ 6 #define UI_BASE_CLIPBOARD_CLIPBOARD_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 static const FormatType& GetMozUrlFormatType(); 279 static const FormatType& GetMozUrlFormatType();
280 static const FormatType& GetPlainTextFormatType(); 280 static const FormatType& GetPlainTextFormatType();
281 static const FormatType& GetPlainTextWFormatType(); 281 static const FormatType& GetPlainTextWFormatType();
282 static const FormatType& GetFilenameFormatType(); 282 static const FormatType& GetFilenameFormatType();
283 static const FormatType& GetFilenameWFormatType(); 283 static const FormatType& GetFilenameWFormatType();
284 static const FormatType& GetWebKitSmartPasteFormatType(); 284 static const FormatType& GetWebKitSmartPasteFormatType();
285 // Win: MS HTML Format, Other: Generic HTML format 285 // Win: MS HTML Format, Other: Generic HTML format
286 static const FormatType& GetHtmlFormatType(); 286 static const FormatType& GetHtmlFormatType();
287 static const FormatType& GetRtfFormatType(); 287 static const FormatType& GetRtfFormatType();
288 static const FormatType& GetBitmapFormatType(); 288 static const FormatType& GetBitmapFormatType();
289 // TODO(raymes): Unify web custom data and pepper custom data:
290 // crbug.com/158399.
289 static const FormatType& GetWebCustomDataFormatType(); 291 static const FormatType& GetWebCustomDataFormatType();
292 static const FormatType& GetPepperCustomDataFormatType();
290 293
291 // Embeds a pointer to a SharedMemory object pointed to by |bitmap_handle| 294 // Embeds a pointer to a SharedMemory object pointed to by |bitmap_handle|
292 // belonging to |process| into a shared bitmap [CBF_SMBITMAP] slot in 295 // belonging to |process| into a shared bitmap [CBF_SMBITMAP] slot in
293 // |objects|. The pointer is deleted by DispatchObjects(). 296 // |objects|. The pointer is deleted by DispatchObjects().
294 // 297 //
295 // On non-Windows platforms, |process| is ignored. 298 // On non-Windows platforms, |process| is ignored.
296 static void ReplaceSharedMemHandle(ObjectMap* objects, 299 static void ReplaceSharedMemHandle(ObjectMap* objects,
297 base::SharedMemoryHandle bitmap_handle, 300 base::SharedMemoryHandle bitmap_handle,
298 base::ProcessHandle process); 301 base::ProcessHandle process);
299 #if defined(OS_WIN) 302 #if defined(OS_WIN)
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 class AuraX11Details; 392 class AuraX11Details;
390 scoped_ptr<AuraX11Details> aurax11_details_; 393 scoped_ptr<AuraX11Details> aurax11_details_;
391 #endif 394 #endif
392 395
393 DISALLOW_COPY_AND_ASSIGN(Clipboard); 396 DISALLOW_COPY_AND_ASSIGN(Clipboard);
394 }; 397 };
395 398
396 } // namespace ui 399 } // namespace ui
397 400
398 #endif // UI_BASE_CLIPBOARD_CLIPBOARD_H_ 401 #endif // UI_BASE_CLIPBOARD_CLIPBOARD_H_
OLDNEW
« no previous file with comments | « ppapi/thunk/ppb_instance_api.h ('k') | ui/base/clipboard/clipboard_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698