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

Unified Diff: content/browser/web_contents/interstitial_page_impl.cc

Issue 11269022: Add Vector2d classes that represent offsets, instead of using Point. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix step one more time Created 8 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/web_contents/interstitial_page_impl.cc
diff --git a/content/browser/web_contents/interstitial_page_impl.cc b/content/browser/web_contents/interstitial_page_impl.cc
index b71396810bfd0ac686648f14c0ecc555e7a83d02..bd8d5086d2226c207c40f9c53599327ecd4a1b3e 100644
--- a/content/browser/web_contents/interstitial_page_impl.cc
+++ b/content/browser/web_contents/interstitial_page_impl.cc
@@ -82,7 +82,7 @@ class InterstitialPageImpl::InterstitialPageRVHDelegateView
virtual void StartDragging(const WebDropData& drop_data,
WebDragOperationsMask operations_allowed,
const gfx::ImageSkia& image,
- const gfx::Point& image_offset) OVERRIDE;
+ const gfx::Vector2d& image_offset) OVERRIDE;
virtual void UpdateDragCursor(WebDragOperation operation) OVERRIDE;
virtual void GotFocus() OVERRIDE;
virtual void TakeFocus(bool reverse) OVERRIDE;
@@ -740,7 +740,7 @@ void InterstitialPageImpl::InterstitialPageRVHDelegateView::StartDragging(
const WebDropData& drop_data,
WebDragOperationsMask allowed_operations,
const gfx::ImageSkia& image,
- const gfx::Point& image_offset) {
+ const gfx::Vector2d& image_offset) {
NOTREACHED() << "InterstitialPage does not support dragging yet.";
}

Powered by Google App Engine
This is Rietveld 408576698