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

Side by Side Diff: Source/core/html/shadow/TextControlInnerElements.h

Issue 340273003: Rename innerTextElement/Value used in <input> and <textarea> to innerEditor. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2008, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2008, 2010 Apple Inc. All rights reserved.
3 * Copyright (C) 2010 Google Inc. All rights reserved. 3 * Copyright (C) 2010 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 static PassRefPtrWillBeRawPtr<EditingViewPortElement> create(Document&); 46 static PassRefPtrWillBeRawPtr<EditingViewPortElement> create(Document&);
47 47
48 protected: 48 protected:
49 explicit EditingViewPortElement(Document&); 49 explicit EditingViewPortElement(Document&);
50 virtual PassRefPtr<RenderStyle> customStyleForRenderer() OVERRIDE; 50 virtual PassRefPtr<RenderStyle> customStyleForRenderer() OVERRIDE;
51 51
52 private: 52 private:
53 virtual bool supportsFocus() const OVERRIDE { return false; } 53 virtual bool supportsFocus() const OVERRIDE { return false; }
54 }; 54 };
55 55
56 class TextControlInnerTextElement FINAL : public HTMLDivElement { 56 class TextControlInnerEditorElement FINAL : public HTMLDivElement {
57 public: 57 public:
58 static PassRefPtrWillBeRawPtr<TextControlInnerTextElement> create(Document&) ; 58 static PassRefPtrWillBeRawPtr<TextControlInnerEditorElement> create(Document &);
59 59
60 virtual void defaultEventHandler(Event*) OVERRIDE; 60 virtual void defaultEventHandler(Event*) OVERRIDE;
61 61
62 private: 62 private:
63 explicit TextControlInnerTextElement(Document&); 63 explicit TextControlInnerEditorElement(Document&);
64 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; 64 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE;
65 virtual PassRefPtr<RenderStyle> customStyleForRenderer() OVERRIDE; 65 virtual PassRefPtr<RenderStyle> customStyleForRenderer() OVERRIDE;
66 virtual bool supportsFocus() const OVERRIDE { return false; } 66 virtual bool supportsFocus() const OVERRIDE { return false; }
67 }; 67 };
68 68
69 class SearchFieldDecorationElement FINAL : public HTMLDivElement { 69 class SearchFieldDecorationElement FINAL : public HTMLDivElement {
70 public: 70 public:
71 static PassRefPtrWillBeRawPtr<SearchFieldDecorationElement> create(Document& ); 71 static PassRefPtrWillBeRawPtr<SearchFieldDecorationElement> create(Document& );
72 72
73 virtual void defaultEventHandler(Event*) OVERRIDE; 73 virtual void defaultEventHandler(Event*) OVERRIDE;
(...skipping 16 matching lines...) Expand all
90 explicit SearchFieldCancelButtonElement(Document&); 90 explicit SearchFieldCancelButtonElement(Document&);
91 virtual void detach(const AttachContext& = AttachContext()) OVERRIDE; 91 virtual void detach(const AttachContext& = AttachContext()) OVERRIDE;
92 virtual bool supportsFocus() const OVERRIDE { return false; } 92 virtual bool supportsFocus() const OVERRIDE { return false; }
93 93
94 bool m_capturing; 94 bool m_capturing;
95 }; 95 };
96 96
97 } // namespace 97 } // namespace
98 98
99 #endif 99 #endif
OLDNEW
« no previous file with comments | « Source/core/html/forms/TextFieldInputType.cpp ('k') | Source/core/html/shadow/TextControlInnerElements.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698