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

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: rebasefinal 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 12 matching lines...) Expand all
23 int selected_item, 23 int selected_item,
24 const std::vector<WebMenuItem>& items, 24 const std::vector<WebMenuItem>& items,
25 bool right_aligned, 25 bool right_aligned,
26 bool allow_multiple_selection) { 26 bool allow_multiple_selection) {
27 } 27 }
28 28
29 void TestWebContentsView::StartDragging( 29 void TestWebContentsView::StartDragging(
30 const WebDropData& drop_data, 30 const WebDropData& drop_data,
31 WebKit::WebDragOperationsMask allowed_ops, 31 WebKit::WebDragOperationsMask allowed_ops,
32 const gfx::ImageSkia& image, 32 const gfx::ImageSkia& image,
33 const gfx::Point& image_offset) { 33 const gfx::Vector2d& image_offset) {
34 } 34 }
35 35
36 void TestWebContentsView::UpdateDragCursor(WebKit::WebDragOperation operation) { 36 void TestWebContentsView::UpdateDragCursor(WebKit::WebDragOperation operation) {
37 } 37 }
38 38
39 void TestWebContentsView::GotFocus() { 39 void TestWebContentsView::GotFocus() {
40 } 40 }
41 41
42 void TestWebContentsView::TakeFocus(bool reverse) { 42 void TestWebContentsView::TakeFocus(bool reverse) {
43 } 43 }
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 } 99 }
100 100
101 void TestWebContentsView::CloseTabAfterEventTracking() { 101 void TestWebContentsView::CloseTabAfterEventTracking() {
102 } 102 }
103 103
104 gfx::Rect TestWebContentsView::GetViewBounds() const { 104 gfx::Rect TestWebContentsView::GetViewBounds() const {
105 return gfx::Rect(); 105 return gfx::Rect();
106 } 106 }
107 107
108 } // namespace content 108 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698