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

Side by Side Diff: content/browser/renderer_host/test_render_view_host.cc

Issue 9845017: Fix a few warnings that -Wnull-conversion of a future clang will complain about. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments Created 8 years, 9 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
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/browser/renderer_host/test_backing_store.h" 5 #include "content/browser/renderer_host/test_backing_store.h"
6 #include "content/browser/renderer_host/test_render_view_host.h" 6 #include "content/browser/renderer_host/test_render_view_host.h"
7 #include "content/browser/site_instance_impl.h" 7 #include "content/browser/site_instance_impl.h"
8 #include "content/browser/tab_contents/navigation_controller_impl.h" 8 #include "content/browser/tab_contents/navigation_controller_impl.h"
9 #include "content/browser/tab_contents/test_web_contents.h" 9 #include "content/browser/tab_contents/test_web_contents.h"
10 #include "content/common/dom_storage_common.h" 10 #include "content/common/dom_storage_common.h"
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 129
130 bool TestRenderWidgetHostView::PostProcessEventForPluginIme( 130 bool TestRenderWidgetHostView::PostProcessEventForPluginIme(
131 const NativeWebKeyboardEvent& event) { 131 const NativeWebKeyboardEvent& event) {
132 return false; 132 return false;
133 } 133 }
134 134
135 gfx::PluginWindowHandle 135 gfx::PluginWindowHandle
136 TestRenderWidgetHostView::AllocateFakePluginWindowHandle( 136 TestRenderWidgetHostView::AllocateFakePluginWindowHandle(
137 bool opaque, 137 bool opaque,
138 bool root) { 138 bool root) {
139 return NULL; 139 return gfx::kNullPluginWindow;
140 } 140 }
141 141
142 void TestRenderWidgetHostView::DestroyFakePluginWindowHandle( 142 void TestRenderWidgetHostView::DestroyFakePluginWindowHandle(
143 gfx::PluginWindowHandle window) { 143 gfx::PluginWindowHandle window) {
144 } 144 }
145 145
146 void TestRenderWidgetHostView::AcceleratedSurfaceSetIOSurface( 146 void TestRenderWidgetHostView::AcceleratedSurfaceSetIOSurface(
147 gfx::PluginWindowHandle window, 147 gfx::PluginWindowHandle window,
148 int32 width, 148 int32 width,
149 int32 height, 149 int32 height,
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 313
314 TestRenderViewHost* RenderViewHostImplTestHarness::active_test_rvh() { 314 TestRenderViewHost* RenderViewHostImplTestHarness::active_test_rvh() {
315 return static_cast<TestRenderViewHost*>(active_rvh()); 315 return static_cast<TestRenderViewHost*>(active_rvh());
316 } 316 }
317 317
318 TestWebContents* RenderViewHostImplTestHarness::contents() { 318 TestWebContents* RenderViewHostImplTestHarness::contents() {
319 return static_cast<TestWebContents*>(web_contents()); 319 return static_cast<TestWebContents*>(web_contents());
320 } 320 }
321 321
322 } // namespace content 322 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698