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

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

Issue 11773042: Allow embedders to provide a custom view for popup (select box) widgets, (Closed) Base URL: http://src.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 11 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
« 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
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