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

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

Issue 8402018: Fix build on the "Linux Clang (ChromeOS dbg)" bot. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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') | 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 1
2 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 2 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be 3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file. 4 // found in the LICENSE file.
5 5
6 #include "content/browser/browser_url_handler.h" 6 #include "content/browser/browser_url_handler.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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 } 139 }
140 140
141 gfx::NativeView TestRenderWidgetHostView::GetNativeView() const { 141 gfx::NativeView TestRenderWidgetHostView::GetNativeView() const {
142 return NULL; 142 return NULL;
143 } 143 }
144 144
145 gfx::NativeViewId TestRenderWidgetHostView::GetNativeViewId() const { 145 gfx::NativeViewId TestRenderWidgetHostView::GetNativeViewId() const {
146 return 0; 146 return 0;
147 } 147 }
148 148
149 bool TestRenderWidgetHostView::HasFocus() { 149 bool TestRenderWidgetHostView::HasFocus() const {
150 return true; 150 return true;
151 } 151 }
152 152
153 void TestRenderWidgetHostView::Show() { 153 void TestRenderWidgetHostView::Show() {
154 is_showing_ = true; 154 is_showing_ = true;
155 } 155 }
156 156
157 void TestRenderWidgetHostView::Hide() { 157 void TestRenderWidgetHostView::Hide() {
158 is_showing_ = false; 158 is_showing_ = false;
159 } 159 }
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 SetContents(NULL); 363 SetContents(NULL);
364 364
365 // Make sure that we flush any messages related to TabContents destruction 365 // Make sure that we flush any messages related to TabContents destruction
366 // before we destroy the browser context. 366 // before we destroy the browser context.
367 MessageLoop::current()->RunAllPending(); 367 MessageLoop::current()->RunAllPending();
368 368
369 // Release the browser context on the UI thread. 369 // Release the browser context on the UI thread.
370 message_loop_.DeleteSoon(FROM_HERE, browser_context_.release()); 370 message_loop_.DeleteSoon(FROM_HERE, browser_context_.release());
371 message_loop_.RunAllPending(); 371 message_loop_.RunAllPending();
372 } 372 }
OLDNEW
« no previous file with comments | « content/browser/renderer_host/test_render_view_host.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698