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

Side by Side Diff: sky/engine/public/web/WebWidget.h

Issue 880663002: Remove InputMethodContext. (Closed) Base URL: git@github.com:domokit/mojo.git@master
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
« no previous file with comments | « sky/engine/core/html/ime/InputMethodContext.idl ('k') | sky/engine/web/ChromeClientImpl.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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 virtual bool confirmComposition(const WebString& text) = 0; 112 virtual bool confirmComposition(const WebString& text) = 0;
113 113
114 // Fetches the character range of the current composition, also called the 114 // Fetches the character range of the current composition, also called the
115 // "marked range." Returns true and fills the out-paramters on success; 115 // "marked range." Returns true and fills the out-paramters on success;
116 // returns false on failure. 116 // returns false on failure.
117 virtual bool compositionRange(size_t* location, size_t* length) = 0; 117 virtual bool compositionRange(size_t* location, size_t* length) = 0;
118 118
119 // Returns information about the current text input of this WebWidget. 119 // Returns information about the current text input of this WebWidget.
120 virtual WebTextInputInfo textInputInfo() = 0; 120 virtual WebTextInputInfo textInputInfo() = 0;
121 121
122 // Called to notify that IME candidate window has changed its visibility or
123 // its appearance. These calls correspond to trigger
124 // candidatewindow{show,update,hide} events defined in W3C IME API.
125 virtual void didShowCandidateWindow() = 0;
126 virtual void didUpdateCandidateWindow() = 0;
127 virtual void didHideCandidateWindow() = 0;
128
129 // The page background color. Can be used for filling in areas without 122 // The page background color. Can be used for filling in areas without
130 // content. 123 // content.
131 virtual WebColor backgroundColor() const = 0; 124 virtual WebColor backgroundColor() const = 0;
132 125
133 protected: 126 protected:
134 ~WebWidget() { } 127 ~WebWidget() { }
135 }; 128 };
136 129
137 } // namespace blink 130 } // namespace blink
138 131
139 #endif // SKY_ENGINE_PUBLIC_WEB_WEBWIDGET_H_ 132 #endif // SKY_ENGINE_PUBLIC_WEB_WEBWIDGET_H_
OLDNEW
« no previous file with comments | « sky/engine/core/html/ime/InputMethodContext.idl ('k') | sky/engine/web/ChromeClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698