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

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

Issue 9564023: Revert 124461 - Remove the singleton instance get/delete methods from RootWindow (yay) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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 #ifndef CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/gtest_prod_util.h" 10 #include "base/gtest_prod_util.h"
11 #include "base/message_loop.h" 11 #include "base/message_loop.h"
12 #include "build/build_config.h" 12 #include "build/build_config.h"
13 #include "content/browser/renderer_host/mock_render_process_host.h" 13 #include "content/browser/renderer_host/mock_render_process_host.h"
14 #include "content/browser/renderer_host/render_view_host.h" 14 #include "content/browser/renderer_host/render_view_host.h"
15 #include "content/browser/renderer_host/render_view_host_factory.h" 15 #include "content/browser/renderer_host/render_view_host_factory.h"
16 #include "content/browser/renderer_host/render_widget_host_view_base.h" 16 #include "content/browser/renderer_host/render_widget_host_view_base.h"
17 #include "content/public/common/page_transition_types.h" 17 #include "content/public/common/page_transition_types.h"
18 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
19 19
20 #if defined(USE_AURA) 20 #if defined(USE_AURA)
21 namespace aura { 21 namespace aura {
22 class RootWindow;
23 namespace test { 22 namespace test {
24 class TestStackingClient; 23 class TestStackingClient;
25 } 24 }
26 } 25 }
27 #endif 26 #endif
28 27
29 namespace content { 28 namespace content {
30 class BrowserContext; 29 class BrowserContext;
31 class NavigationController; 30 class NavigationController;
32 class RenderProcessHostFactory; 31 class RenderProcessHostFactory;
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after
368 scoped_ptr<content::BrowserContext> browser_context_; 367 scoped_ptr<content::BrowserContext> browser_context_;
369 368
370 MessageLoopForUI message_loop_; 369 MessageLoopForUI message_loop_;
371 370
372 MockRenderProcessHostFactory rph_factory_; 371 MockRenderProcessHostFactory rph_factory_;
373 TestRenderViewHostFactory rvh_factory_; 372 TestRenderViewHostFactory rvh_factory_;
374 373
375 private: 374 private:
376 scoped_ptr<TestTabContents> contents_; 375 scoped_ptr<TestTabContents> contents_;
377 #if defined(USE_AURA) 376 #if defined(USE_AURA)
378 scoped_ptr<aura::RootWindow> root_window_;
379 scoped_ptr<aura::test::TestStackingClient> test_stacking_client_; 377 scoped_ptr<aura::test::TestStackingClient> test_stacking_client_;
380 #endif 378 #endif
381 379
382 DISALLOW_COPY_AND_ASSIGN(RenderViewHostTestHarness); 380 DISALLOW_COPY_AND_ASSIGN(RenderViewHostTestHarness);
383 }; 381 };
384 382
385 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ 383 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_
OLDNEW
« no previous file with comments | « chrome/test/base/view_event_test_base.cc ('k') | content/browser/renderer_host/test_render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698