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

Side by Side Diff: sky/engine/core/html/ime/InputMethodContext.h

Issue 698213002: Remove lots of Text APIs. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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) 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 void ref() { m_element->ref(); } 56 void ref() { m_element->ref(); }
57 void deref() { m_element->deref(); } 57 void deref() { m_element->deref(); }
58 #endif 58 #endif
59 59
60 String locale() const; 60 String locale() const;
61 HTMLElement* target() const; 61 HTMLElement* target() const;
62 unsigned compositionStartOffset(); 62 unsigned compositionStartOffset();
63 unsigned compositionEndOffset(); 63 unsigned compositionEndOffset();
64 void confirmComposition(); 64 void confirmComposition();
65 65
66 String compositionText() const;
67 int selectionStart() const; 66 int selectionStart() const;
68 int selectionEnd() const; 67 int selectionEnd() const;
69 const Vector<unsigned>& segments(); 68 const Vector<unsigned>& segments();
70 69
71 virtual const AtomicString& interfaceName() const override; 70 virtual const AtomicString& interfaceName() const override;
72 virtual ExecutionContext* executionContext() const override; 71 virtual ExecutionContext* executionContext() const override;
73 72
74 void dispatchCandidateWindowShowEvent(); 73 void dispatchCandidateWindowShowEvent();
75 void dispatchCandidateWindowUpdateEvent(); 74 void dispatchCandidateWindowUpdateEvent();
76 void dispatchCandidateWindowHideEvent(); 75 void dispatchCandidateWindowHideEvent();
(...skipping 11 matching lines...) Expand all
88 virtual void derefEventTarget() override { deref(); } 87 virtual void derefEventTarget() override { deref(); }
89 #endif 88 #endif
90 89
91 RawPtr<HTMLElement> m_element; 90 RawPtr<HTMLElement> m_element;
92 Vector<unsigned> m_segments; 91 Vector<unsigned> m_segments;
93 }; 92 };
94 93
95 } // namespace blink 94 } // namespace blink
96 95
97 #endif // InputMethodContext_h 96 #endif // InputMethodContext_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698