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 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
384 virtual WebAXObject accessibilityObject() = 0; | 384 virtual WebAXObject accessibilityObject() = 0; |
385 | 385 |
386 | 386 |
387 // Context menu -------------------------------------------------------- | 387 // Context menu -------------------------------------------------------- |
388 | 388 |
389 virtual void performCustomContextMenuAction(unsigned action) = 0; | 389 virtual void performCustomContextMenuAction(unsigned action) = 0; |
390 | 390 |
391 // Shows a context menu for the currently focused element. | 391 // Shows a context menu for the currently focused element. |
392 virtual void showContextMenu() = 0; | 392 virtual void showContextMenu() = 0; |
393 | 393 |
| 394 // Notify that context menu has been closed. |
| 395 virtual void didCloseContextMenu() = 0; |
| 396 |
394 | 397 |
395 // SmartClip support --------------------------------------------------- | 398 // SmartClip support --------------------------------------------------- |
396 virtual void extractSmartClipData(WebRect initRect, WebString& text, WebStri
ng& html, WebRect& resultRect) = 0; | 399 virtual void extractSmartClipData(WebRect initRect, WebString& text, WebStri
ng& html, WebRect& resultRect) = 0; |
397 | 400 |
398 | 401 |
399 // Popup menu ---------------------------------------------------------- | 402 // Popup menu ---------------------------------------------------------- |
400 | 403 |
401 // Sets whether select popup menus should be rendered by the browser. | 404 // Sets whether select popup menus should be rendered by the browser. |
402 BLINK_EXPORT static void setUseExternalPopupMenus(bool); | 405 BLINK_EXPORT static void setUseExternalPopupMenus(bool); |
403 | 406 |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
477 // context's ability to deal with that failure gracefully can be tested. | 480 // context's ability to deal with that failure gracefully can be tested. |
478 virtual void forceNextDrawingBufferCreationToFail() = 0; | 481 virtual void forceNextDrawingBufferCreationToFail() = 0; |
479 | 482 |
480 protected: | 483 protected: |
481 ~WebView() {} | 484 ~WebView() {} |
482 }; | 485 }; |
483 | 486 |
484 } // namespace blink | 487 } // namespace blink |
485 | 488 |
486 #endif | 489 #endif |
OLD | NEW |