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 400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
411 // Context menu -------------------------------------------------------- | 411 // Context menu -------------------------------------------------------- |
412 | 412 |
413 virtual void performCustomContextMenuAction(unsigned action) = 0; | 413 virtual void performCustomContextMenuAction(unsigned action) = 0; |
414 | 414 |
415 // Shows a context menu for the currently focused element. | 415 // Shows a context menu for the currently focused element. |
416 virtual void showContextMenu() = 0; | 416 virtual void showContextMenu() = 0; |
417 | 417 |
418 | 418 |
419 // SmartClip support --------------------------------------------------- | 419 // SmartClip support --------------------------------------------------- |
420 | 420 |
421 virtual WebString getSmartClipData(WebRect) = 0; | 421 virtual void getSmartClipData(WebRect) = 0; |
422 | |
423 | 422 |
424 // Popup menu ---------------------------------------------------------- | 423 // Popup menu ---------------------------------------------------------- |
425 | 424 |
426 // Sets whether select popup menus should be rendered by the browser. | 425 // Sets whether select popup menus should be rendered by the browser. |
427 BLINK_EXPORT static void setUseExternalPopupMenus(bool); | 426 BLINK_EXPORT static void setUseExternalPopupMenus(bool); |
428 | 427 |
429 // Hides any popup (suggestions, selects...) that might be showing. | 428 // Hides any popup (suggestions, selects...) that might be showing. |
430 virtual void hidePopups() = 0; | 429 virtual void hidePopups() = 0; |
431 | 430 |
432 | 431 |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
501 | 500 |
502 // Testing functionality for TestRunner --------------------------------- | 501 // Testing functionality for TestRunner --------------------------------- |
503 | 502 |
504 protected: | 503 protected: |
505 ~WebView() {} | 504 ~WebView() {} |
506 }; | 505 }; |
507 | 506 |
508 } // namespace blink | 507 } // namespace blink |
509 | 508 |
510 #endif | 509 #endif |
OLD | NEW |