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

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

Issue 776693002: Clean forward declaration in public (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix fakewebplugin 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 | « public/web/WebPlugin.h ('k') | public/web/WebRemoteFrame.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 21 matching lines...) Expand all
32 #define WebRange_h 32 #define WebRange_h
33 33
34 #include "WebFrame.h" 34 #include "WebFrame.h"
35 #include "public/platform/WebCommon.h" 35 #include "public/platform/WebCommon.h"
36 #include "public/platform/WebPrivatePtr.h" 36 #include "public/platform/WebPrivatePtr.h"
37 #include "public/platform/WebVector.h" 37 #include "public/platform/WebVector.h"
38 38
39 namespace blink { 39 namespace blink {
40 40
41 class Range; 41 class Range;
42 class WebNode;
43 class WebString; 42 class WebString;
44 43
45 // Provides readonly access to some properties of a DOM range. 44 // Provides readonly access to some properties of a DOM range.
46 class WebRange { 45 class WebRange {
47 public: 46 public:
48 ~WebRange() { reset(); } 47 ~WebRange() { reset(); }
49 48
50 WebRange() { } 49 WebRange() { }
51 WebRange(const WebRange& r) { assign(r); } 50 WebRange(const WebRange& r) { assign(r); }
52 WebRange& operator=(const WebRange& r) 51 WebRange& operator=(const WebRange& r)
(...skipping 18 matching lines...) Expand all
71 operator PassRefPtrWillBeRawPtr<Range>() const; 70 operator PassRefPtrWillBeRawPtr<Range>() const;
72 #endif 71 #endif
73 72
74 private: 73 private:
75 WebPrivatePtr<Range> m_private; 74 WebPrivatePtr<Range> m_private;
76 }; 75 };
77 76
78 } // namespace blink 77 } // namespace blink
79 78
80 #endif 79 #endif
OLDNEW
« no previous file with comments | « public/web/WebPlugin.h ('k') | public/web/WebRemoteFrame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698