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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 | 44 |
45 void TestWebContentsView::CreateView(const gfx::Size& initial_size, | 45 void TestWebContentsView::CreateView(const gfx::Size& initial_size, |
46 gfx::NativeView context) { | 46 gfx::NativeView context) { |
47 } | 47 } |
48 | 48 |
49 RenderWidgetHostView* TestWebContentsView::CreateViewForWidget( | 49 RenderWidgetHostView* TestWebContentsView::CreateViewForWidget( |
50 RenderWidgetHost* render_widget_host) { | 50 RenderWidgetHost* render_widget_host) { |
51 return NULL; | 51 return NULL; |
52 } | 52 } |
53 | 53 |
| 54 RenderWidgetHostView* TestWebContentsView::CreateViewForPopupWidget( |
| 55 RenderWidgetHost* render_widget_host) { |
| 56 return NULL; |
| 57 } |
| 58 |
54 gfx::NativeView TestWebContentsView::GetNativeView() const { | 59 gfx::NativeView TestWebContentsView::GetNativeView() const { |
55 return gfx::NativeView(); | 60 return gfx::NativeView(); |
56 } | 61 } |
57 | 62 |
58 gfx::NativeView TestWebContentsView::GetContentNativeView() const { | 63 gfx::NativeView TestWebContentsView::GetContentNativeView() const { |
59 return gfx::NativeView(); | 64 return gfx::NativeView(); |
60 } | 65 } |
61 | 66 |
62 gfx::NativeWindow TestWebContentsView::GetTopLevelNativeWindow() const { | 67 gfx::NativeWindow TestWebContentsView::GetTopLevelNativeWindow() const { |
63 return gfx::NativeWindow(); | 68 return gfx::NativeWindow(); |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 gfx::Rect TestWebContentsView::GetViewBounds() const { | 110 gfx::Rect TestWebContentsView::GetViewBounds() const { |
106 return gfx::Rect(); | 111 return gfx::Rect(); |
107 } | 112 } |
108 | 113 |
109 #if defined(OS_MACOSX) | 114 #if defined(OS_MACOSX) |
110 void TestWebContentsView::SetAllowOverlappingViews(bool overlapping) { | 115 void TestWebContentsView::SetAllowOverlappingViews(bool overlapping) { |
111 } | 116 } |
112 #endif | 117 #endif |
113 | 118 |
114 } // namespace content | 119 } // namespace content |
OLD | NEW |