| 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 } | 17 } |
| 18 | 18 |
| 19 void TestWebContentsView::ShowPopupMenu(const gfx::Rect& bounds, |
| 20 int item_height, |
| 21 double item_font_size, |
| 22 int selected_item, |
| 23 const std::vector<WebMenuItem>& items, |
| 24 bool right_aligned, |
| 25 bool allow_multiple_selection) { |
| 26 } |
| 27 |
| 19 void TestWebContentsView::StartDragging( | 28 void TestWebContentsView::StartDragging( |
| 20 const WebDropData& drop_data, | 29 const WebDropData& drop_data, |
| 21 WebKit::WebDragOperationsMask allowed_ops, | 30 WebKit::WebDragOperationsMask allowed_ops, |
| 22 const SkBitmap& image, | 31 const SkBitmap& image, |
| 23 const gfx::Point& image_offset) { | 32 const gfx::Point& image_offset) { |
| 24 } | 33 } |
| 25 | 34 |
| 26 void TestWebContentsView::UpdateDragCursor(WebKit::WebDragOperation operation) { | 35 void TestWebContentsView::UpdateDragCursor(WebKit::WebDragOperation operation) { |
| 27 } | 36 } |
| 28 | 37 |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 return false; | 104 return false; |
| 96 } | 105 } |
| 97 | 106 |
| 98 void TestWebContentsView::CloseTabAfterEventTracking() { | 107 void TestWebContentsView::CloseTabAfterEventTracking() { |
| 99 } | 108 } |
| 100 | 109 |
| 101 void TestWebContentsView::GetViewBounds(gfx::Rect* out) const { | 110 void TestWebContentsView::GetViewBounds(gfx::Rect* out) const { |
| 102 } | 111 } |
| 103 | 112 |
| 104 } // namespace content | 113 } // namespace content |
| OLD | NEW |