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

Side by Side Diff: Source/core/html/HTMLInputElement.h

Issue 899163003: Move rendering/RenderObject to layout/LayoutObject. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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 | « Source/core/html/HTMLImageElement.cpp ('k') | Source/core/html/HTMLInputElement.cpp » ('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) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2004, 2005, 2006, 2007, 2010 Apple Inc. All rights reserved. 5 * Copyright (C) 2004, 2005, 2006, 2007, 2010 Apple Inc. All rights reserved.
6 * Copyright (C) 2012 Samsung Electronics. All rights reserved. 6 * Copyright (C) 2012 Samsung Electronics. All rights reserved.
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 int selectionStartForBinding(ExceptionState&) const; 139 int selectionStartForBinding(ExceptionState&) const;
140 int selectionEndForBinding(ExceptionState&) const; 140 int selectionEndForBinding(ExceptionState&) const;
141 String selectionDirectionForBinding(ExceptionState&) const; 141 String selectionDirectionForBinding(ExceptionState&) const;
142 void setSelectionStartForBinding(int, ExceptionState&); 142 void setSelectionStartForBinding(int, ExceptionState&);
143 void setSelectionEndForBinding(int, ExceptionState&); 143 void setSelectionEndForBinding(int, ExceptionState&);
144 void setSelectionDirectionForBinding(const String&, ExceptionState&); 144 void setSelectionDirectionForBinding(const String&, ExceptionState&);
145 void setSelectionRangeForBinding(int start, int end, ExceptionState&); 145 void setSelectionRangeForBinding(int start, int end, ExceptionState&);
146 void setSelectionRangeForBinding(int start, int end, const String& direction , ExceptionState&); 146 void setSelectionRangeForBinding(int start, int end, const String& direction , ExceptionState&);
147 147
148 virtual bool rendererIsNeeded(const RenderStyle&) override final; 148 virtual bool rendererIsNeeded(const RenderStyle&) override final;
149 virtual RenderObject* createRenderer(const RenderStyle&) override; 149 virtual LayoutObject* createRenderer(const RenderStyle&) override;
150 virtual void detach(const AttachContext& = AttachContext()) override final; 150 virtual void detach(const AttachContext& = AttachContext()) override final;
151 virtual void updateFocusAppearance(bool restorePreviousSelection) override f inal; 151 virtual void updateFocusAppearance(bool restorePreviousSelection) override f inal;
152 152
153 // FIXME: For isActivatedSubmit and setActivatedSubmit, we should use the NV I-idiom here by making 153 // FIXME: For isActivatedSubmit and setActivatedSubmit, we should use the NV I-idiom here by making
154 // it private virtual in all classes and expose a public method in HTMLFormC ontrolElement to call 154 // it private virtual in all classes and expose a public method in HTMLFormC ontrolElement to call
155 // the private virtual method. 155 // the private virtual method.
156 virtual bool isActivatedSubmit() const override final; 156 virtual bool isActivatedSubmit() const override final;
157 virtual void setActivatedSubmit(bool flag) override final; 157 virtual void setActivatedSubmit(bool flag) override final;
158 158
159 virtual String altText() const override final; 159 virtual String altText() const override final;
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
385 // The ImageLoader must be owned by this element because the loader code ass umes 385 // The ImageLoader must be owned by this element because the loader code ass umes
386 // that it lives as long as its owning element lives. If we move the loader into 386 // that it lives as long as its owning element lives. If we move the loader into
387 // the ImageInput object we may delete the loader while this element lives o n. 387 // the ImageInput object we may delete the loader while this element lives o n.
388 OwnPtrWillBeMember<HTMLImageLoader> m_imageLoader; 388 OwnPtrWillBeMember<HTMLImageLoader> m_imageLoader;
389 OwnPtrWillBeMember<ListAttributeTargetObserver> m_listAttributeTargetObserve r; 389 OwnPtrWillBeMember<ListAttributeTargetObserver> m_listAttributeTargetObserve r;
390 }; 390 };
391 391
392 } // namespace blink 392 } // namespace blink
393 393
394 #endif // HTMLInputElement_h 394 #endif // HTMLInputElement_h
OLDNEW
« no previous file with comments | « Source/core/html/HTMLImageElement.cpp ('k') | Source/core/html/HTMLInputElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698