Chromium Code Reviews| 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 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 383 // Accessibility ------------------------------------------------------- | 383 // Accessibility ------------------------------------------------------- |
| 384 | 384 |
| 385 // Returns the accessibility object for this view. | 385 // Returns the accessibility object for this view. |
| 386 virtual WebAXObject AccessibilityObject() = 0; | 386 virtual WebAXObject AccessibilityObject() = 0; |
| 387 | 387 |
| 388 // Context menu -------------------------------------------------------- | 388 // Context menu -------------------------------------------------------- |
| 389 | 389 |
| 390 virtual void PerformCustomContextMenuAction(unsigned action) = 0; | 390 virtual void PerformCustomContextMenuAction(unsigned action) = 0; |
| 391 | 391 |
| 392 // Shows a context menu for the currently focused element. | 392 // Shows a context menu for the currently focused element. |
| 393 virtual void ShowContextMenu() = 0; | 393 virtual void ShowContextMenu(bool from_touch_handle) = 0; |
|
yosin_UTC9
2017/05/10 04:39:49
It seems pass around a reason of context menu invo
| |
| 394 | 394 |
| 395 // Notify that context menu has been closed. | 395 // Notify that context menu has been closed. |
| 396 virtual void DidCloseContextMenu() = 0; | 396 virtual void DidCloseContextMenu() = 0; |
| 397 | 397 |
| 398 // Popup menu ---------------------------------------------------------- | 398 // Popup menu ---------------------------------------------------------- |
| 399 | 399 |
| 400 // Sets whether select popup menus should be rendered by the browser. | 400 // Sets whether select popup menus should be rendered by the browser. |
| 401 BLINK_EXPORT static void SetUseExternalPopupMenus(bool); | 401 BLINK_EXPORT static void SetUseExternalPopupMenus(bool); |
| 402 | 402 |
| 403 // Hides any popup (suggestions, selects...) that might be showing. | 403 // Hides any popup (suggestions, selects...) that might be showing. |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 496 // completed. | 496 // completed. |
| 497 WebWidget* GetWidget() { return this; } | 497 WebWidget* GetWidget() { return this; } |
| 498 | 498 |
| 499 protected: | 499 protected: |
| 500 ~WebView() {} | 500 ~WebView() {} |
| 501 }; | 501 }; |
| 502 | 502 |
| 503 } // namespace blink | 503 } // namespace blink |
| 504 | 504 |
| 505 #endif | 505 #endif |
| OLD | NEW |