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::ShowContextMenu( | 15 void TestWebContentsView::ShowContextMenu( |
16 const ContextMenuParams& params) { | 16 const ContextMenuParams& params, |
| 17 const content::ContextMenuSourceType& type) { |
17 } | 18 } |
18 | 19 |
19 void TestWebContentsView::ShowPopupMenu(const gfx::Rect& bounds, | 20 void TestWebContentsView::ShowPopupMenu(const gfx::Rect& bounds, |
20 int item_height, | 21 int item_height, |
21 double item_font_size, | 22 double item_font_size, |
22 int selected_item, | 23 int selected_item, |
23 const std::vector<WebMenuItem>& items, | 24 const std::vector<WebMenuItem>& items, |
24 bool right_aligned, | 25 bool right_aligned, |
25 bool allow_multiple_selection) { | 26 bool allow_multiple_selection) { |
26 } | 27 } |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 } | 106 } |
106 | 107 |
107 void TestWebContentsView::CloseTabAfterEventTracking() { | 108 void TestWebContentsView::CloseTabAfterEventTracking() { |
108 } | 109 } |
109 | 110 |
110 gfx::Rect TestWebContentsView::GetViewBounds() const { | 111 gfx::Rect TestWebContentsView::GetViewBounds() const { |
111 return gfx::Rect(); | 112 return gfx::Rect(); |
112 } | 113 } |
113 | 114 |
114 } // namespace content | 115 } // namespace content |
OLD | NEW |