Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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 * * Neither the name of Google Inc. nor the names of its | 10 * * Neither the name of Google Inc. nor the names of its |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 72 return *window_event_context_; | 72 return *window_event_context_; |
| 73 } | 73 } |
| 74 void EnsureWindowEventContext(); | 74 void EnsureWindowEventContext(); |
| 75 | 75 |
| 76 bool IsEmpty() const { return node_event_contexts_.IsEmpty(); } | 76 bool IsEmpty() const { return node_event_contexts_.IsEmpty(); } |
| 77 size_t size() const { return node_event_contexts_.size(); } | 77 size_t size() const { return node_event_contexts_.size(); } |
| 78 | 78 |
| 79 void AdjustForRelatedTarget(Node&, EventTarget* related_target); | 79 void AdjustForRelatedTarget(Node&, EventTarget* related_target); |
| 80 void AdjustForTouchEvent(TouchEvent&); | 80 void AdjustForTouchEvent(TouchEvent&); |
| 81 | 81 |
| 82 bool DisabledFormControlExistsInPath(); | |
|
jbroman
2017/04/24 18:19:49
nit: const?
dtapuska
2017/04/24 19:14:39
Done.
| |
| 83 | |
| 82 NodeEventContext& TopNodeEventContext(); | 84 NodeEventContext& TopNodeEventContext(); |
| 83 | 85 |
| 84 static EventTarget* EventTargetRespectingTargetRules(Node&); | 86 static EventTarget* EventTargetRespectingTargetRules(Node&); |
| 85 | 87 |
| 86 DECLARE_TRACE(); | 88 DECLARE_TRACE(); |
| 87 void Clear() { | 89 void Clear() { |
| 88 node_event_contexts_.clear(); | 90 node_event_contexts_.clear(); |
| 89 tree_scope_event_contexts_.clear(); | 91 tree_scope_event_contexts_.clear(); |
| 90 } | 92 } |
| 91 | 93 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 132 HeapVector<NodeEventContext> node_event_contexts_; | 134 HeapVector<NodeEventContext> node_event_contexts_; |
| 133 Member<Node> node_; | 135 Member<Node> node_; |
| 134 Member<Event> event_; | 136 Member<Event> event_; |
| 135 HeapVector<Member<TreeScopeEventContext>> tree_scope_event_contexts_; | 137 HeapVector<Member<TreeScopeEventContext>> tree_scope_event_contexts_; |
| 136 Member<WindowEventContext> window_event_context_; | 138 Member<WindowEventContext> window_event_context_; |
| 137 }; | 139 }; |
| 138 | 140 |
| 139 } // namespace blink | 141 } // namespace blink |
| 140 | 142 |
| 141 #endif | 143 #endif |
| OLD | NEW |