Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(84)

Side by Side Diff: third_party/WebKit/public/web/WebView.h

Issue 1471993002: Resume cursor blinking on closing context menu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: robusted onContextMenuClosed() and fixed nits Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/web/tests/WebViewTest.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/tests/WebViewTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698