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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 } | 43 } |
44 | 44 |
45 void TestWebContentsView::CreateView(const gfx::Size& initial_size) { | 45 void TestWebContentsView::CreateView(const gfx::Size& initial_size) { |
46 } | 46 } |
47 | 47 |
48 RenderWidgetHostView* TestWebContentsView::CreateViewForWidget( | 48 RenderWidgetHostView* TestWebContentsView::CreateViewForWidget( |
49 RenderWidgetHost* render_widget_host) { | 49 RenderWidgetHost* render_widget_host) { |
50 return NULL; | 50 return NULL; |
51 } | 51 } |
52 | 52 |
| 53 void TestWebContentsView::SetView(RenderWidgetHostView* view) { |
| 54 } |
| 55 |
53 gfx::NativeView TestWebContentsView::GetNativeView() const { | 56 gfx::NativeView TestWebContentsView::GetNativeView() const { |
54 return gfx::NativeView(); | 57 return gfx::NativeView(); |
55 } | 58 } |
56 | 59 |
57 gfx::NativeView TestWebContentsView::GetContentNativeView() const { | 60 gfx::NativeView TestWebContentsView::GetContentNativeView() const { |
58 return gfx::NativeView(); | 61 return gfx::NativeView(); |
59 } | 62 } |
60 | 63 |
61 gfx::NativeWindow TestWebContentsView::GetTopLevelNativeWindow() const { | 64 gfx::NativeWindow TestWebContentsView::GetTopLevelNativeWindow() const { |
62 return gfx::NativeWindow(); | 65 return gfx::NativeWindow(); |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 } | 102 } |
100 | 103 |
101 void TestWebContentsView::CloseTabAfterEventTracking() { | 104 void TestWebContentsView::CloseTabAfterEventTracking() { |
102 } | 105 } |
103 | 106 |
104 gfx::Rect TestWebContentsView::GetViewBounds() const { | 107 gfx::Rect TestWebContentsView::GetViewBounds() const { |
105 return gfx::Rect(); | 108 return gfx::Rect(); |
106 } | 109 } |
107 | 110 |
108 } // namespace content | 111 } // namespace content |
OLD | NEW |