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/WebWidget.h

Issue 2894043002: Add machinery to show touch editing context menus in OOPIFs. (Closed)
Patch Set: Remove WVI call to WFWI. Created 3 years, 6 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
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 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698