Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(110)

Side by Side Diff: content/test/test_web_contents_view.cc

Issue 16632009: Set AllowOverlappingViews for history overlay (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix comment Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/test/test_web_contents_view.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « content/test/test_web_contents_view.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698