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

Side by Side Diff: chrome/browser/renderer_host/test/test_render_view_host.h

Issue 4078003: Refactoring select popup on Mac.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 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
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 CHROME_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_
6 #define CHROME_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_TEST_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 "chrome/browser/renderer_host/mock_render_process_host.h" 13 #include "chrome/browser/renderer_host/mock_render_process_host.h"
14 #include "chrome/browser/renderer_host/render_widget_host_view.h" 14 #include "chrome/browser/renderer_host/render_widget_host_view.h"
15 #include "chrome/browser/renderer_host/render_view_host.h" 15 #include "chrome/browser/renderer_host/render_view_host.h"
16 #include "chrome/browser/renderer_host/render_view_host_factory.h" 16 #include "chrome/browser/renderer_host/render_view_host_factory.h"
17 #include "chrome/common/page_transition_types.h" 17 #include "chrome/common/page_transition_types.h"
18 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
19 19
20 namespace gfx { 20 namespace gfx {
21 class Rect; 21 class Rect;
22 } 22 }
23 23
24 class NavigationController; 24 class NavigationController;
25 class SiteInstance; 25 class SiteInstance;
26 class TestingProfile; 26 class TestingProfile;
27 class TestTabContents; 27 class TestTabContents;
28 struct WebMenuItem;
28 struct ViewHostMsg_FrameNavigate_Params; 29 struct ViewHostMsg_FrameNavigate_Params;
29 30
30 // Utility function to initialize ViewHostMsg_NavigateParams_Params 31 // Utility function to initialize ViewHostMsg_NavigateParams_Params
31 // with given |page_id|, |url| and |transition_type|. 32 // with given |page_id|, |url| and |transition_type|.
32 void InitNavigateParams(ViewHostMsg_FrameNavigate_Params* params, 33 void InitNavigateParams(ViewHostMsg_FrameNavigate_Params* params,
33 int page_id, 34 int page_id,
34 const GURL& url, 35 const GURL& url,
35 PageTransition::Type transition_type); 36 PageTransition::Type transition_type);
36 37
37 // This file provides a testing framework for mocking out the RenderProcessHost 38 // This file provides a testing framework for mocking out the RenderProcessHost
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 279
279 MockRenderProcessHostFactory rph_factory_; 280 MockRenderProcessHostFactory rph_factory_;
280 TestRenderViewHostFactory rvh_factory_; 281 TestRenderViewHostFactory rvh_factory_;
281 282
282 scoped_ptr<TestTabContents> contents_; 283 scoped_ptr<TestTabContents> contents_;
283 284
284 DISALLOW_COPY_AND_ASSIGN(RenderViewHostTestHarness); 285 DISALLOW_COPY_AND_ASSIGN(RenderViewHostTestHarness);
285 }; 286 };
286 287
287 #endif // CHROME_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_ 288 #endif // CHROME_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/render_widget_host_view_mac.mm ('k') | chrome/browser/tab_contents/background_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698