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

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

Issue 329053004: Fix race in BrowserAccessibilityManagerWin creation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
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_render_view_host.h" 5 #include "content/test/test_render_view_host.h"
6 6
7 #include "base/memory/scoped_ptr.h" 7 #include "base/memory/scoped_ptr.h"
8 #include "content/browser/dom_storage/dom_storage_context_wrapper.h" 8 #include "content/browser/dom_storage/dom_storage_context_wrapper.h"
9 #include "content/browser/dom_storage/session_storage_namespace_impl.h" 9 #include "content/browser/dom_storage/session_storage_namespace_impl.h"
10 #include "content/browser/site_instance_impl.h" 10 #include "content/browser/site_instance_impl.h"
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 } 187 }
188 188
189 bool TestRenderWidgetHostView::LockMouse() { 189 bool TestRenderWidgetHostView::LockMouse() {
190 return false; 190 return false;
191 } 191 }
192 192
193 void TestRenderWidgetHostView::UnlockMouse() { 193 void TestRenderWidgetHostView::UnlockMouse() {
194 } 194 }
195 195
196 #if defined(OS_WIN) 196 #if defined(OS_WIN)
197 void TestRenderWidgetHostView::SetParentNativeViewAccessible( 197 HWND TestRenderWidgetHostView::GetAccessibleParentHWND() const {
198 gfx::NativeViewAccessible accessible_parent) { 198 return NULL;
199 }
200
201 IAccessible* TestRenderWidgetHostView::GetParentIAccessible() const {
202 return NULL;
199 } 203 }
200 204
201 gfx::NativeViewId TestRenderWidgetHostView::GetParentForWindowlessPlugin() 205 gfx::NativeViewId TestRenderWidgetHostView::GetParentForWindowlessPlugin()
202 const { 206 const {
203 return 0; 207 return 0;
204 } 208 }
205 #endif 209 #endif
206 210
207 TestRenderViewHost::TestRenderViewHost( 211 TestRenderViewHost::TestRenderViewHost(
208 SiteInstance* instance, 212 SiteInstance* instance,
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 391
388 TestRenderFrameHost* RenderViewHostImplTestHarness::main_test_rfh() { 392 TestRenderFrameHost* RenderViewHostImplTestHarness::main_test_rfh() {
389 return static_cast<TestRenderFrameHost*>(main_rfh()); 393 return static_cast<TestRenderFrameHost*>(main_rfh());
390 } 394 }
391 395
392 TestWebContents* RenderViewHostImplTestHarness::contents() { 396 TestWebContents* RenderViewHostImplTestHarness::contents() {
393 return static_cast<TestWebContents*>(web_contents()); 397 return static_cast<TestWebContents*>(web_contents());
394 } 398 }
395 399
396 } // namespace content 400 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698