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

1 2 3

  /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...]
omnibox_view.cc 16 #include "ui/base/clipboard/clipboard.h"
51 ui::Clipboard* clipboard = ui::Clipboard::GetForCurrentThread(); local
52 if (clipboard->IsFormatAvailable(ui::Clipboard::GetPlainTextWFormatType(),
55 clipboard->ReadText(ui::CLIPBOARD_TYPE_COPY_PASTE, &text);
66 if (clipboard->IsFormatAvailable(ui::Clipboard::GetUrlWFormatType()
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/dom/
DataTransferItem.h 43 class Clipboard;
50 static PassRefPtr<DataTransferItem> create(PassRefPtr<Clipboard>, PassRefPtr<ChromiumDataObjectItem>);
59 Clipboard* clipboard() { return m_clipboard.get(); } function in class:WebCore::DataTransferItem
63 DataTransferItem(PassRefPtr<Clipboard>, PassRefPtr<ChromiumDataObjectItem>);
65 RefPtr<Clipboard> m_clipboard;
  /external/chromium_org/third_party/WebKit/Source/core/events/
ClipboardEvent.h 31 class Clipboard;
41 static PassRefPtr<ClipboardEvent> create(const AtomicString& type, bool canBubbleArg, bool cancelableArg, PassRefPtr<Clipboard> clipboardArg)
46 Clipboard* clipboard() const { return m_clipboard.get(); } function in class:WebCore::ClipboardEvent
50 ClipboardEvent(const AtomicString& type, bool canBubbleArg, bool cancelableArg, PassRefPtr<Clipboard>);
55 RefPtr<Clipboard> m_clipboard;
MouseEvent.h 32 class Clipboard;
68 PassRefPtr<EventTarget> relatedTarget, PassRefPtr<Clipboard>, bool isSimulated = false);
89 Clipboard* clipboard() const { return m_clipboard.get(); } function in class:WebCore::MouseEvent
94 Clipboard* dataTransfer() const { return isDragEvent() ? m_clipboard.get() : 0; }
107 PassRefPtr<EventTarget> relatedTarget, PassRefPtr<Clipboard>, bool isSimulated);
117 RefPtr<Clipboard> m_clipboard;
Event.h 36 class Clipboard;
135 Clipboard* clipboardData() const { return isClipboardEvent() ? clipboard() : 0; }
181 virtual Clipboard* clipboard() const { return 0; } function in class:WebCore::Event
  /frameworks/base/services/java/com/android/server/
ClipboardService.java 50 * Implementation of the clipboard for copy and paste.
90 * Instantiates the clipboard.
99 permOwner = mAm.newUriPermissionOwner("clipboard");
101 Slog.w("clipboard", "AM dead", e);
105 // Remove the clipboard if a user is removed
126 Slog.wtf("clipboard", "Exception: ", e);
166 PerUserClipboard clipboard = getClipboard(); local
167 clipboard.primaryClip = clip;
169 final int n = clipboard.primaryClipListeners.beginBroadcast();
174 clipboard.primaryClipListeners.getBroadcastCookie(i)
209 PerUserClipboard clipboard = getClipboard(); local
244 PerUserClipboard clipboard = getClipboard(); local
323 PerUserClipboard clipboard = getClipboard(); local
356 PerUserClipboard clipboard = getClipboard(); local
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/assetstudio/
ChooseAssetTypePage.java 27 import org.eclipse.swt.dnd.Clipboard;
113 mClipboardButton.setText("Copy Name to Clipboard");
164 Clipboard clipboard = new Clipboard(getShell().getDisplay()); local
166 clipboard.setContents(
169 clipboard.dispose();
  /external/chromium_org/ui/views/controls/textfield/
textfield_views_model_unittest.cc 13 #include "ui/base/clipboard/clipboard.h"
14 #include "ui/base/clipboard/scoped_clipboard_writer.h"
484 TEST_F(TextfieldViewsModelTest, Clipboard) {
485 ui::Clipboard* clipboard = ui::Clipboard::GetForCurrentThread(); local
487 ui::ScopedClipboardWriter(clipboard, ui::CLIPBOARD_TYPE_COPY_PASTE).
497 clipboard->ReadText(ui::CLIPBOARD_TYPE_COPY_PASTE, &clipboard_text);
504 clipboard->ReadText(ui::CLIPBOARD_TYPE_COPY_PASTE, &clipboard_text)
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/browse/
EmailCopyContextMenu.java 39 * Requires a context to use for inflation and clipboard copying.
81 * Copy the input text sequence to the system clipboard.
85 ClipboardManager clipboard = local
87 clipboard.setPrimaryClip(ClipData.newPlainText(null, text));
  /external/chromium_org/chrome/browser/bookmarks/
bookmark_node_data.cc 16 #include "ui/base/clipboard/scoped_clipboard_writer.h"
120 return ui::Clipboard::GetForCurrentThread()->IsFormatAvailable(
121 ui::Clipboard::GetFormatType(kClipboardFormatString),
158 ui::ScopedClipboardWriter scw(ui::Clipboard::GetForCurrentThread(),
162 // clipboard.
173 // Also write the URL to the clipboard as text so that it can be pasted
175 // want to clobber the X clipboard when the user copies out of the omnibox
184 ui::Clipboard::GetFormatType(kClipboardFormatString));
190 ui::Clipboard* clipboard = ui::Clipboard::GetForCurrentThread() local
    [all...]
  /external/chromium_org/chrome/browser/renderer_host/pepper/
pepper_flash_clipboard_message_filter.cc 19 #include "ui/base/clipboard/scoped_clipboard_writer.h"
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.
107 // Clipboard writes should always occur on the UI thread due to the
108 // restrictions of various platform APIs. In general, the clipboard is not
109 // thread-safe, so all clipboard calls should be serviced from the UI thread.
113 // Windows needs clipboard reads to be serviced from the IO thread because
115 // from the UI thread. Note that Windows clipboard calls ARE thread-safe so it
164 ui::Clipboard* clipboard = ui::Clipboard::GetForCurrentThread() local
210 ui::Clipboard* clipboard = ui::Clipboard::GetForCurrentThread(); local
    [all...]
  /external/chromium_org/content/browser/renderer_host/
clipboard_message_filter.cc 26 // clipboard object from the IO thread cannot create windows so it cannot be
27 // the "owner" of the 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_TYPE_COPY_PASTE, *objects);
41 // Clipboard writes should always occur on the UI thread due the restrictions
42 // of various platform APIs. In general, the clipboard is not thread-safe, so
43 // all clipboard calls should be serviced from the UI thread
242 static ui::Clipboard* clipboard = ui::Clipboard::GetForCurrentThread(); local
    [all...]
  /external/chromium_org/content/ppapi_plugin/
ppapi_webkitplatformsupport_impl.cc 150 blink::WebClipboard* PpapiWebKitPlatformSupportImpl::clipboard() { function in class:content::PpapiWebKitPlatformSupportImpl
  /external/chromium_org/content/test/
test_webkit_platform_support.cc 119 blink::WebClipboard* TestWebKitPlatformSupport::clipboard() { function in class:content::TestWebKitPlatformSupport
120 // Mock out clipboard calls so that tests don't mess
  /external/chromium_org/remoting/host/
clipboard_win.cc 5 #include "remoting/host/clipboard.h"
25 // A scoper class that opens and closes the clipboard.
27 // ui/base/clipboard/clipboard_win.cc.
80 // copy the clipboard data, and unlock the handle. All this must be done
101 class ClipboardWin : public Clipboard {
164 LOG(ERROR) << "Couldn't create clipboard window.";
200 ScopedClipboard clipboard; local
201 if (!clipboard.Init(window_->hwnd())) {
202 LOG(WARNING) << "Couldn't open the clipboard.";
206 clipboard.Empty()
232 ScopedClipboard clipboard; local
    [all...]
  /development/samples/NotePad/src/com/example/android/notepad/
NotesList.java 175 // The paste menu item is enabled if there is data on the clipboard.
176 ClipboardManager clipboard = (ClipboardManager) local
182 // If the clipboard contains an item, enables the Paste option on the menu.
183 if (clipboard.hasPrimaryClip()) {
186 // If the clipboard is empty, disables the menu's Paste option.
401 // Gets a handle to the clipboard service.
402 ClipboardManager clipboard = (ClipboardManager) local
405 // Copies the notes URI to the clipboard. In effect, this copies the note itself
406 clipboard.setPrimaryClip(ClipData.newUri( // new clipboard item holding a UR
    [all...]
NoteEditor.java 45 * create a new note from the current contents of the clipboard {@link Intent#ACTION_PASTE}.
216 // For a paste, initializes the data from clipboard.
454 * A helper method that replaces the note's data with the contents of the clipboard.
458 // Gets a handle to the Clipboard Manager
459 ClipboardManager clipboard = (ClipboardManager) local
465 // Gets the clipboard data from the clipboard
466 ClipData clip = clipboard.getPrimaryClip();
472 // Gets the first item from the clipboard data
483 // The clipboard holds a reference to data with a note MIME type. This copies it
    [all...]
  /external/chromium/chrome/browser/bookmarks/
bookmark_node_data.cc 17 #include "ui/base/clipboard/scoped_clipboard_writer.h"
143 ui::ScopedClipboardWriter scw(g_browser_process->clipboard());
146 // clipboard.
154 // Also write the URL to the clipboard as text so that it can be pasted
156 // want to clobber the X clipboard when the user copies out of the omnibox
169 ui::Clipboard* clipboard = g_browser_process->clipboard(); local
170 clipboard->ReadData(kClipboardFormatString, &data);
180 clipboard->ReadBookmark(&title, &url)
    [all...]
  /external/chromium_org/chrome/browser/ui/pdf/
pdf_browsertest.cc 26 #include "ui/base/clipboard/clipboard.h"
283 ui::Clipboard* clipboard = ui::Clipboard::GetForCurrentThread(); local
284 // Reset the clipboard first.
285 ui::Clipboard::ObjectMap objects;
286 ui::Clipboard::ObjectMapParams params;
288 objects[ui::Clipboard::CBF_TEXT] = params;
289 clipboard->WriteObjects(ui::CLIPBOARD_TYPE_COPY_PASTE, objects)
    [all...]
  /external/chromium_org/content/worker/
worker_webkitplatformsupport_impl.cc 99 WebClipboard* WorkerWebKitPlatformSupportImpl::clipboard() { function in class:content::WorkerWebKitPlatformSupportImpl
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/lib-scriptpackages/Finder/
Finder_Basics.py 16 """copy: (NOT AVAILABLE YET) Copy the selected items to the clipboard (the Finder must be the front application)
70 """clipboard - (NOT AVAILABLE YET) the Finder\xd5s clipboard window """
73 clipboard = _Prop_clipboard() variable
150 'clipboard' : _Prop_clipboard,
  /external/chromium_org/ui/base/clipboard/
clipboard_unittest.cc 21 #include "ui/base/clipboard/clipboard.h"
22 #include "ui/base/clipboard/scoped_clipboard_writer.h"
26 #include "ui/base/clipboard/clipboard_util_win.h"
38 Clipboard& clipboard() { return clipboard_; } function in class:ui::ClipboardTest
42 Clipboard clipboard_;
56 ScopedClipboardWriter clipboard_writer(&clipboard(),
61 clipboard().Clear(CLIPBOARD_TYPE_COPY_PASTE);
63 EXPECT_FALSE(clipboard().IsFormatAvailable
    [all...]
  /packages/apps/Calculator/src/com/android/calculator2/
CalculatorEditText.java 169 ClipboardManager clipboard = (ClipboardManager) getContext(). local
171 clipboard.setPrimaryClip(clip);
178 ClipboardManager clipboard = (ClipboardManager) getContext().getSystemService( local
180 clipboard.setPrimaryClip(ClipData.newPlainText(null, text));
195 ClipboardManager clipboard = (ClipboardManager) getContext().getSystemService( local
197 return clipboard.getPrimaryClip();
  /external/chromium/chrome/browser/autocomplete/
autocomplete_edit_view_browsertest.cc 115 // Returns the text stored in the PRIMARY clipboard.
117 GtkClipboard* clipboard = gtk_clipboard_get(GDK_SELECTION_PRIMARY); local
118 DCHECK(clipboard);
120 gchar* selection_text = gtk_clipboard_wait_for_text(clipboard);
126 // Stores the given text to clipboard.
128 GtkClipboard* clipboard = gtk_clipboard_get(GDK_SELECTION_CLIPBOARD); local
129 DCHECK(clipboard);
131 gtk_clipboard_set_text(clipboard, text, -1);
    [all...]

Completed in 524 milliseconds

1 2 3