OLD | NEW |
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 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
217 WebBrowserControlsState current, | 217 WebBrowserControlsState current, |
218 bool animate) {} | 218 bool animate) {} |
219 | 219 |
220 // Populate |bounds| with the composition character bounds for the ongoing | 220 // Populate |bounds| with the composition character bounds for the ongoing |
221 // composition. Returns false if there is no focused input or any ongoing | 221 // composition. Returns false if there is no focused input or any ongoing |
222 // composition. | 222 // composition. |
223 virtual bool GetCompositionCharacterBounds(WebVector<WebRect>& bounds) { | 223 virtual bool GetCompositionCharacterBounds(WebVector<WebRect>& bounds) { |
224 return false; | 224 return false; |
225 } | 225 } |
226 | 226 |
| 227 // Called by client to request showing the context menu. |
| 228 virtual void ShowContextMenu() {} |
| 229 |
227 protected: | 230 protected: |
228 ~WebWidget() {} | 231 ~WebWidget() {} |
229 }; | 232 }; |
230 | 233 |
231 } // namespace blink | 234 } // namespace blink |
232 | 235 |
233 #endif | 236 #endif |
OLD | NEW |