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 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
391 // Context menu -------------------------------------------------------- | 391 // Context menu -------------------------------------------------------- |
392 | 392 |
393 virtual void performCustomContextMenuAction(unsigned action) = 0; | 393 virtual void performCustomContextMenuAction(unsigned action) = 0; |
394 | 394 |
395 // Shows a context menu for the currently focused element. | 395 // Shows a context menu for the currently focused element. |
396 virtual void showContextMenu() = 0; | 396 virtual void showContextMenu() = 0; |
397 | 397 |
398 // Notify that context menu has been closed. | 398 // Notify that context menu has been closed. |
399 virtual void didCloseContextMenu() = 0; | 399 virtual void didCloseContextMenu() = 0; |
400 | 400 |
401 // SmartClip support --------------------------------------------------- | |
402 virtual void extractSmartClipData(WebRect initRect, | |
403 WebString& text, | |
404 WebString& html, | |
405 WebRect& resultRect) = 0; | |
406 | |
407 // Popup menu ---------------------------------------------------------- | 401 // Popup menu ---------------------------------------------------------- |
408 | 402 |
409 // Sets whether select popup menus should be rendered by the browser. | 403 // Sets whether select popup menus should be rendered by the browser. |
410 BLINK_EXPORT static void setUseExternalPopupMenus(bool); | 404 BLINK_EXPORT static void setUseExternalPopupMenus(bool); |
411 | 405 |
412 // Hides any popup (suggestions, selects...) that might be showing. | 406 // Hides any popup (suggestions, selects...) that might be showing. |
413 virtual void hidePopups() = 0; | 407 virtual void hidePopups() = 0; |
414 | 408 |
415 // Visited link state -------------------------------------------------- | 409 // Visited link state -------------------------------------------------- |
416 | 410 |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
499 // completed. | 493 // completed. |
500 WebWidget* widget() { return this; } | 494 WebWidget* widget() { return this; } |
501 | 495 |
502 protected: | 496 protected: |
503 ~WebView() {} | 497 ~WebView() {} |
504 }; | 498 }; |
505 | 499 |
506 } // namespace blink | 500 } // namespace blink |
507 | 501 |
508 #endif | 502 #endif |
OLD | NEW |