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

Side by Side Diff: Source/web/WebViewImpl.h

Issue 177903010: Expose the selection root bounds in WebView. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: add missing test files 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 | « no previous file | Source/web/WebViewImpl.cpp » ('j') | 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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 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 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 virtual void hidePopups() OVERRIDE; 287 virtual void hidePopups() OVERRIDE;
288 virtual void addPageOverlay(WebPageOverlay*, int /* zOrder */) OVERRIDE; 288 virtual void addPageOverlay(WebPageOverlay*, int /* zOrder */) OVERRIDE;
289 virtual void removePageOverlay(WebPageOverlay*) OVERRIDE; 289 virtual void removePageOverlay(WebPageOverlay*) OVERRIDE;
290 virtual void transferActiveWheelFlingAnimation(const WebActiveWheelFlingPara meters&) OVERRIDE; 290 virtual void transferActiveWheelFlingAnimation(const WebActiveWheelFlingPara meters&) OVERRIDE;
291 virtual bool endActiveFlingAnimation() OVERRIDE; 291 virtual bool endActiveFlingAnimation() OVERRIDE;
292 virtual void setShowPaintRects(bool) OVERRIDE; 292 virtual void setShowPaintRects(bool) OVERRIDE;
293 void setShowDebugBorders(bool); 293 void setShowDebugBorders(bool);
294 virtual void setShowFPSCounter(bool) OVERRIDE; 294 virtual void setShowFPSCounter(bool) OVERRIDE;
295 virtual void setContinuousPaintingEnabled(bool) OVERRIDE; 295 virtual void setContinuousPaintingEnabled(bool) OVERRIDE;
296 virtual void setShowScrollBottleneckRects(bool) OVERRIDE; 296 virtual void setShowScrollBottleneckRects(bool) OVERRIDE;
297 virtual void getSelectionRootBounds(WebRect& bounds) const OVERRIDE;
Miguel Garcia 2014/03/20 08:23:38 so, there is a selectionBounds method up in line 1
297 298
298 // WebViewImpl 299 // WebViewImpl
299 300
300 void suppressInvalidations(bool enable); 301 void suppressInvalidations(bool enable);
301 void invalidateRect(const WebCore::IntRect&); 302 void invalidateRect(const WebCore::IntRect&);
302 303
303 void setIgnoreInputEvents(bool newValue); 304 void setIgnoreInputEvents(bool newValue);
304 void setBackgroundColorOverride(WebColor); 305 void setBackgroundColorOverride(WebColor);
305 void setZoomFactorOverride(float); 306 void setZoomFactorOverride(float);
306 WebDevToolsAgentPrivate* devToolsAgentPrivate() { return m_devToolsAgent.get (); } 307 WebDevToolsAgentPrivate* devToolsAgentPrivate() { return m_devToolsAgent.get (); }
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after
770 float m_zoomFactorOverride; 771 float m_zoomFactorOverride;
771 }; 772 };
772 773
773 // We have no ways to check if the specified WebView is an instance of 774 // We have no ways to check if the specified WebView is an instance of
774 // WebViewImpl because WebViewImpl is the only implementation of WebView. 775 // WebViewImpl because WebViewImpl is the only implementation of WebView.
775 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 776 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
776 777
777 } // namespace blink 778 } // namespace blink
778 779
779 #endif 780 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698