OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 | 101 |
102 void ChromiumBridge::clipboardWriteSelection(const String& htmlText, | 102 void ChromiumBridge::clipboardWriteSelection(const String& htmlText, |
103 const KURL& sourceURL, | 103 const KURL& sourceURL, |
104 const String& plainText, | 104 const String& plainText, |
105 bool writeSmartPaste) | 105 bool writeSmartPaste) |
106 { | 106 { |
107 webKitClient()->clipboard()->writeHTML( | 107 webKitClient()->clipboard()->writeHTML( |
108 htmlText, sourceURL, plainText, writeSmartPaste); | 108 htmlText, sourceURL, plainText, writeSmartPaste); |
109 } | 109 } |
110 | 110 |
| 111 void ChromiumBridge::clipboardWritePlainText(const String& plainText) |
| 112 { |
| 113 webKitClient()->clipboard()->writePlainText(plainText); |
| 114 } |
| 115 |
111 void ChromiumBridge::clipboardWriteURL(const KURL& url, const String& title) | 116 void ChromiumBridge::clipboardWriteURL(const KURL& url, const String& title) |
112 { | 117 { |
113 webKitClient()->clipboard()->writeURL(url, title); | 118 webKitClient()->clipboard()->writeURL(url, title); |
114 } | 119 } |
115 | 120 |
116 void ChromiumBridge::clipboardWriteImage(const NativeImageSkia* image, | 121 void ChromiumBridge::clipboardWriteImage(const NativeImageSkia* image, |
117 const KURL& sourceURL, | 122 const KURL& sourceURL, |
118 const String& title) | 123 const String& title) |
119 { | 124 { |
120 #if WEBKIT_USING_SKIA | 125 #if WEBKIT_USING_SKIA |
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
560 { | 565 { |
561 return webKitClient()->widgetSetFocus(widget); | 566 return webKitClient()->widgetSetFocus(widget); |
562 } | 567 } |
563 | 568 |
564 WorkerContextProxy* WorkerContextProxy::create(Worker* worker) | 569 WorkerContextProxy* WorkerContextProxy::create(Worker* worker) |
565 { | 570 { |
566 return webKitClient()->createWorkerContextProxy(worker); | 571 return webKitClient()->createWorkerContextProxy(worker); |
567 } | 572 } |
568 | 573 |
569 } // namespace WebCore | 574 } // namespace WebCore |
OLD | NEW |