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

Side by Side Diff: sky/engine/public/web/WebRange.h

Issue 771933002: Remove dead markup serialization code. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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
« no previous file with comments | « sky/engine/public/web/WebNode.h ('k') | sky/engine/web/WebLocalFrameImpl.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 /* 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 BLINK_EXPORT void reset(); 58 BLINK_EXPORT void reset();
59 BLINK_EXPORT void assign(const WebRange&); 59 BLINK_EXPORT void assign(const WebRange&);
60 60
61 bool isNull() const { return m_private.isNull(); } 61 bool isNull() const { return m_private.isNull(); }
62 62
63 BLINK_EXPORT int startOffset() const; 63 BLINK_EXPORT int startOffset() const;
64 BLINK_EXPORT int endOffset() const; 64 BLINK_EXPORT int endOffset() const;
65 BLINK_EXPORT WebNode startContainer(int& exceptionCode) const; 65 BLINK_EXPORT WebNode startContainer(int& exceptionCode) const;
66 BLINK_EXPORT WebNode endContainer(int& exceptionCode) const; 66 BLINK_EXPORT WebNode endContainer(int& exceptionCode) const;
67 67
68 BLINK_EXPORT WebString toHTMLText() const;
69 BLINK_EXPORT WebString toPlainText() const; 68 BLINK_EXPORT WebString toPlainText() const;
70 69
71 BLINK_EXPORT WebRange expandedToParagraph() const; 70 BLINK_EXPORT WebRange expandedToParagraph() const;
72 71
73 BLINK_EXPORT static WebRange fromDocumentRange(WebLocalFrame*, int start, in t length); 72 BLINK_EXPORT static WebRange fromDocumentRange(WebLocalFrame*, int start, in t length);
74 73
75 #if BLINK_IMPLEMENTATION 74 #if BLINK_IMPLEMENTATION
76 WebRange(const PassRefPtr<Range>&); 75 WebRange(const PassRefPtr<Range>&);
77 operator PassRefPtr<Range>() const; 76 operator PassRefPtr<Range>() const;
78 #endif 77 #endif
79 78
80 private: 79 private:
81 WebPrivatePtr<Range> m_private; 80 WebPrivatePtr<Range> m_private;
82 }; 81 };
83 82
84 } // namespace blink 83 } // namespace blink
85 84
86 #endif // SKY_ENGINE_PUBLIC_WEB_WEBRANGE_H_ 85 #endif // SKY_ENGINE_PUBLIC_WEB_WEBRANGE_H_
OLDNEW
« no previous file with comments | « sky/engine/public/web/WebNode.h ('k') | sky/engine/web/WebLocalFrameImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698