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

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

Issue 10378089: Browser Plugin: Removed BrowserPluginWebContentsObserver (to be replaced by rewritten BrowserPlugi… (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Yet another unit test fixed Created 8 years, 7 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"
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 267
268 // If set, navigations will appear to have loaded through a proxy 268 // If set, navigations will appear to have loaded through a proxy
269 // (ViewHostMsg_FrameNavigte_Params::was_fetched_via_proxy). 269 // (ViewHostMsg_FrameNavigte_Params::was_fetched_via_proxy).
270 // False by default. 270 // False by default.
271 void set_simulate_fetch_via_proxy(bool proxy); 271 void set_simulate_fetch_via_proxy(bool proxy);
272 272
273 // RenderViewHost overrides -------------------------------------------------- 273 // RenderViewHost overrides --------------------------------------------------
274 274
275 virtual bool CreateRenderView(const string16& frame_name, 275 virtual bool CreateRenderView(const string16& frame_name,
276 int opener_route_id, 276 int opener_route_id,
277 int32 max_page_id) OVERRIDE; 277 int32 max_page_id,
278 int embedder_process_id) OVERRIDE;
278 virtual bool IsRenderViewLive() const OVERRIDE; 279 virtual bool IsRenderViewLive() const OVERRIDE;
279 280
280 private: 281 private:
281 FRIEND_TEST_ALL_PREFIXES(RenderViewHostTest, FilterNavigate); 282 FRIEND_TEST_ALL_PREFIXES(RenderViewHostTest, FilterNavigate);
282 283
283 // Tracks if the caller thinks if it created the RenderView. This is so we can 284 // Tracks if the caller thinks if it created the RenderView. This is so we can
284 // respond to IsRenderViewLive appropriately. 285 // respond to IsRenderViewLive appropriately.
285 bool render_view_created_; 286 bool render_view_created_;
286 287
287 // See set_delete_counter() above. May be NULL. 288 // See set_delete_counter() above. May be NULL.
(...skipping 24 matching lines...) Expand all
312 TestRenderViewHost* active_test_rvh(); 313 TestRenderViewHost* active_test_rvh();
313 TestWebContents* contents(); 314 TestWebContents* contents();
314 315
315 private: 316 private:
316 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); 317 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness);
317 }; 318 };
318 319
319 } // namespace content 320 } // namespace content
320 321
321 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ 322 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_view_host_impl.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