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 388 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
399 | 399 |
400 // Context menu -------------------------------------------------------- | 400 // Context menu -------------------------------------------------------- |
401 | 401 |
402 virtual void performCustomContextMenuAction(unsigned action) = 0; | 402 virtual void performCustomContextMenuAction(unsigned action) = 0; |
403 | 403 |
404 // Shows a context menu for the currently focused element. | 404 // Shows a context menu for the currently focused element. |
405 virtual void showContextMenu() = 0; | 405 virtual void showContextMenu() = 0; |
406 | 406 |
407 | 407 |
408 // SmartClip support --------------------------------------------------- | 408 // SmartClip support --------------------------------------------------- |
409 // TODO(changwan): remove this | |
410 virtual void getSmartClipData(WebRect, WebString&, WebRect& resultRect) = 0; | |
411 virtual void extractSmartClipData(WebRect initRect, WebString& text, WebStri
ng& html, WebRect& resultRect) = 0; | 409 virtual void extractSmartClipData(WebRect initRect, WebString& text, WebStri
ng& html, WebRect& resultRect) = 0; |
412 | 410 |
413 | 411 |
414 // Popup menu ---------------------------------------------------------- | 412 // Popup menu ---------------------------------------------------------- |
415 | 413 |
416 // Sets whether select popup menus should be rendered by the browser. | 414 // Sets whether select popup menus should be rendered by the browser. |
417 BLINK_EXPORT static void setUseExternalPopupMenus(bool); | 415 BLINK_EXPORT static void setUseExternalPopupMenus(bool); |
418 | 416 |
419 // Hides any popup (suggestions, selects...) that might be showing. | 417 // Hides any popup (suggestions, selects...) that might be showing. |
420 virtual void hidePopups() = 0; | 418 virtual void hidePopups() = 0; |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
498 | 496 |
499 // Testing functionality for TestRunner --------------------------------- | 497 // Testing functionality for TestRunner --------------------------------- |
500 | 498 |
501 protected: | 499 protected: |
502 ~WebView() {} | 500 ~WebView() {} |
503 }; | 501 }; |
504 | 502 |
505 } // namespace blink | 503 } // namespace blink |
506 | 504 |
507 #endif | 505 #endif |
OLD | NEW |