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

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

Issue 401973003: Rename WebCore namespace to blink in Public (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « public/web/WebDocumentType.h ('k') | public/web/WebElementCollection.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 17 matching lines...) Expand all
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 #ifndef WebElement_h 31 #ifndef WebElement_h
32 #define WebElement_h 32 #define WebElement_h
33 33
34 #include "../platform/WebImage.h" 34 #include "../platform/WebImage.h"
35 #include "WebNode.h" 35 #include "WebNode.h"
36 36
37 #if BLINK_IMPLEMENTATION 37 #if BLINK_IMPLEMENTATION
38 namespace WebCore { class Element; } 38 namespace blink { class Element; }
39 #endif 39 #endif
40 40
41 namespace blink { 41 namespace blink {
42 struct WebRect; 42 struct WebRect;
43 43
44 // Provides access to some properties of a DOM element node. 44 // Provides access to some properties of a DOM element node.
45 class WebElement : public WebNode { 45 class WebElement : public WebNode {
46 public: 46 public:
47 WebElement() : WebNode() { } 47 WebElement() : WebNode() { }
48 WebElement(const WebElement& e) : WebNode(e) { } 48 WebElement(const WebElement& e) : WebNode(e) { }
(...skipping 29 matching lines...) Expand all
78 // have been adjusted to include any transformations. This view is 78 // have been adjusted to include any transformations. This view is
79 // also called the Root View in WebKit. 79 // also called the Root View in WebKit.
80 // This function will update the layout if required. 80 // This function will update the layout if required.
81 BLINK_EXPORT WebRect boundsInViewportSpace(); 81 BLINK_EXPORT WebRect boundsInViewportSpace();
82 82
83 // Returns the image contents of this element or a null WebImage 83 // Returns the image contents of this element or a null WebImage
84 // if there isn't any. 84 // if there isn't any.
85 BLINK_EXPORT WebImage imageContents(); 85 BLINK_EXPORT WebImage imageContents();
86 86
87 #if BLINK_IMPLEMENTATION 87 #if BLINK_IMPLEMENTATION
88 WebElement(const PassRefPtrWillBeRawPtr<WebCore::Element>&); 88 WebElement(const PassRefPtrWillBeRawPtr<blink::Element>&);
89 WebElement& operator=(const PassRefPtrWillBeRawPtr<WebCore::Element>&); 89 WebElement& operator=(const PassRefPtrWillBeRawPtr<blink::Element>&);
90 operator PassRefPtrWillBeRawPtr<WebCore::Element>() const; 90 operator PassRefPtrWillBeRawPtr<blink::Element>() const;
91 #endif 91 #endif
92 }; 92 };
93 93
94 } // namespace blink 94 } // namespace blink
95 95
96 #endif 96 #endif
OLDNEW
« no previous file with comments | « public/web/WebDocumentType.h ('k') | public/web/WebElementCollection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698