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

Side by Side Diff: third_party/WebKit/Source/web/WebElement.cpp

Issue 2805733003: Rewrite references to "wtf/" to "platform/wtf/" in web. (Closed)
Patch Set: Created 3 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 19 matching lines...) Expand all
30 30
31 #include "public/web/WebElement.h" 31 #include "public/web/WebElement.h"
32 32
33 #include "bindings/core/v8/ExceptionState.h" 33 #include "bindings/core/v8/ExceptionState.h"
34 #include "core/HTMLNames.h" 34 #include "core/HTMLNames.h"
35 #include "core/dom/Element.h" 35 #include "core/dom/Element.h"
36 #include "core/dom/custom/V0CustomElementProcessingStack.h" 36 #include "core/dom/custom/V0CustomElementProcessingStack.h"
37 #include "core/editing/EditingUtilities.h" 37 #include "core/editing/EditingUtilities.h"
38 #include "core/html/TextControlElement.h" 38 #include "core/html/TextControlElement.h"
39 #include "platform/graphics/Image.h" 39 #include "platform/graphics/Image.h"
40 #include "platform/wtf/PassRefPtr.h"
41 #include "platform/wtf/text/AtomicString.h"
42 #include "platform/wtf/text/WTFString.h"
40 #include "public/platform/WebRect.h" 43 #include "public/platform/WebRect.h"
41 #include "wtf/PassRefPtr.h"
42 #include "wtf/text/AtomicString.h"
43 #include "wtf/text/WTFString.h"
44 44
45 namespace blink { 45 namespace blink {
46 46
47 using namespace HTMLNames; 47 using namespace HTMLNames;
48 48
49 bool WebElement::isFormControlElement() const { 49 bool WebElement::isFormControlElement() const {
50 return constUnwrap<Element>()->isFormControlElement(); 50 return constUnwrap<Element>()->isFormControlElement();
51 } 51 }
52 52
53 // TODO(dglazkov): Remove. Consumers of this code should use 53 // TODO(dglazkov): Remove. Consumers of this code should use
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 WebElement& WebElement::operator=(Element* elem) { 148 WebElement& WebElement::operator=(Element* elem) {
149 m_private = elem; 149 m_private = elem;
150 return *this; 150 return *this;
151 } 151 }
152 152
153 WebElement::operator Element*() const { 153 WebElement::operator Element*() const {
154 return toElement(m_private.get()); 154 return toElement(m_private.get());
155 } 155 }
156 156
157 } // namespace blink 157 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebDocument.cpp ('k') | third_party/WebKit/Source/web/WebElementCollection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698