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 } |
(...skipping 20 matching lines...) Expand all Loading... |
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() { |
36 } | 36 } |
37 | 37 |
38 void TestWebContentsView::TakeFocus(bool reverse) { | 38 void TestWebContentsView::TakeFocus(bool reverse) { |
39 } | 39 } |
40 | 40 |
| 41 bool TestWebContentsView::GrabSnapshot(const std::string& format, |
| 42 int quality, |
| 43 double scale, |
| 44 std::vector<uint8>* data) { |
| 45 return false; |
| 46 } |
| 47 |
41 gfx::NativeView TestWebContentsView::GetNativeView() const { | 48 gfx::NativeView TestWebContentsView::GetNativeView() const { |
42 return gfx::NativeView(); | 49 return gfx::NativeView(); |
43 } | 50 } |
44 | 51 |
45 gfx::NativeView TestWebContentsView::GetContentNativeView() const { | 52 gfx::NativeView TestWebContentsView::GetContentNativeView() const { |
46 return gfx::NativeView(); | 53 return gfx::NativeView(); |
47 } | 54 } |
48 | 55 |
49 gfx::NativeWindow TestWebContentsView::GetTopLevelNativeWindow() const { | 56 gfx::NativeWindow TestWebContentsView::GetTopLevelNativeWindow() const { |
50 return gfx::NativeWindow(); | 57 return gfx::NativeWindow(); |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 #if defined(OS_MACOSX) | 125 #if defined(OS_MACOSX) |
119 bool TestWebContentsView::IsEventTracking() const { | 126 bool TestWebContentsView::IsEventTracking() const { |
120 return false; | 127 return false; |
121 } | 128 } |
122 | 129 |
123 void TestWebContentsView::CloseTabAfterEventTracking() { | 130 void TestWebContentsView::CloseTabAfterEventTracking() { |
124 } | 131 } |
125 #endif | 132 #endif |
126 | 133 |
127 } // namespace content | 134 } // namespace content |
OLD | NEW |