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

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

Issue 136193002: Add Clipboard::GetSequenceNumber test and fix Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 | Annotate | Revision Log
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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 57
58 #ifdef __OBJC__ 58 #ifdef __OBJC__
59 @class NSString; 59 @class NSString;
60 #else 60 #else
61 class NSString; 61 class NSString;
62 #endif 62 #endif
63 63
64 namespace ui { 64 namespace ui {
65 class ClipboardTest; 65 class ClipboardTest;
66 66
67 #if defined(OS_ANDROID)
68 class ClipboardChangeListener {
69 public:
70 virtual void OnChange(JNIEnv* env, jobject object) = 0;
71 };
72 #endif
73
67 class UI_BASE_EXPORT Clipboard : NON_EXPORTED_BASE(public base::ThreadChecker) { 74 class UI_BASE_EXPORT Clipboard : NON_EXPORTED_BASE(public base::ThreadChecker) {
68 public: 75 public:
69 // MIME type constants. 76 // MIME type constants.
70 static const char kMimeTypeText[]; 77 static const char kMimeTypeText[];
71 static const char kMimeTypeURIList[]; 78 static const char kMimeTypeURIList[];
72 static const char kMimeTypeDownloadURL[]; 79 static const char kMimeTypeDownloadURL[];
73 static const char kMimeTypeHTML[]; 80 static const char kMimeTypeHTML[];
74 static const char kMimeTypeRTF[]; 81 static const char kMimeTypeRTF[];
75 static const char kMimeTypePNG[]; 82 static const char kMimeTypePNG[];
76 83
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 class AuraX11Details; 399 class AuraX11Details;
393 scoped_ptr<AuraX11Details> aurax11_details_; 400 scoped_ptr<AuraX11Details> aurax11_details_;
394 #endif 401 #endif
395 402
396 DISALLOW_COPY_AND_ASSIGN(Clipboard); 403 DISALLOW_COPY_AND_ASSIGN(Clipboard);
397 }; 404 };
398 405
399 } // namespace ui 406 } // namespace ui
400 407
401 #endif // UI_BASE_CLIPBOARD_CLIPBOARD_H_ 408 #endif // UI_BASE_CLIPBOARD_CLIPBOARD_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698