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 | |
414 virtual WebString getSmartClipData(WebRect) = 0; | |
415 | |
416 virtual void getSmartClipData(WebRect, WebString&, WebRect&) = 0; | 412 virtual void getSmartClipData(WebRect, WebString&, WebRect&) = 0; |
417 | 413 |
418 | 414 |
419 // Popup menu ---------------------------------------------------------- | 415 // Popup menu ---------------------------------------------------------- |
420 | 416 |
421 // Sets whether select popup menus should be rendered by the browser. | 417 // Sets whether select popup menus should be rendered by the browser. |
422 BLINK_EXPORT static void setUseExternalPopupMenus(bool); | 418 BLINK_EXPORT static void setUseExternalPopupMenus(bool); |
423 | 419 |
424 // Hides any popup (suggestions, selects...) that might be showing. | 420 // Hides any popup (suggestions, selects...) that might be showing. |
425 virtual void hidePopups() = 0; | 421 virtual void hidePopups() = 0; |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
503 | 499 |
504 // Testing functionality for TestRunner --------------------------------- | 500 // Testing functionality for TestRunner --------------------------------- |
505 | 501 |
506 protected: | 502 protected: |
507 ~WebView() {} | 503 ~WebView() {} |
508 }; | 504 }; |
509 | 505 |
510 } // namespace blink | 506 } // namespace blink |
511 | 507 |
512 #endif | 508 #endif |
OLD | NEW |