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

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

Issue 781743002: Deleted unused code about WebViewImpl::getSelectionRootBounds (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
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 442 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 virtual void transferActiveWheelFlingAnimation(const WebActiveWheelFlingPara meters&) = 0; 453 virtual void transferActiveWheelFlingAnimation(const WebActiveWheelFlingPara meters&) = 0;
454 454
455 // Cancels an active fling, returning true if a fling was active. 455 // Cancels an active fling, returning true if a fling was active.
456 virtual bool endActiveFlingAnimation() = 0; 456 virtual bool endActiveFlingAnimation() = 0;
457 457
458 virtual void setShowPaintRects(bool) = 0; 458 virtual void setShowPaintRects(bool) = 0;
459 virtual void setShowFPSCounter(bool) = 0; 459 virtual void setShowFPSCounter(bool) = 0;
460 virtual void setContinuousPaintingEnabled(bool) = 0; 460 virtual void setContinuousPaintingEnabled(bool) = 0;
461 virtual void setShowScrollBottleneckRects(bool) = 0; 461 virtual void setShowScrollBottleneckRects(bool) = 0;
462 462
463 // Compute the bounds of the root element of the current selection and fills
464 // the out-parameter on success. |bounds| coordinates will be relative to
465 // the contents window and will take into account the current scale level.
466 virtual void getSelectionRootBounds(WebRect& bounds) const = 0;
467
468 // Visibility ----------------------------------------------------------- 463 // Visibility -----------------------------------------------------------
469 464
470 // Sets the visibility of the WebView. 465 // Sets the visibility of the WebView.
471 virtual void setVisibilityState(WebPageVisibilityState visibilityState, 466 virtual void setVisibilityState(WebPageVisibilityState visibilityState,
472 bool isInitialState) { } 467 bool isInitialState) { }
473 468
474 // PageOverlay ---------------------------------------------------------- 469 // PageOverlay ----------------------------------------------------------
475 470
476 // Adds/removes page overlay to this WebView. These functions change the 471 // Adds/removes page overlay to this WebView. These functions change the
477 // graphical appearance of the WebView. WebPageOverlay paints the 472 // graphical appearance of the WebView. WebPageOverlay paints the
(...skipping 20 matching lines...) Expand all
498 // event gets generated/tested. 493 // event gets generated/tested.
499 virtual void forceNextWebGLContextCreationToFail() = 0; 494 virtual void forceNextWebGLContextCreationToFail() = 0;
500 495
501 protected: 496 protected:
502 ~WebView() {} 497 ~WebView() {}
503 }; 498 };
504 499
505 } // namespace blink 500 } // namespace blink
506 501
507 #endif 502 #endif
OLDNEW
« Source/web/tests/WebViewTest.cpp ('K') | « Source/web/tests/data/select_range_textarea_overflow.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698