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

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: build 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 ef6582dcac98629a3fcf306aee375926c892c2d4..6812dfe2ff812237cae5ddf0378db509f0088a3c 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;
@@ -711,7 +711,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