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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 return NULL; | 80 return NULL; |
81 } | 81 } |
82 | 82 |
83 gfx::Rect TestWebContentsView::GetViewBounds() const { | 83 gfx::Rect TestWebContentsView::GetViewBounds() const { |
84 return gfx::Rect(); | 84 return gfx::Rect(); |
85 } | 85 } |
86 | 86 |
87 #if defined(OS_MACOSX) | 87 #if defined(OS_MACOSX) |
88 void TestWebContentsView::SetAllowOverlappingViews(bool overlapping) { | 88 void TestWebContentsView::SetAllowOverlappingViews(bool overlapping) { |
89 } | 89 } |
| 90 |
| 91 bool TestWebContentsView::GetAllowOverlappingViews() const { |
| 92 return false; |
| 93 } |
90 #endif | 94 #endif |
91 | 95 |
92 void TestWebContentsView::CreateView(const gfx::Size& initial_size, | 96 void TestWebContentsView::CreateView(const gfx::Size& initial_size, |
93 gfx::NativeView context) { | 97 gfx::NativeView context) { |
94 } | 98 } |
95 | 99 |
96 RenderWidgetHostView* TestWebContentsView::CreateViewForWidget( | 100 RenderWidgetHostView* TestWebContentsView::CreateViewForWidget( |
97 RenderWidgetHost* render_widget_host) { | 101 RenderWidgetHost* render_widget_host) { |
98 return NULL; | 102 return NULL; |
99 } | 103 } |
(...skipping 18 matching lines...) Expand all Loading... |
118 #if defined(OS_MACOSX) | 122 #if defined(OS_MACOSX) |
119 bool TestWebContentsView::IsEventTracking() const { | 123 bool TestWebContentsView::IsEventTracking() const { |
120 return false; | 124 return false; |
121 } | 125 } |
122 | 126 |
123 void TestWebContentsView::CloseTabAfterEventTracking() { | 127 void TestWebContentsView::CloseTabAfterEventTracking() { |
124 } | 128 } |
125 #endif | 129 #endif |
126 | 130 |
127 } // namespace content | 131 } // namespace content |
OLD | NEW |