OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006 Apple Computer, Inc. All rights reserved. | 2 * Copyright (C) 2006 Apple Computer, 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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 // If no data is read, an empty string will be returned and all out paramete
rs will be cleared. | 63 // If no data is read, an empty string will be returned and all out paramete
rs will be cleared. |
64 // If applicable, the page URL will be assigned to the KURL parameter. | 64 // If applicable, the page URL will be assigned to the KURL parameter. |
65 // fragmentStart and fragmentEnd are indexes into the returned markup that i
ndicate | 65 // fragmentStart and fragmentEnd are indexes into the returned markup that i
ndicate |
66 // the start and end of the returned markup. If there is no additional conte
xt, | 66 // the start and end of the returned markup. If there is no additional conte
xt, |
67 // fragmentStart will be zero and fragmentEnd will be the same as the length
of the markup. | 67 // fragmentStart will be zero and fragmentEnd will be the same as the length
of the markup. |
68 String readHTML(KURL&, unsigned& fragmentStart, unsigned& fragmentEnd); | 68 String readHTML(KURL&, unsigned& fragmentStart, unsigned& fragmentEnd); |
69 | 69 |
70 bool isSelectionMode() const; | 70 bool isSelectionMode() const; |
71 void setSelectionMode(bool); | 71 void setSelectionMode(bool); |
72 | 72 |
73 WebKit::WebClipboard::Buffer buffer() const { return m_buffer; } | 73 blink::WebClipboard::Buffer buffer() const { return m_buffer; } |
74 | 74 |
75 private: | 75 private: |
76 Pasteboard(); | 76 Pasteboard(); |
77 | 77 |
78 WebKit::WebClipboard::Buffer m_buffer; | 78 blink::WebClipboard::Buffer m_buffer; |
79 }; | 79 }; |
80 | 80 |
81 } // namespace WebCore | 81 } // namespace WebCore |
82 | 82 |
83 #endif // Pasteboard_h | 83 #endif // Pasteboard_h |
OLD | NEW |