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

Side by Side Diff: third_party/WebKit/public/web/WebViewClient.h

Issue 2828093003: updating Input field value by script should reset IME composition. (Closed)
Patch Set: Created 3 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
« no previous file with comments | « third_party/WebKit/Source/web/ChromeClientImpl.cpp ('k') | no next file » | 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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 160
161 // Take focus away from the WebView by focusing an adjacent UI element 161 // Take focus away from the WebView by focusing an adjacent UI element
162 // in the containing window. 162 // in the containing window.
163 virtual void FocusNext() {} 163 virtual void FocusNext() {}
164 virtual void FocusPrevious() {} 164 virtual void FocusPrevious() {}
165 165
166 // Called when a new node gets focused. |fromNode| is the previously focused 166 // Called when a new node gets focused. |fromNode| is the previously focused
167 // node, |toNode| is the newly focused node. Either can be null. 167 // node, |toNode| is the newly focused node. Either can be null.
168 virtual void FocusedNodeChanged(const WebNode& from_node, 168 virtual void FocusedNodeChanged(const WebNode& from_node,
169 const WebNode& to_node) {} 169 const WebNode& to_node) {}
170 virtual void DidCancelCompositionOnSelectionChange() {}
170 171
171 // Called to check if layout update should be processed. 172 // Called to check if layout update should be processed.
172 virtual bool CanUpdateLayout() { return false; } 173 virtual bool CanUpdateLayout() { return false; }
173 174
174 // Indicates two things: 175 // Indicates two things:
175 // 1) This view may have a new layout now. 176 // 1) This view may have a new layout now.
176 // 2) Calling layout() is a no-op. 177 // 2) Calling layout() is a no-op.
177 // After calling WebWidget::layout(), expect to get this notification 178 // After calling WebWidget::layout(), expect to get this notification
178 // unless the view did not need a layout. 179 // unless the view did not need a layout.
179 virtual void DidUpdateLayout() {} 180 virtual void DidUpdateLayout() {}
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 bool page_changed) override {} 267 bool page_changed) override {}
267 void Show(WebNavigationPolicy) override {} 268 void Show(WebNavigationPolicy) override {}
268 virtual WebWidgetClient* WidgetClient() { return this; } 269 virtual WebWidgetClient* WidgetClient() { return this; }
269 270
270 protected: 271 protected:
271 }; 272 };
272 273
273 } // namespace blink 274 } // namespace blink
274 275
275 #endif 276 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/ChromeClientImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698