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

Side by Side Diff: content/test/test_web_contents_view.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: RenderText fixup Created 8 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/test/test_web_contents_view.h" 5 #include "content/test/test_web_contents_view.h"
6 6
7 namespace content { 7 namespace content {
8 8
9 TestWebContentsView::TestWebContentsView() { 9 TestWebContentsView::TestWebContentsView() {
10 } 10 }
(...skipping 11 matching lines...) Expand all
22 int selected_item, 22 int selected_item,
23 const std::vector<WebMenuItem>& items, 23 const std::vector<WebMenuItem>& items,
24 bool right_aligned, 24 bool right_aligned,
25 bool allow_multiple_selection) { 25 bool allow_multiple_selection) {
26 } 26 }
27 27
28 void TestWebContentsView::StartDragging( 28 void TestWebContentsView::StartDragging(
29 const WebDropData& drop_data, 29 const WebDropData& drop_data,
30 WebKit::WebDragOperationsMask allowed_ops, 30 WebKit::WebDragOperationsMask allowed_ops,
31 const gfx::ImageSkia& image, 31 const gfx::ImageSkia& image,
32 const gfx::Point& image_offset) { 32 const gfx::Vector2d& image_offset) {
33 } 33 }
34 34
35 void TestWebContentsView::UpdateDragCursor(WebKit::WebDragOperation operation) { 35 void TestWebContentsView::UpdateDragCursor(WebKit::WebDragOperation operation) {
36 } 36 }
37 37
38 void TestWebContentsView::GotFocus() { 38 void TestWebContentsView::GotFocus() {
39 } 39 }
40 40
41 void TestWebContentsView::TakeFocus(bool reverse) { 41 void TestWebContentsView::TakeFocus(bool reverse) {
42 } 42 }
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 } 98 }
99 99
100 void TestWebContentsView::CloseTabAfterEventTracking() { 100 void TestWebContentsView::CloseTabAfterEventTracking() {
101 } 101 }
102 102
103 gfx::Rect TestWebContentsView::GetViewBounds() const { 103 gfx::Rect TestWebContentsView::GetViewBounds() const {
104 return gfx::Rect(); 104 return gfx::Rect();
105 } 105 }
106 106
107 } // namespace content 107 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698