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

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

Issue 611593003: Clean up forward declarations in Source/core/html (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « Source/core/html/HTMLTextAreaElement.h ('k') | Source/core/html/canvas/CanvasPathMethods.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) 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, 2008, 2009, 2010 Apple Inc. All rights reserved. 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved.
6 * Copyright (C) 2009, 2010, 2011 Google Inc. All rights reserved. 6 * Copyright (C) 2009, 2010, 2011 Google Inc. 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 14 matching lines...) Expand all
25 #ifndef HTMLTextFormControlElement_h 25 #ifndef HTMLTextFormControlElement_h
26 #define HTMLTextFormControlElement_h 26 #define HTMLTextFormControlElement_h
27 27
28 #include "core/html/HTMLFormControlElementWithState.h" 28 #include "core/html/HTMLFormControlElementWithState.h"
29 29
30 namespace blink { 30 namespace blink {
31 31
32 class ExceptionState; 32 class ExceptionState;
33 class Position; 33 class Position;
34 class Range; 34 class Range;
35 class RenderTextControl;
36 class VisiblePosition; 35 class VisiblePosition;
37 36
38 enum TextFieldSelectionDirection { SelectionHasNoDirection, SelectionHasForwardD irection, SelectionHasBackwardDirection }; 37 enum TextFieldSelectionDirection { SelectionHasNoDirection, SelectionHasForwardD irection, SelectionHasBackwardDirection };
39 enum TextFieldEventBehavior { DispatchNoEvent, DispatchChangeEvent, DispatchInpu tAndChangeEvent }; 38 enum TextFieldEventBehavior { DispatchNoEvent, DispatchChangeEvent, DispatchInpu tAndChangeEvent };
40 39
41 class HTMLTextFormControlElement : public HTMLFormControlElementWithState { 40 class HTMLTextFormControlElement : public HTMLFormControlElementWithState {
42 public: 41 public:
43 // Common flag for HTMLInputElement::tooLong() and HTMLTextAreaElement::tooL ong(). 42 // Common flag for HTMLInputElement::tooLong() and HTMLTextAreaElement::tooL ong().
44 enum NeedsToCheckDirtyFlag {CheckDirtyFlag, IgnoreDirtyFlag}; 43 enum NeedsToCheckDirtyFlag {CheckDirtyFlag, IgnoreDirtyFlag};
45 // Option of setSelectionRange. 44 // Option of setSelectionRange.
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 } 156 }
158 157
159 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLTextFormControlElement); 158 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLTextFormControlElement);
160 159
161 HTMLTextFormControlElement* enclosingTextFormControl(const Position&); 160 HTMLTextFormControlElement* enclosingTextFormControl(const Position&);
162 HTMLTextFormControlElement* enclosingTextFormControl(Node*); 161 HTMLTextFormControlElement* enclosingTextFormControl(Node*);
163 162
164 } // namespace 163 } // namespace
165 164
166 #endif 165 #endif
OLDNEW
« no previous file with comments | « Source/core/html/HTMLTextAreaElement.h ('k') | Source/core/html/canvas/CanvasPathMethods.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698