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

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

Issue 215703002: Remove unused selection related methods from WebView that got moved to WebFrame in r169968 … (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 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 | « Source/web/WebViewImpl.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 443 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 BLINK_EXPORT static void willEnterModalLoop(); 454 BLINK_EXPORT static void willEnterModalLoop();
455 BLINK_EXPORT static void didExitModalLoop(); 455 BLINK_EXPORT static void didExitModalLoop();
456 456
457 // Called to inform the WebView that a wheel fling animation was started ext ernally (for instance 457 // Called to inform the WebView that a wheel fling animation was started ext ernally (for instance
458 // by the compositor) but must be completed by the WebView. 458 // by the compositor) but must be completed by the WebView.
459 virtual void transferActiveWheelFlingAnimation(const WebActiveWheelFlingPara meters&) = 0; 459 virtual void transferActiveWheelFlingAnimation(const WebActiveWheelFlingPara meters&) = 0;
460 460
461 // Cancels an active fling, returning true if a fling was active. 461 // Cancels an active fling, returning true if a fling was active.
462 virtual bool endActiveFlingAnimation() = 0; 462 virtual bool endActiveFlingAnimation() = 0;
463 463
464 virtual bool setEditableSelectionOffsets(int start, int end) = 0;
465 virtual bool setCompositionFromExistingText(int compositionStart, int compos itionEnd, const WebVector<WebCompositionUnderline>& underlines) = 0;
466 virtual void extendSelectionAndDelete(int before, int after) = 0;
467
468 virtual void setShowPaintRects(bool) = 0; 464 virtual void setShowPaintRects(bool) = 0;
469 virtual void setShowFPSCounter(bool) = 0; 465 virtual void setShowFPSCounter(bool) = 0;
470 virtual void setContinuousPaintingEnabled(bool) = 0; 466 virtual void setContinuousPaintingEnabled(bool) = 0;
471 virtual void setShowScrollBottleneckRects(bool) = 0; 467 virtual void setShowScrollBottleneckRects(bool) = 0;
472 468
473 // Compute the bounds of the root element of the current selection and fills 469 // Compute the bounds of the root element of the current selection and fills
474 // the out-parameter on success. |bounds| coordinates will be relative to 470 // the out-parameter on success. |bounds| coordinates will be relative to
475 // the contents window and will take into account the current scale level. 471 // the contents window and will take into account the current scale level.
476 virtual void getSelectionRootBounds(WebRect& bounds) const = 0; 472 virtual void getSelectionRootBounds(WebRect& bounds) const = 0;
477 473
(...skipping 18 matching lines...) Expand all
496 492
497 // Testing functionality for TestRunner --------------------------------- 493 // Testing functionality for TestRunner ---------------------------------
498 494
499 protected: 495 protected:
500 ~WebView() {} 496 ~WebView() {}
501 }; 497 };
502 498
503 } // namespace blink 499 } // namespace blink
504 500
505 #endif 501 #endif
OLDNEW
« no previous file with comments | « Source/web/WebViewImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698