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

Side by Side Diff: Source/core/html/shadow/SliderThumbElement.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 (fixed test that was expected to fail and is now passing) 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) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2010 Google Inc. All rights reserved. 3 * Copyright (C) 2010 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 class SliderThumbElement FINAL : public HTMLDivElement { 49 class SliderThumbElement FINAL : public HTMLDivElement {
50 public: 50 public:
51 static PassRefPtr<SliderThumbElement> create(Document*); 51 static PassRefPtr<SliderThumbElement> create(Document*);
52 52
53 void setPositionFromValue(); 53 void setPositionFromValue();
54 54
55 void dragFrom(const LayoutPoint&); 55 void dragFrom(const LayoutPoint&);
56 virtual void defaultEventHandler(Event*); 56 virtual void defaultEventHandler(Event*);
57 virtual bool willRespondToMouseMoveEvents() OVERRIDE; 57 virtual bool willRespondToMouseMoveEvents() OVERRIDE;
58 virtual bool willRespondToMouseClickEvents() OVERRIDE; 58 virtual bool willRespondToMouseClickEvents() OVERRIDE;
59 virtual void detach(); 59 virtual void detach(const AttachContext& = AttachContext()) OVERRIDE;
60 virtual const AtomicString& shadowPseudoId() const; 60 virtual const AtomicString& shadowPseudoId() const;
61 HTMLInputElement* hostInput() const; 61 HTMLInputElement* hostInput() const;
62 void setPositionFromPoint(const LayoutPoint&); 62 void setPositionFromPoint(const LayoutPoint&);
63 63
64 private: 64 private:
65 SliderThumbElement(Document*); 65 SliderThumbElement(Document*);
66 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); 66 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*);
67 virtual PassRefPtr<Element> cloneElementWithoutAttributesAndChildren(); 67 virtual PassRefPtr<Element> cloneElementWithoutAttributesAndChildren();
68 virtual bool isDisabledFormControl() const OVERRIDE; 68 virtual bool isDisabledFormControl() const OVERRIDE;
69 virtual bool matchesReadOnlyPseudoClass() const OVERRIDE; 69 virtual bool matchesReadOnlyPseudoClass() const OVERRIDE;
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 121
122 private: 122 private:
123 SliderContainerElement(Document*); 123 SliderContainerElement(Document*);
124 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); 124 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*);
125 virtual const AtomicString& shadowPseudoId() const; 125 virtual const AtomicString& shadowPseudoId() const;
126 }; 126 };
127 127
128 } 128 }
129 129
130 #endif 130 #endif
OLDNEW
« no previous file with comments | « Source/core/html/shadow/PickerIndicatorElement.cpp ('k') | Source/core/html/shadow/SliderThumbElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698