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

Side by Side Diff: third_party/WebKit/Source/web/WebFormControlElement.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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 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 20 matching lines...) Expand all
31 #include "public/web/WebFormControlElement.h" 31 #include "public/web/WebFormControlElement.h"
32 32
33 #include "core/dom/NodeComputedStyle.h" 33 #include "core/dom/NodeComputedStyle.h"
34 #include "core/events/Event.h" 34 #include "core/events/Event.h"
35 #include "core/html/HTMLFormControlElement.h" 35 #include "core/html/HTMLFormControlElement.h"
36 #include "core/html/HTMLFormElement.h" 36 #include "core/html/HTMLFormElement.h"
37 #include "core/html/HTMLInputElement.h" 37 #include "core/html/HTMLInputElement.h"
38 #include "core/html/HTMLSelectElement.h" 38 #include "core/html/HTMLSelectElement.h"
39 #include "core/html/HTMLTextAreaElement.h" 39 #include "core/html/HTMLTextAreaElement.h"
40 40
41 #include "wtf/PassRefPtr.h" 41 #include "platform/wtf/PassRefPtr.h"
42 42
43 namespace blink { 43 namespace blink {
44 44
45 bool WebFormControlElement::isEnabled() const { 45 bool WebFormControlElement::isEnabled() const {
46 return !constUnwrap<HTMLFormControlElement>()->isDisabledFormControl(); 46 return !constUnwrap<HTMLFormControlElement>()->isDisabledFormControl();
47 } 47 }
48 48
49 bool WebFormControlElement::isReadOnly() const { 49 bool WebFormControlElement::isReadOnly() const {
50 return constUnwrap<HTMLFormControlElement>()->isReadOnly(); 50 return constUnwrap<HTMLFormControlElement>()->isReadOnly();
51 } 51 }
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 HTMLFormControlElement* elem) { 211 HTMLFormControlElement* elem) {
212 m_private = elem; 212 m_private = elem;
213 return *this; 213 return *this;
214 } 214 }
215 215
216 WebFormControlElement::operator HTMLFormControlElement*() const { 216 WebFormControlElement::operator HTMLFormControlElement*() const {
217 return toHTMLFormControlElement(m_private.get()); 217 return toHTMLFormControlElement(m_private.get());
218 } 218 }
219 219
220 } // namespace blink 220 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebFileChooserCompletionImpl.cpp ('k') | third_party/WebKit/Source/web/WebFormElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698