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

Side by Side Diff: Source/core/html/ime/InputMethodContext.h

Issue 932403002: InlinedVisitor: Migrate html to use inlined tracing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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
OLDNEW
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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 virtual ExecutionContext* executionContext() const override; 70 virtual ExecutionContext* executionContext() const override;
71 71
72 DEFINE_ATTRIBUTE_EVENT_LISTENER(candidatewindowshow); 72 DEFINE_ATTRIBUTE_EVENT_LISTENER(candidatewindowshow);
73 DEFINE_ATTRIBUTE_EVENT_LISTENER(candidatewindowupdate); 73 DEFINE_ATTRIBUTE_EVENT_LISTENER(candidatewindowupdate);
74 DEFINE_ATTRIBUTE_EVENT_LISTENER(candidatewindowhide); 74 DEFINE_ATTRIBUTE_EVENT_LISTENER(candidatewindowhide);
75 75
76 void dispatchCandidateWindowShowEvent(); 76 void dispatchCandidateWindowShowEvent();
77 void dispatchCandidateWindowUpdateEvent(); 77 void dispatchCandidateWindowUpdateEvent();
78 void dispatchCandidateWindowHideEvent(); 78 void dispatchCandidateWindowHideEvent();
79 79
80 virtual void trace(Visitor*) override; 80 DECLARE_VIRTUAL_TRACE();
81 81
82 private: 82 private:
83 InputMethodContext(HTMLElement*); 83 InputMethodContext(HTMLElement*);
84 bool hasFocus() const; 84 bool hasFocus() const;
85 CompositionUnderline selectedSegment() const; 85 CompositionUnderline selectedSegment() const;
86 InputMethodController& inputMethodController() const; 86 InputMethodController& inputMethodController() const;
87 87
88 #if !ENABLE(OILPAN) 88 #if !ENABLE(OILPAN)
89 virtual void refEventTarget() override { ref(); } 89 virtual void refEventTarget() override { ref(); }
90 virtual void derefEventTarget() override { deref(); } 90 virtual void derefEventTarget() override { deref(); }
91 #endif 91 #endif
92 92
93 RawPtrWillBeMember<HTMLElement> m_element; 93 RawPtrWillBeMember<HTMLElement> m_element;
94 Vector<unsigned> m_segments; 94 Vector<unsigned> m_segments;
95 }; 95 };
96 96
97 } // namespace blink 97 } // namespace blink
98 98
99 #endif // InputMethodContext_h 99 #endif // InputMethodContext_h
OLDNEW
« no previous file with comments | « Source/core/html/forms/TextFieldInputType.h ('k') | Source/core/html/ime/InputMethodContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698