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

Side by Side Diff: third_party/WebKit/public/web/WebElementCollection.h

Issue 1865813002: Remove RawPtr from Source/web/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 8 months 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * Copyright (C) 2014 Samsung Electronics. All rights reserved. 3 * Copyright (C) 2014 Samsung Electronics. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 bool isNull() const { return m_private.isNull(); } 61 bool isNull() const { return m_private.isNull(); }
62 62
63 BLINK_EXPORT void reset(); 63 BLINK_EXPORT void reset();
64 BLINK_EXPORT void assign(const WebElementCollection&); 64 BLINK_EXPORT void assign(const WebElementCollection&);
65 65
66 BLINK_EXPORT unsigned length() const; 66 BLINK_EXPORT unsigned length() const;
67 BLINK_EXPORT WebElement nextItem() const; 67 BLINK_EXPORT WebElement nextItem() const;
68 BLINK_EXPORT WebElement firstItem() const; 68 BLINK_EXPORT WebElement firstItem() const;
69 69
70 #if BLINK_IMPLEMENTATION 70 #if BLINK_IMPLEMENTATION
71 WebElementCollection(const RawPtr<HTMLCollection>&); 71 WebElementCollection(HTMLCollection*);
72 WebElementCollection& operator=(const RawPtr<HTMLCollection>&); 72 WebElementCollection& operator=(HTMLCollection*);
73 #endif 73 #endif
74 74
75 private: 75 private:
76 WebPrivatePtr<HTMLCollection> m_private; 76 WebPrivatePtr<HTMLCollection> m_private;
77 mutable unsigned m_current; 77 mutable unsigned m_current;
78 }; 78 };
79 79
80 } // namespace blink 80 } // namespace blink
81 81
82 #endif 82 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/web/WebElement.h ('k') | third_party/WebKit/public/web/WebFormControlElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698