OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009, 2010, 2011, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2009, 2010, 2011, 2012 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 391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
402 // Context menu -------------------------------------------------------- | 402 // Context menu -------------------------------------------------------- |
403 | 403 |
404 virtual void performCustomContextMenuAction(unsigned action) = 0; | 404 virtual void performCustomContextMenuAction(unsigned action) = 0; |
405 | 405 |
406 // Shows a context menu for the currently focused element. | 406 // Shows a context menu for the currently focused element. |
407 virtual void showContextMenu() = 0; | 407 virtual void showContextMenu() = 0; |
408 | 408 |
409 | 409 |
410 // SmartClip support --------------------------------------------------- | 410 // SmartClip support --------------------------------------------------- |
411 | 411 |
| 412 // FIXME: This should be removed when the chromium side patch lands |
| 413 // http://codereview.chromium.org/260623004 |
412 virtual WebString getSmartClipData(WebRect) = 0; | 414 virtual WebString getSmartClipData(WebRect) = 0; |
413 | 415 |
| 416 virtual void getSmartClipData(WebRect, WebString&, WebRect&) = 0; |
| 417 |
414 | 418 |
415 // Popup menu ---------------------------------------------------------- | 419 // Popup menu ---------------------------------------------------------- |
416 | 420 |
417 // Sets whether select popup menus should be rendered by the browser. | 421 // Sets whether select popup menus should be rendered by the browser. |
418 BLINK_EXPORT static void setUseExternalPopupMenus(bool); | 422 BLINK_EXPORT static void setUseExternalPopupMenus(bool); |
419 | 423 |
420 // Hides any popup (suggestions, selects...) that might be showing. | 424 // Hides any popup (suggestions, selects...) that might be showing. |
421 virtual void hidePopups() = 0; | 425 virtual void hidePopups() = 0; |
422 | 426 |
423 | 427 |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
499 | 503 |
500 // Testing functionality for TestRunner --------------------------------- | 504 // Testing functionality for TestRunner --------------------------------- |
501 | 505 |
502 protected: | 506 protected: |
503 ~WebView() {} | 507 ~WebView() {} |
504 }; | 508 }; |
505 | 509 |
506 } // namespace blink | 510 } // namespace blink |
507 | 511 |
508 #endif | 512 #endif |
OLD | NEW |