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

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

Issue 2209773002: Remove the blocking touch handlers for the input[type=range] and add touch-action instead (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: '==' -> '>=' and '==' -> Created 4 years, 4 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) 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 14 matching lines...) Expand all
25 #ifndef HTMLInputElement_h 25 #ifndef HTMLInputElement_h
26 #define HTMLInputElement_h 26 #define HTMLInputElement_h
27 27
28 #include "core/CoreExport.h" 28 #include "core/CoreExport.h"
29 #include "core/html/HTMLTextFormControlElement.h" 29 #include "core/html/HTMLTextFormControlElement.h"
30 #include "core/html/forms/StepRange.h" 30 #include "core/html/forms/StepRange.h"
31 #include "platform/FileChooser.h" 31 #include "platform/FileChooser.h"
32 32
33 namespace blink { 33 namespace blink {
34 34
35 enum TouchHandlerType {
36 NoHandler,
37 Passive
38 };
35 class AXObject; 39 class AXObject;
36 class DragData; 40 class DragData;
37 class ExceptionState; 41 class ExceptionState;
38 class FileList; 42 class FileList;
39 class HTMLDataListElement; 43 class HTMLDataListElement;
40 class HTMLImageLoader; 44 class HTMLImageLoader;
41 class InputType; 45 class InputType;
42 class InputTypeView; 46 class InputTypeView;
43 class KURL; 47 class KURL;
44 class ListAttributeTargetObserver; 48 class ListAttributeTargetObserver;
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 // https://html.spec.whatwg.org/multipage/forms.html#concept-input-checked-d irty-flag 390 // https://html.spec.whatwg.org/multipage/forms.html#concept-input-checked-d irty-flag
387 unsigned m_dirtyCheckedness : 1; 391 unsigned m_dirtyCheckedness : 1;
388 unsigned m_isIndeterminate : 1; 392 unsigned m_isIndeterminate : 1;
389 unsigned m_isActivatedSubmit : 1; 393 unsigned m_isActivatedSubmit : 1;
390 unsigned m_autocomplete : 2; // AutoCompleteSetting 394 unsigned m_autocomplete : 2; // AutoCompleteSetting
391 unsigned m_hasNonEmptyList : 1; 395 unsigned m_hasNonEmptyList : 1;
392 unsigned m_stateRestored : 1; 396 unsigned m_stateRestored : 1;
393 unsigned m_parsingInProgress : 1; 397 unsigned m_parsingInProgress : 1;
394 unsigned m_valueAttributeWasUpdatedAfterParsing : 1; 398 unsigned m_valueAttributeWasUpdatedAfterParsing : 1;
395 unsigned m_canReceiveDroppedFiles : 1; 399 unsigned m_canReceiveDroppedFiles : 1;
396 unsigned m_hasTouchEventHandler : 1;
397 unsigned m_shouldRevealPassword : 1; 400 unsigned m_shouldRevealPassword : 1;
398 unsigned m_needsToUpdateViewValue : 1; 401 unsigned m_needsToUpdateViewValue : 1;
399 unsigned m_isPlaceholderVisible : 1; 402 unsigned m_isPlaceholderVisible : 1;
403 unsigned m_touchEventHandlerType : 1;
400 Member<InputType> m_inputType; 404 Member<InputType> m_inputType;
401 Member<InputTypeView> m_inputTypeView; 405 Member<InputTypeView> m_inputTypeView;
402 // The ImageLoader must be owned by this element because the loader code ass umes 406 // The ImageLoader must be owned by this element because the loader code ass umes
403 // that it lives as long as its owning element lives. If we move the loader into 407 // that it lives as long as its owning element lives. If we move the loader into
404 // the ImageInput object we may delete the loader while this element lives o n. 408 // the ImageInput object we may delete the loader while this element lives o n.
405 Member<HTMLImageLoader> m_imageLoader; 409 Member<HTMLImageLoader> m_imageLoader;
406 Member<ListAttributeTargetObserver> m_listAttributeTargetObserver; 410 Member<ListAttributeTargetObserver> m_listAttributeTargetObserver;
407 }; 411 };
408 412
409 } // namespace blink 413 } // namespace blink
410 414
411 #endif // HTMLInputElement_h 415 #endif // HTMLInputElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698