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

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

Issue 16599003: :hover style not applied on hover if its display property is different from original style's (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch Created 7 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
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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 int selectionEndForBinding(ExceptionCode&) const; 182 int selectionEndForBinding(ExceptionCode&) const;
183 String selectionDirectionForBinding(ExceptionCode&) const; 183 String selectionDirectionForBinding(ExceptionCode&) const;
184 void setSelectionStartForBinding(int, ExceptionCode&); 184 void setSelectionStartForBinding(int, ExceptionCode&);
185 void setSelectionEndForBinding(int, ExceptionCode&); 185 void setSelectionEndForBinding(int, ExceptionCode&);
186 void setSelectionDirectionForBinding(const String&, ExceptionCode&); 186 void setSelectionDirectionForBinding(const String&, ExceptionCode&);
187 void setSelectionRangeForBinding(int start, int end, ExceptionCode&); 187 void setSelectionRangeForBinding(int start, int end, ExceptionCode&);
188 void setSelectionRangeForBinding(int start, int end, const String& direction , ExceptionCode&); 188 void setSelectionRangeForBinding(int start, int end, const String& direction , ExceptionCode&);
189 189
190 virtual bool rendererIsNeeded(const NodeRenderingContext&); 190 virtual bool rendererIsNeeded(const NodeRenderingContext&);
191 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); 191 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*);
192 virtual void detach(); 192 virtual void detach(const AttachContext& = AttachContext()) OVERRIDE;
193 193
194 // FIXME: For isActivatedSubmit and setActivatedSubmit, we should use the NV I-idiom here by making 194 // FIXME: For isActivatedSubmit and setActivatedSubmit, we should use the NV I-idiom here by making
195 // it private virtual in all classes and expose a public method in HTMLFormC ontrolElement to call 195 // it private virtual in all classes and expose a public method in HTMLFormC ontrolElement to call
196 // the private virtual method. 196 // the private virtual method.
197 virtual bool isActivatedSubmit() const; 197 virtual bool isActivatedSubmit() const;
198 virtual void setActivatedSubmit(bool flag); 198 virtual void setActivatedSubmit(bool flag);
199 199
200 String altText() const; 200 String altText() const;
201 201
202 int maxResults() const { return m_maxResults; } 202 int maxResults() const { return m_maxResults; }
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 337
338 virtual void accessKeyAction(bool sendMouseEvents); 338 virtual void accessKeyAction(bool sendMouseEvents);
339 339
340 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; 340 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE;
341 virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE; 341 virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE;
342 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons t AtomicString&, MutableStylePropertySet*) OVERRIDE; 342 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons t AtomicString&, MutableStylePropertySet*) OVERRIDE;
343 virtual void finishParsingChildren(); 343 virtual void finishParsingChildren();
344 344
345 virtual void copyNonAttributePropertiesFromElement(const Element&); 345 virtual void copyNonAttributePropertiesFromElement(const Element&);
346 346
347 virtual void attach(); 347 virtual void attach(const AttachContext& = AttachContext()) OVERRIDE;
348 348
349 virtual bool appendFormData(FormDataList&, bool); 349 virtual bool appendFormData(FormDataList&, bool);
350 350
351 virtual bool isSuccessfulSubmitButton() const; 351 virtual bool isSuccessfulSubmitButton() const;
352 352
353 virtual void reset(); 353 virtual void reset();
354 354
355 virtual void* preDispatchEventHandler(Event*); 355 virtual void* preDispatchEventHandler(Event*);
356 virtual void postDispatchEventHandler(Event*, void* dataFromPreDispatch); 356 virtual void postDispatchEventHandler(Event*, void* dataFromPreDispatch);
357 357
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
434 ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(HTMLNames::inputT ag)); 434 ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(HTMLNames::inputT ag));
435 return static_cast<const HTMLInputElement*>(node); 435 return static_cast<const HTMLInputElement*>(node);
436 } 436 }
437 437
438 // This will catch anyone doing an unnecessary cast. 438 // This will catch anyone doing an unnecessary cast.
439 void toHTMLElement(const HTMLElement*); 439 void toHTMLElement(const HTMLElement*);
440 440
441 441
442 } //namespace 442 } //namespace
443 #endif 443 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698