| Index: webkit/api/public/WebRange.h
|
| ===================================================================
|
| --- webkit/api/public/WebRange.h (revision 22886)
|
| +++ webkit/api/public/WebRange.h (working copy)
|
| @@ -1,10 +1,10 @@
|
| /*
|
| * Copyright (C) 2009 Google Inc. All rights reserved.
|
| - *
|
| + *
|
| * Redistribution and use in source and binary forms, with or without
|
| * modification, are permitted provided that the following conditions are
|
| * met:
|
| - *
|
| + *
|
| * * Redistributions of source code must retain the above copyright
|
| * notice, this list of conditions and the following disclaimer.
|
| * * Redistributions in binary form must reproduce the above
|
| @@ -14,7 +14,7 @@
|
| * * Neither the name of Google Inc. nor the names of its
|
| * contributors may be used to endorse or promote products derived from
|
| * this software without specific prior written permission.
|
| - *
|
| + *
|
| * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
| * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
| * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
| @@ -33,6 +33,11 @@
|
|
|
| #include "WebCommon.h"
|
|
|
| +#if WEBKIT_IMPLEMENTATION
|
| +namespace WebCore { class Range; }
|
| +namespace WTF { template <typename T> class PassRefPtr; }
|
| +#endif
|
| +
|
| namespace WebKit {
|
| class WebNode;
|
| class WebRangePrivate;
|
| @@ -56,7 +61,14 @@
|
| WEBKIT_API WebNode startContainer(int& exceptionCode) const;
|
| WEBKIT_API WebNode endContainer(int& exceptionCode) const;
|
|
|
| +#if WEBKIT_IMPLEMENTATION
|
| + WebRange(const WTF::PassRefPtr<WebCore::Range>&);
|
| + WebRange& operator=(const WTF::PassRefPtr<WebCore::Range>&);
|
| + operator WTF::PassRefPtr<WebCore::Range>() const;
|
| +#endif
|
| +
|
| private:
|
| + void assign(WebRangePrivate*);
|
| WebRangePrivate* m_private;
|
| };
|
|
|
|
|