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

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

Issue 2667283007: Refactor Samsung SmartClip implementation. (Closed)
Patch Set: Really apply code review comments Created 3 years, 10 months 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/public/web/WebLocalFrame.h ('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 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 // Context menu -------------------------------------------------------- 391 // Context menu --------------------------------------------------------
392 392
393 virtual void performCustomContextMenuAction(unsigned action) = 0; 393 virtual void performCustomContextMenuAction(unsigned action) = 0;
394 394
395 // Shows a context menu for the currently focused element. 395 // Shows a context menu for the currently focused element.
396 virtual void showContextMenu() = 0; 396 virtual void showContextMenu() = 0;
397 397
398 // Notify that context menu has been closed. 398 // Notify that context menu has been closed.
399 virtual void didCloseContextMenu() = 0; 399 virtual void didCloseContextMenu() = 0;
400 400
401 // SmartClip support ---------------------------------------------------
402 virtual void extractSmartClipData(WebRect initRect,
403 WebString& text,
404 WebString& html,
405 WebRect& resultRect) = 0;
406
407 // Popup menu ---------------------------------------------------------- 401 // Popup menu ----------------------------------------------------------
408 402
409 // Sets whether select popup menus should be rendered by the browser. 403 // Sets whether select popup menus should be rendered by the browser.
410 BLINK_EXPORT static void setUseExternalPopupMenus(bool); 404 BLINK_EXPORT static void setUseExternalPopupMenus(bool);
411 405
412 // Hides any popup (suggestions, selects...) that might be showing. 406 // Hides any popup (suggestions, selects...) that might be showing.
413 virtual void hidePopups() = 0; 407 virtual void hidePopups() = 0;
414 408
415 // Visited link state -------------------------------------------------- 409 // Visited link state --------------------------------------------------
416 410
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
499 // completed. 493 // completed.
500 WebWidget* widget() { return this; } 494 WebWidget* widget() { return this; }
501 495
502 protected: 496 protected:
503 ~WebView() {} 497 ~WebView() {}
504 }; 498 };
505 499
506 } // namespace blink 500 } // namespace blink
507 501
508 #endif 502 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/web/WebLocalFrame.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698