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

Side by Side Diff: third_party/WebKit/public/web/WebElement.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 * 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 // Returns the bounds of the element in Visual Viewport. The bounds 73 // Returns the bounds of the element in Visual Viewport. The bounds
74 // have been adjusted to include any transformations, including page scale. 74 // have been adjusted to include any transformations, including page scale.
75 // This function will update the layout if required. 75 // This function will update the layout if required.
76 BLINK_EXPORT WebRect boundsInViewport() const; 76 BLINK_EXPORT WebRect boundsInViewport() const;
77 77
78 // Returns the image contents of this element or a null WebImage 78 // Returns the image contents of this element or a null WebImage
79 // if there isn't any. 79 // if there isn't any.
80 BLINK_EXPORT WebImage imageContents(); 80 BLINK_EXPORT WebImage imageContents();
81 81
82 #if BLINK_IMPLEMENTATION 82 #if BLINK_IMPLEMENTATION
83 BLINK_EXPORT WebElement(const RawPtr<Element>&); 83 BLINK_EXPORT WebElement(Element*);
84 BLINK_EXPORT WebElement& operator=(const RawPtr<Element>&); 84 BLINK_EXPORT WebElement& operator=(Element*);
85 BLINK_EXPORT operator RawPtr<Element>() const; 85 BLINK_EXPORT operator Element*() const;
86 #endif 86 #endif
87 }; 87 };
88 88
89 DECLARE_WEB_NODE_TYPE_CASTS(WebElement); 89 DECLARE_WEB_NODE_TYPE_CASTS(WebElement);
90 90
91 } // namespace blink 91 } // namespace blink
92 92
93 #endif 93 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/web/WebDocument.h ('k') | third_party/WebKit/public/web/WebElementCollection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698