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

Side by Side Diff: content/test/test_web_contents_view.cc

Issue 18281002: Move WebDropData to content::DropData and split off conversion function. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Mac build error. Created 7 years, 5 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 | 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 }
11 11
12 TestWebContentsView::~TestWebContentsView() { 12 TestWebContentsView::~TestWebContentsView() {
13 } 13 }
14 14
15 void TestWebContentsView::ShowPopupMenu(const gfx::Rect& bounds, 15 void TestWebContentsView::ShowPopupMenu(const gfx::Rect& bounds,
16 int item_height, 16 int item_height,
17 double item_font_size, 17 double item_font_size,
18 int selected_item, 18 int selected_item,
19 const std::vector<WebMenuItem>& items, 19 const std::vector<WebMenuItem>& items,
20 bool right_aligned, 20 bool right_aligned,
21 bool allow_multiple_selection) { 21 bool allow_multiple_selection) {
22 } 22 }
23 23
24 void TestWebContentsView::StartDragging( 24 void TestWebContentsView::StartDragging(
25 const WebDropData& drop_data, 25 const DropData& drop_data,
26 WebKit::WebDragOperationsMask allowed_ops, 26 WebKit::WebDragOperationsMask allowed_ops,
27 const gfx::ImageSkia& image, 27 const gfx::ImageSkia& image,
28 const gfx::Vector2d& image_offset, 28 const gfx::Vector2d& image_offset,
29 const DragEventSourceInfo& event_info) { 29 const DragEventSourceInfo& event_info) {
30 } 30 }
31 31
32 void TestWebContentsView::UpdateDragCursor(WebKit::WebDragOperation operation) { 32 void TestWebContentsView::UpdateDragCursor(WebKit::WebDragOperation operation) {
33 } 33 }
34 34
35 void TestWebContentsView::GotFocus() { 35 void TestWebContentsView::GotFocus() {
(...skipping 29 matching lines...) Expand all
65 65
66 void TestWebContentsView::SetInitialFocus() { 66 void TestWebContentsView::SetInitialFocus() {
67 } 67 }
68 68
69 void TestWebContentsView::StoreFocus() { 69 void TestWebContentsView::StoreFocus() {
70 } 70 }
71 71
72 void TestWebContentsView::RestoreFocus() { 72 void TestWebContentsView::RestoreFocus() {
73 } 73 }
74 74
75 WebDropData* TestWebContentsView::GetDropData() const { 75 DropData* TestWebContentsView::GetDropData() const {
76 return NULL; 76 return NULL;
77 } 77 }
78 78
79 gfx::Rect TestWebContentsView::GetViewBounds() const { 79 gfx::Rect TestWebContentsView::GetViewBounds() const {
80 return gfx::Rect(); 80 return gfx::Rect();
81 } 81 }
82 82
83 #if defined(OS_MACOSX) 83 #if defined(OS_MACOSX)
84 void TestWebContentsView::SetAllowOverlappingViews(bool overlapping) { 84 void TestWebContentsView::SetAllowOverlappingViews(bool overlapping) {
85 } 85 }
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 #if defined(OS_MACOSX) 118 #if defined(OS_MACOSX)
119 bool TestWebContentsView::IsEventTracking() const { 119 bool TestWebContentsView::IsEventTracking() const {
120 return false; 120 return false;
121 } 121 }
122 122
123 void TestWebContentsView::CloseTabAfterEventTracking() { 123 void TestWebContentsView::CloseTabAfterEventTracking() {
124 } 124 }
125 #endif 125 #endif
126 126
127 } // namespace content 127 } // namespace content
OLDNEW
« no previous file with comments | « content/test/test_web_contents_view.h ('k') | ui/base/dragdrop/os_exchange_data_provider_aurax11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698