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<MenuItem>& items, | 19 const std::vector<MenuItem>& 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::HidePopupMenu() { |
| 25 } |
| 26 |
24 void TestWebContentsView::StartDragging( | 27 void TestWebContentsView::StartDragging( |
25 const DropData& drop_data, | 28 const DropData& drop_data, |
26 blink::WebDragOperationsMask allowed_ops, | 29 blink::WebDragOperationsMask allowed_ops, |
27 const gfx::ImageSkia& image, | 30 const gfx::ImageSkia& image, |
28 const gfx::Vector2d& image_offset, | 31 const gfx::Vector2d& image_offset, |
29 const DragEventSourceInfo& event_info) { | 32 const DragEventSourceInfo& event_info) { |
30 } | 33 } |
31 | 34 |
32 void TestWebContentsView::UpdateDragCursor(blink::WebDragOperation operation) { | 35 void TestWebContentsView::UpdateDragCursor(blink::WebDragOperation operation) { |
33 } | 36 } |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 #if defined(OS_MACOSX) | 128 #if defined(OS_MACOSX) |
126 bool TestWebContentsView::IsEventTracking() const { | 129 bool TestWebContentsView::IsEventTracking() const { |
127 return false; | 130 return false; |
128 } | 131 } |
129 | 132 |
130 void TestWebContentsView::CloseTabAfterEventTracking() { | 133 void TestWebContentsView::CloseTabAfterEventTracking() { |
131 } | 134 } |
132 #endif | 135 #endif |
133 | 136 |
134 } // namespace content | 137 } // namespace content |
OLD | NEW |