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

Side by Side Diff: webkit/glue/webclipboard_impl.h

Issue 8741006: Add exports needed for glue to build as a component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase to r112585 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
« no previous file with comments | « webkit/glue/webaccessibility.h ('k') | webkit/glue/webcookie.h » ('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) 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 WEBCLIPBOARD_IMPL_H_ 5 #ifndef WEBCLIPBOARD_IMPL_H_
6 #define WEBCLIPBOARD_IMPL_H_ 6 #define WEBCLIPBOARD_IMPL_H_
7 7
8 #include "base/compiler_specific.h"
8 #include "third_party/WebKit/Source/WebKit/chromium/public/WebClipboard.h" 9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebClipboard.h"
9 #include "ui/base/clipboard/clipboard.h" 10 #include "ui/base/clipboard/clipboard.h"
11 #include "webkit/glue/webkit_glue_export.h"
10 12
11 #include <string> 13 #include <string>
12 14
13 namespace webkit_glue { 15 namespace webkit_glue {
14 class ClipboardClient; 16 class ClipboardClient;
15 17
16 class WebClipboardImpl : public WebKit::WebClipboard { 18 class WEBKIT_GLUE_EXPORT WebClipboardImpl :
19 NON_EXPORTED_BASE(public WebKit::WebClipboard) {
17 public: 20 public:
18 static std::string URLToMarkup(const WebKit::WebURL& url, 21 static std::string URLToMarkup(const WebKit::WebURL& url,
19 const WebKit::WebString& title); 22 const WebKit::WebString& title);
20 static std::string URLToImageMarkup(const WebKit::WebURL& url, 23 static std::string URLToImageMarkup(const WebKit::WebURL& url,
21 const WebKit::WebString& title); 24 const WebKit::WebString& title);
22 25
23 explicit WebClipboardImpl(ClipboardClient* client); 26 explicit WebClipboardImpl(ClipboardClient* client);
24 27
25 virtual ~WebClipboardImpl(); 28 virtual ~WebClipboardImpl();
26 29
(...skipping 26 matching lines...) Expand all
53 virtual void writeDataObject(const WebKit::WebDragData& data); 56 virtual void writeDataObject(const WebKit::WebDragData& data);
54 57
55 private: 58 private:
56 bool ConvertBufferType(Buffer, ui::Clipboard::Buffer*); 59 bool ConvertBufferType(Buffer, ui::Clipboard::Buffer*);
57 ClipboardClient* client_; 60 ClipboardClient* client_;
58 }; 61 };
59 62
60 } // namespace webkit_glue 63 } // namespace webkit_glue
61 64
62 #endif // WEBCLIPBOARD_IMPL_H_ 65 #endif // WEBCLIPBOARD_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/glue/webaccessibility.h ('k') | webkit/glue/webcookie.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698