OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |