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

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

Issue 136643006: Clean up some ifdefs around Win Aura. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 6 years, 10 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/test/test_render_view_host.h ('k') | ui/app_list/views/app_list_view.cc » ('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) 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 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 return gfx::GLSurfaceHandle(); 207 return gfx::GLSurfaceHandle();
208 } 208 }
209 209
210 bool TestRenderWidgetHostView::LockMouse() { 210 bool TestRenderWidgetHostView::LockMouse() {
211 return false; 211 return false;
212 } 212 }
213 213
214 void TestRenderWidgetHostView::UnlockMouse() { 214 void TestRenderWidgetHostView::UnlockMouse() {
215 } 215 }
216 216
217 #if defined(OS_WIN) && defined(USE_AURA) 217 #if defined(OS_WIN)
218 void TestRenderWidgetHostView::SetParentNativeViewAccessible( 218 void TestRenderWidgetHostView::SetParentNativeViewAccessible(
219 gfx::NativeViewAccessible accessible_parent) { 219 gfx::NativeViewAccessible accessible_parent) {
220 } 220 }
221 221
222 gfx::NativeViewId TestRenderWidgetHostView::GetParentForWindowlessPlugin() 222 gfx::NativeViewId TestRenderWidgetHostView::GetParentForWindowlessPlugin()
223 const { 223 const {
224 return 0; 224 return 0;
225 } 225 }
226 #endif 226 #endif
227 227
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
427 427
428 TestRenderFrameHost* RenderViewHostImplTestHarness::main_test_rfh() { 428 TestRenderFrameHost* RenderViewHostImplTestHarness::main_test_rfh() {
429 return static_cast<TestRenderFrameHost*>(main_rfh()); 429 return static_cast<TestRenderFrameHost*>(main_rfh());
430 } 430 }
431 431
432 TestWebContents* RenderViewHostImplTestHarness::contents() { 432 TestWebContents* RenderViewHostImplTestHarness::contents() {
433 return static_cast<TestWebContents*>(web_contents()); 433 return static_cast<TestWebContents*>(web_contents());
434 } 434 }
435 435
436 } // namespace content 436 } // namespace content
OLDNEW
« no previous file with comments | « content/test/test_render_view_host.h ('k') | ui/app_list/views/app_list_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698