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

Side by Side Diff: Source/core/html/forms/InputTypeView.h

Issue 1033943002: Rename LayoutStyle to papayawhip (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ensureComputedStyle Created 5 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/html/forms/InputType.cpp ('k') | Source/core/html/forms/InputTypeView.cpp » ('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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * Copyright (C) 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2011 Apple Inc. All rights reserved.
4 * Copyright (C) 2012 Samsung Electronics. All rights reserved. 4 * Copyright (C) 2012 Samsung Electronics. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are 7 * modification, are permitted provided that the following conditions are
8 * met: 8 * met:
9 * 9 *
10 * * Redistributions of source code must retain the above copyright 10 * * Redistributions of source code must retain the above copyright
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 45
46 class AXObject; 46 class AXObject;
47 class BeforeTextInsertedEvent; 47 class BeforeTextInsertedEvent;
48 class Element; 48 class Element;
49 class Event; 49 class Event;
50 class HTMLFormElement; 50 class HTMLFormElement;
51 class HTMLInputElement; 51 class HTMLInputElement;
52 class KeyboardEvent; 52 class KeyboardEvent;
53 class MouseEvent; 53 class MouseEvent;
54 class LayoutObject; 54 class LayoutObject;
55 class LayoutStyle; 55 class ComputedStyle;
56 class TouchEvent; 56 class TouchEvent;
57 57
58 struct ClickHandlingState final : public NoBaseWillBeGarbageCollected<ClickHandl ingState> { 58 struct ClickHandlingState final : public NoBaseWillBeGarbageCollected<ClickHandl ingState> {
59 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(ClickHandlingState); 59 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(ClickHandlingState);
60 60
61 public: 61 public:
62 DECLARE_TRACE(); 62 DECLARE_TRACE();
63 63
64 bool checked; 64 bool checked;
65 bool indeterminate; 65 bool indeterminate;
(...skipping 25 matching lines...) Expand all
91 virtual void forwardEvent(Event*); 91 virtual void forwardEvent(Event*);
92 virtual bool shouldSubmitImplicitly(Event*); 92 virtual bool shouldSubmitImplicitly(Event*);
93 virtual PassRefPtrWillBeRawPtr<HTMLFormElement> formForSubmission() const; 93 virtual PassRefPtrWillBeRawPtr<HTMLFormElement> formForSubmission() const;
94 virtual bool hasCustomFocusLogic() const; 94 virtual bool hasCustomFocusLogic() const;
95 virtual void handleFocusEvent(Element* oldFocusedElement, WebFocusType); 95 virtual void handleFocusEvent(Element* oldFocusedElement, WebFocusType);
96 virtual void handleFocusInEvent(Element* oldFocusedElement, WebFocusType); 96 virtual void handleFocusInEvent(Element* oldFocusedElement, WebFocusType);
97 virtual void handleBlurEvent(); 97 virtual void handleBlurEvent();
98 virtual void subtreeHasChanged(); 98 virtual void subtreeHasChanged();
99 virtual bool hasTouchEventHandler() const; 99 virtual bool hasTouchEventHandler() const;
100 virtual void blur(); 100 virtual void blur();
101 virtual LayoutObject* createLayoutObject(const LayoutStyle&) const; 101 virtual LayoutObject* createLayoutObject(const ComputedStyle&) const;
102 virtual PassRefPtr<LayoutStyle> customStyleForLayoutObject(PassRefPtr<Layout Style>); 102 virtual PassRefPtr<ComputedStyle> customStyleForLayoutObject(PassRefPtr<Comp utedStyle>);
103 virtual void startResourceLoading(); 103 virtual void startResourceLoading();
104 virtual void closePopupView(); 104 virtual void closePopupView();
105 virtual void createShadowSubtree(); 105 virtual void createShadowSubtree();
106 virtual void destroyShadowSubtree(); 106 virtual void destroyShadowSubtree();
107 virtual void minOrMaxAttributeChanged(); 107 virtual void minOrMaxAttributeChanged();
108 virtual void stepAttributeChanged(); 108 virtual void stepAttributeChanged();
109 virtual void altAttributeChanged(); 109 virtual void altAttributeChanged();
110 virtual void srcAttributeChanged(); 110 virtual void srcAttributeChanged();
111 virtual void updateView(); 111 virtual void updateView();
112 virtual void attributeChanged(); 112 virtual void attributeChanged();
(...skipping 15 matching lines...) Expand all
128 HTMLInputElement& element() const { return *m_element; } 128 HTMLInputElement& element() const { return *m_element; }
129 129
130 private: 130 private:
131 // Not a RefPtr because the HTMLInputElement object owns this InputTypeView 131 // Not a RefPtr because the HTMLInputElement object owns this InputTypeView
132 // object. 132 // object.
133 RawPtrWillBeMember<HTMLInputElement> m_element; 133 RawPtrWillBeMember<HTMLInputElement> m_element;
134 }; 134 };
135 135
136 } // namespace blink 136 } // namespace blink
137 #endif 137 #endif
OLDNEW
« no previous file with comments | « Source/core/html/forms/InputType.cpp ('k') | Source/core/html/forms/InputTypeView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698