HomeSort by relevance Sort by last modified time
    Searched full:clipboard (Results 1 - 25 of 487) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/ui/base/clipboard/
clipboard_constants.cc 5 #include "ui/base/clipboard/clipboard.h"
9 const char Clipboard::kMimeTypeText[] = "text/plain";
10 const char Clipboard::kMimeTypeURIList[] = "text/uri-list";
11 const char Clipboard::kMimeTypeDownloadURL[] = "downloadurl";
12 const char Clipboard::kMimeTypeHTML[] = "text/html";
13 const char Clipboard::kMimeTypeRTF[] = "text/rtf";
14 const char Clipboard::kMimeTypePNG[] = "image/png";
clipboard_unittest.cc 18 #include "ui/base/clipboard/clipboard.h"
19 #include "ui/base/clipboard/scoped_clipboard_writer.h"
23 #include "ui/base/clipboard/clipboard_util_win.h"
35 Clipboard& clipboard() { return clipboard_; } function in class:ui::ClipboardTest
39 Clipboard clipboard_;
53 ScopedClipboardWriter clipboard_writer(&clipboard(),
54 Clipboard::BUFFER_STANDARD);
58 clipboard().Clear(Clipboard::BUFFER_STANDARD)
    [all...]
scoped_clipboard_writer.cc 7 // parameters for each clipboard target can be found in clipboard.h.
9 #include "ui/base/clipboard/scoped_clipboard_writer.h"
17 ScopedClipboardWriter::ScopedClipboardWriter(Clipboard* clipboard,
18 Clipboard::Buffer buffer)
19 : clipboard_(clipboard),
40 Clipboard::ObjectMapParams parameters;
42 Clipboard::ObjectMapParam(utf8_markup.begin(),
45 parameters.push_back(Clipboard::ObjectMapParam(source_url.begin()
    [all...]
scoped_clipboard_writer.h 6 // the Clipboard class which simplifies writing data to the system clipboard.
9 // writing to the system clipboard.
17 #include "ui/base/clipboard/clipboard.h"
24 // This class is a wrapper for |Clipboard| that handles packing data
25 // into a Clipboard::ObjectMap.
30 // Create an instance that is a simple wrapper around clipboard.
31 ScopedClipboardWriter(Clipboard* clipboard, Clipboard::Buffer buffer)
    [all...]
clipboard_aura.cc 5 #include "ui/base/clipboard/clipboard.h"
16 #include "ui/base/clipboard/custom_data_helper.h"
28 // Clipboard data format used by AuraClipboard.
39 // ClipboardData contains data copied to the Clipboard for a variety of formats.
155 // Platform clipboard implementation for Aura. This handles things like format
156 // conversion, versioning of clipboard items etc. The goal is to roughly provide
158 // on gtk or winapi clipboard on win.
172 // Returns the number of entries currently in the clipboard stack.
177 // Returns the data currently on the top of the clipboard stack, NULL if th
469 AuraClipboard* clipboard = GetClipboard(); local
492 AuraClipboard* clipboard = GetClipboard(); local
515 AuraClipboard* clipboard = GetClipboard(); local
    [all...]
clipboard_win.cc 8 #include "ui/base/clipboard/clipboard.h"
29 #include "ui/base/clipboard/clipboard_util_win.h"
30 #include "ui/base/clipboard/custom_data_helper.h"
38 // A scoper to manage acquiring and automatically releasing the clipboard.
56 // Attempt to open the clipboard, which will acquire the Windows clipboard
61 // rdpclip.exe process likes to read what we've written to the clipboard and
62 // send it to the RDP client. If we open and close the clipboard in quick
67 // normal situations, the user is initiating clipboard operations and ther
217 ScopedClipboard clipboard; local
387 ScopedClipboard clipboard; local
414 ScopedClipboard clipboard; local
436 ScopedClipboard clipboard; local
459 ScopedClipboard clipboard; local
485 ScopedClipboard clipboard; local
531 ScopedClipboard clipboard; local
623 ScopedClipboard clipboard; local
643 ScopedClipboard clipboard; local
    [all...]
clipboard_mac.mm 5 #include "ui/base/clipboard/clipboard.h"
21 #include "ui/base/clipboard/custom_data_helper.h"
43 // can help track down problems if someone tries using clipboard code outside
52 Clipboard::FormatType::FormatType() : data_(nil) {
55 Clipboard::FormatType::FormatType(NSString* native_format)
59 Clipboard::FormatType::FormatType(const FormatType& other)
63 Clipboard::FormatType& Clipboard::FormatType::operator=(
72 Clipboard::FormatType::~FormatType()
    [all...]
clipboard_gtk.cc 5 #include "ui/base/clipboard/clipboard.h"
21 #include "ui/base/clipboard/custom_data_helper.h"
66 clipboard_atom_ = XInternAtom(GetXDisplay(), "CLIPBOARD", false);
74 // primary and the clipboard buffers. Register anyway just to be safe.
126 // GTK will call this when an application wants data we copied to the clipboard.
127 void GetData(GtkClipboard* clipboard,
131 Clipboard::TargetMap* data_map =
132 reinterpret_cast<Clipboard::TargetMap*>(user_data);
136 Clipboard::TargetMap::iterator iter = data_map->find(target_string)
253 GtkClipboard *clipboard = LookupBackingClipboard(buffer); local
359 GtkClipboard* clipboard = LookupBackingClipboard(buffer); local
410 GtkClipboard* clipboard = LookupBackingClipboard(buffer); local
436 GtkClipboard* clipboard = LookupBackingClipboard(buffer); local
453 GtkClipboard* clipboard = LookupBackingClipboard(buffer); local
471 GtkClipboard* clipboard = LookupBackingClipboard(buffer); local
497 GtkClipboard* clipboard = LookupBackingClipboard(buffer); local
559 GtkClipboard* clipboard = LookupBackingClipboard(buffer); local
    [all...]
clipboard_android.cc 5 #include "ui/base/clipboard/clipboard.h"
14 #include "ui/base/clipboard/clipboard_android_initialization.h"
18 // HTML+text now that Android's clipboard system supports them, then nuke the
22 // The Android clipboard system used to only support text format. So we used the
25 // variable protected by a lock. So the (non-text) clipboard will only work
115 // in the Android clipboard, clear the map and insert the Android text into it.
136 // Should only happen if someone is using the clipboard on multiple
154 Clipboard::FormatType::FormatType() {
157 Clipboard::FormatType::FormatType(const std::string& native_format
    [all...]
  /external/chromium/chrome/browser/autocomplete/
autocomplete_edit_view_mac_unittest.mm 12 #include "ui/base/clipboard/clipboard.h"
13 #include "ui/base/clipboard/scoped_clipboard_writer.h"
19 ui::Clipboard clipboard;
22 // Does an empty clipboard get empty text?
23 clipboard.WriteObjects(ui::Clipboard::ObjectMap());
24 text = AutocompleteEditViewMac::GetClipboardText(&clipboard);
31 // Can we pull straight text off the clipboard
    [all...]
  /external/chromium/chrome/browser/
clipboard_dispatcher.h 13 #include "ui/base/clipboard/clipboard.h"
15 // This class backs IPC requests from the renderer for clipboard data. In this
16 // context, clipboard does not only refer to the usual concept of a clipboard
17 // for copy/paste, which is why it's not in app/clipboard/clipboard.h. It can
19 // - The copy/paste clipboard, which contains data that has been copied/cut.
20 // - The dragging clipboard, which contains data that is currently being
22 // - On X, the selection clipboard, which contains data for the curren
    [all...]
  /external/chromium/chrome/browser/net/
browser_url_util.h 14 class Clipboard;
19 // Writes a string representation of |url| to the system clipboard.
22 ui::Clipboard *clipboard);
  /external/chromium_org/chrome/common/net/
url_util.h 13 class Clipboard;
18 // Writes a string representation of |url| to the system clipboard.
21 ui::Clipboard *clipboard);
  /external/chromium_org/content/renderer/
clipboard_client.h 8 #include "ui/base/clipboard/clipboard.h"
14 // Interface for the content embedder to implement to support clipboard.
22 virtual void WriteBitmapFromPixels(ui::Clipboard::ObjectMap* objects,
27 virtual void Flush(const ui::Clipboard::ObjectMap& objects) = 0;
32 // Get a clipboard that can be used to construct a ScopedClipboardWriterGlue.
33 virtual ui::Clipboard* GetClipboard() = 0;
35 // Get a sequence number which uniquely identifies clipboard state.
36 virtual uint64 GetSequenceNumber(ui::Clipboard::Buffer buffer) = 0;
38 // Tests whether the clipboard contains a certain forma
    [all...]
renderer_clipboard_client.h 19 virtual ui::Clipboard* GetClipboard() OVERRIDE;
20 virtual uint64 GetSequenceNumber(ui::Clipboard::Buffer buffer) OVERRIDE;
21 virtual bool IsFormatAvailable(const ui::Clipboard::FormatType& format,
22 ui::Clipboard::Buffer buffer) OVERRIDE;
23 virtual void Clear(ui::Clipboard::Buffer buffer) OVERRIDE;
24 virtual void ReadAvailableTypes(ui::Clipboard::Buffer buffer,
27 virtual void ReadText(ui::Clipboard::Buffer buffer,
29 virtual void ReadAsciiText(ui::Clipboard::Buffer buffer,
31 virtual void ReadHTML(ui::Clipboard::Buffer buffer, string16* markup,
34 virtual void ReadRTF(ui::Clipboard::Buffer buffer
    [all...]
  /external/chromium_org/content/browser/renderer_host/
clipboard_message_filter.h 13 #include "ui/base/clipboard/clipboard.h"
31 void OnWriteObjectsAsync(const ui::Clipboard::ObjectMap& objects);
32 void OnWriteObjectsSync(ui::Clipboard::ObjectMap objects,
35 void OnGetSequenceNumber(const ui::Clipboard::Buffer buffer,
37 void OnIsFormatAvailable(const ui::Clipboard::FormatType& format,
38 ui::Clipboard::Buffer buffer,
40 void OnClear(ui::Clipboard::Buffer buffer);
41 void OnReadAvailableTypes(ui::Clipboard::Buffer buffer,
44 void OnReadText(ui::Clipboard::Buffer buffer, string16* result)
    [all...]
clipboard_message_filter.cc 25 // The write must be performed on the UI thread because the clipboard object
27 // clipboard's contents. // See http://crbug.com/5823.
28 void WriteObjectsOnUIThread(ui::Clipboard::ObjectMap* objects) {
30 static ui::Clipboard* clipboard = ui::Clipboard::GetForCurrentThread(); local
31 clipboard->WriteObjects(ui::Clipboard::BUFFER_STANDARD, *objects);
42 // Clipboard writes should always occur on the UI thread due the restrictions
43 // of various platform APIs. In general, the clipboard is not thread-safe, s
242 static ui::Clipboard* clipboard = ui::Clipboard::GetForCurrentThread(); local
    [all...]
  /external/chromium_org/content/common/
clipboard_messages.h 14 #include "ui/base/clipboard/clipboard.h"
24 struct ParamTraits<ui::Clipboard::FormatType> {
25 typedef ui::Clipboard::FormatType param_type;
35 IPC_ENUM_TRAITS(ui::Clipboard::Buffer)
37 // Clipboard IPC messages sent from the renderer to the browser.
41 ui::Clipboard::ObjectMap /* objects */)
46 ui::Clipboard::ObjectMap /* objects */,
49 ui::Clipboard::Buffer /* buffer */,
52 ui::Clipboard::FormatType /* format */
    [all...]
clipboard_messages.cc 7 #include "ui/base/clipboard/clipboard.h"
11 void ParamTraits<ui::Clipboard::FormatType>::Write(
16 bool ParamTraits<ui::Clipboard::FormatType>::Read(
21 *r = ui::Clipboard::FormatType::Deserialize(serialization);
25 void ParamTraits<ui::Clipboard::FormatType>::Log(
  /external/chromium_org/remoting/host/
clipboard.h 19 // All Clipboard methods should be run on the UI thread, so that the Clipboard
21 class Clipboard {
23 virtual ~Clipboard() {}
25 // Initialises any objects needed to read from or write to the clipboard.
31 // Writes an item to the clipboard. It must be called after Start().
34 static scoped_ptr<Clipboard> Create();
  /external/chromium_org/chrome/browser/ui/omnibox/
omnibox_view_unittest.cc 12 #include "ui/base/clipboard/clipboard.h"
13 #include "ui/base/clipboard/scoped_clipboard_writer.h"
20 ui::Clipboard::DestroyClipboardForCurrentThread();
24 // Windows requires a message loop for clipboard access.
68 ui::Clipboard* clipboard = ui::Clipboard::GetForCurrentThread(); local
73 // Can we pull straight text off the clipboard?
75 ui::ScopedClipboardWriter clipboard_writer(clipboard,
    [all...]
  /external/chromium/webkit/glue/
scoped_clipboard_writer_glue.h 8 #include "ui/base/clipboard/scoped_clipboard_writer.h"
18 ScopedClipboardWriterGlue(ui::Clipboard* clipboard)
19 : ui::ScopedClipboardWriter(clipboard),
  /external/chromium_org/remoting/webapp/
clipboard.js 7 * A class for moving clipboard items between the plugin and the OS.
18 remoting.Clipboard = function() {
25 remoting.Clipboard.prototype.ItemTypes = {
34 remoting.Clipboard.prototype.previousContent = "";
40 remoting.Clipboard.prototype.itemFromHostTextPending = false;
46 remoting.Clipboard.prototype.blockOneClipboardSend_ = false;
53 remoting.Clipboard.prototype.startSession = function() {
59 // Do a paste operation, but make sure the resulting clipboard data isn't sent
61 // clipboard before the session began. The user may not have intended such
68 * Accepts a clipboard from the OS, and sends any changed clipboard items t
    [all...]
  /external/chromium_org/chrome/browser/renderer_host/pepper/
pepper_flash_clipboard_message_filter.cc 19 #include "ui/base/clipboard/scoped_clipboard_writer.h"
29 ui::Clipboard::Buffer ConvertClipboardType(uint32_t type) {
32 return ui::Clipboard::BUFFER_STANDARD;
34 return ui::Clipboard::BUFFER_SELECTION;
37 return ui::Clipboard::BUFFER_STANDARD;
44 // as "Web Custom" formats are. This would allow clipboard data to be shared
46 // assume all data that is placed on the clipboard is UTF16 and pepper allows
48 // clipboard interface for custom data.
105 // Clipboard writes should always occur on the UI thread due to the
106 // restrictions of various platform APIs. In general, the clipboard is no
162 ui::Clipboard* clipboard = ui::Clipboard::GetForCurrentThread(); local
208 ui::Clipboard* clipboard = ui::Clipboard::GetForCurrentThread(); local
    [all...]
  /external/chromium/chrome/browser/extensions/
extension_clipboard_api.h 13 // Base class for clipboard function APIs.
26 DECLARE_EXTENSION_FUNCTION_NAME("experimental.clipboard.executeCopy");
32 DECLARE_EXTENSION_FUNCTION_NAME("experimental.clipboard.executeCut");
38 DECLARE_EXTENSION_FUNCTION_NAME("experimental.clipboard.executePaste");

Completed in 583 milliseconds

1 2 3 4 5 6 7 8 91011>>