| 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::StartDragging( | 24 void TestWebContentsView::StartDragging( |
| 25 const DropData& drop_data, | 25 const DropData& drop_data, |
| 26 WebKit::WebDragOperationsMask allowed_ops, | 26 blink::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(blink::WebDragOperation operation) { |
| 33 } | 33 } |
| 34 | 34 |
| 35 void TestWebContentsView::GotFocus() { | 35 void TestWebContentsView::GotFocus() { |
| 36 } | 36 } |
| 37 | 37 |
| 38 void TestWebContentsView::TakeFocus(bool reverse) { | 38 void TestWebContentsView::TakeFocus(bool reverse) { |
| 39 } | 39 } |
| 40 | 40 |
| 41 gfx::NativeView TestWebContentsView::GetNativeView() const { | 41 gfx::NativeView TestWebContentsView::GetNativeView() const { |
| 42 return gfx::NativeView(); | 42 return gfx::NativeView(); |
| (...skipping 75 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 |