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

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

Issue 6840060: Progress towards fixing 77536 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: "" Created 9 years, 8 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/browser/renderer_host/test_render_view_host.h ('k') | content/common/gpu_messages.h » ('j') | 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "chrome/browser/browser_url_handler.h" 5 #include "chrome/browser/browser_url_handler.h"
6 #include "chrome/test/testing_profile.h" 6 #include "chrome/test/testing_profile.h"
7 #include "content/browser/renderer_host/test_backing_store.h" 7 #include "content/browser/renderer_host/test_backing_store.h"
8 #include "content/browser/renderer_host/test_render_view_host.h" 8 #include "content/browser/renderer_host/test_render_view_host.h"
9 #include "content/browser/site_instance.h" 9 #include "content/browser/site_instance.h"
10 #include "content/browser/tab_contents/navigation_controller.h" 10 #include "content/browser/tab_contents/navigation_controller.h"
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 void TestRenderWidgetHostView::GpuRenderingStateDidChange() { 235 void TestRenderWidgetHostView::GpuRenderingStateDidChange() {
236 } 236 }
237 #elif defined(OS_WIN) 237 #elif defined(OS_WIN)
238 void TestRenderWidgetHostView::WillWmDestroy() { 238 void TestRenderWidgetHostView::WillWmDestroy() {
239 } 239 }
240 240
241 void TestRenderWidgetHostView::ShowCompositorHostWindow(bool show) { 241 void TestRenderWidgetHostView::ShowCompositorHostWindow(bool show) {
242 } 242 }
243 #endif 243 #endif
244 244
245 gfx::PluginWindowHandle TestRenderWidgetHostView::AcquireCompositingSurface() { 245 gfx::PluginWindowHandle TestRenderWidgetHostView::GetCompositingSurface() {
246 return gfx::kNullPluginWindow; 246 return gfx::kNullPluginWindow;
247 } 247 }
248 248
249 bool TestRenderWidgetHostView::ContainsNativeView( 249 bool TestRenderWidgetHostView::ContainsNativeView(
250 gfx::NativeView native_view) const { 250 gfx::NativeView native_view) const {
251 return false; 251 return false;
252 } 252 }
253 253
254 TestRenderViewHostFactory::TestRenderViewHostFactory( 254 TestRenderViewHostFactory::TestRenderViewHostFactory(
255 RenderProcessHostFactory* rph_factory) 255 RenderProcessHostFactory* rph_factory)
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 SetContents(NULL); 354 SetContents(NULL);
355 355
356 // Make sure that we flush any messages related to TabContents destruction 356 // Make sure that we flush any messages related to TabContents destruction
357 // before we destroy the profile. 357 // before we destroy the profile.
358 MessageLoop::current()->RunAllPending(); 358 MessageLoop::current()->RunAllPending();
359 359
360 // Release the profile on the UI thread. 360 // Release the profile on the UI thread.
361 message_loop_.DeleteSoon(FROM_HERE, profile_.release()); 361 message_loop_.DeleteSoon(FROM_HERE, profile_.release());
362 message_loop_.RunAllPending(); 362 message_loop_.RunAllPending();
363 } 363 }
OLDNEW
« no previous file with comments | « content/browser/renderer_host/test_render_view_host.h ('k') | content/common/gpu_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698