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

Side by Side Diff: third_party/WebKit/public/web/WebMetaElement.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 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WebMetaElement_h 5 #ifndef WebMetaElement_h
6 #define WebMetaElement_h 6 #define WebMetaElement_h
7 7
8 #include "WebElement.h" 8 #include "WebElement.h"
9 9
10 namespace blink { 10 namespace blink {
11 11
12 class HTMLMetaElement; 12 class HTMLMetaElement;
13 13
14 class WebMetaElement final : public WebElement { 14 class WebMetaElement final : public WebElement {
15 public: 15 public:
16 WebMetaElement() : WebElement() { } 16 WebMetaElement() : WebElement() { }
17 WebMetaElement(const WebMetaElement& element) : WebElement(element) { } 17 WebMetaElement(const WebMetaElement& element) : WebElement(element) { }
18 18
19 WebMetaElement& operator=(const WebMetaElement& element) 19 WebMetaElement& operator=(const WebMetaElement& element)
20 { 20 {
21 WebElement::assign(element); 21 WebElement::assign(element);
22 return *this; 22 return *this;
23 } 23 }
24 void assign(const WebMetaElement& element) { WebElement::assign(element); } 24 void assign(const WebMetaElement& element) { WebElement::assign(element); }
25 25
26 BLINK_EXPORT WebString computeEncoding() const; 26 BLINK_EXPORT WebString computeEncoding() const;
27 27
28 #if BLINK_IMPLEMENTATION 28 #if BLINK_IMPLEMENTATION
29 WebMetaElement(const RawPtr<HTMLMetaElement>&); 29 WebMetaElement(HTMLMetaElement*);
30 WebMetaElement& operator=(const RawPtr<HTMLMetaElement>&); 30 WebMetaElement& operator=(HTMLMetaElement*);
31 operator RawPtr<HTMLMetaElement>() const; 31 operator HTMLMetaElement*() const;
32 #endif 32 #endif
33 }; 33 };
34 34
35 DECLARE_WEB_NODE_TYPE_CASTS(WebMetaElement); 35 DECLARE_WEB_NODE_TYPE_CASTS(WebMetaElement);
36 36
37 } // namespace blink 37 } // namespace blink
38 38
39 #endif 39 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/web/WebLabelElement.h ('k') | third_party/WebKit/public/web/WebNode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698