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

Side by Side Diff: content/test/test_render_frame_host.h

Issue 1572743002: Make sure bubbles in Views default to close before their RenderFrameHosts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: Move DCHECK string into longer comment Created 4 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
« no previous file with comments | « content/public/test/test_renderer_host.h ('k') | content/test/test_render_frame_host.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_TEST_TEST_RENDER_FRAME_HOST_H_ 5 #ifndef CONTENT_TEST_TEST_RENDER_FRAME_HOST_H_
6 #define CONTENT_TEST_TEST_RENDER_FRAME_HOST_H_ 6 #define CONTENT_TEST_TEST_RENDER_FRAME_HOST_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <vector> 10 #include <vector>
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 int flags); 49 int flags);
50 ~TestRenderFrameHost() override; 50 ~TestRenderFrameHost() override;
51 51
52 // RenderFrameHostImpl overrides (same values, but in Test*/Mock* types) 52 // RenderFrameHostImpl overrides (same values, but in Test*/Mock* types)
53 TestRenderViewHost* GetRenderViewHost() override; 53 TestRenderViewHost* GetRenderViewHost() override;
54 MockRenderProcessHost* GetProcess() override; 54 MockRenderProcessHost* GetProcess() override;
55 55
56 // RenderFrameHostTester implementation. 56 // RenderFrameHostTester implementation.
57 void InitializeRenderFrameIfNeeded() override; 57 void InitializeRenderFrameIfNeeded() override;
58 TestRenderFrameHost* AppendChild(const std::string& frame_name) override; 58 TestRenderFrameHost* AppendChild(const std::string& frame_name) override;
59 void Detach() override;
59 void SimulateNavigationStart(const GURL& url) override; 60 void SimulateNavigationStart(const GURL& url) override;
60 void SimulateRedirect(const GURL& new_url) override; 61 void SimulateRedirect(const GURL& new_url) override;
61 void SimulateNavigationCommit(const GURL& url) override; 62 void SimulateNavigationCommit(const GURL& url) override;
62 void SimulateNavigationError(const GURL& url, int error_code) override; 63 void SimulateNavigationError(const GURL& url, int error_code) override;
63 void SimulateNavigationErrorPageCommit() override; 64 void SimulateNavigationErrorPageCommit() override;
64 void SimulateNavigationStop() override; 65 void SimulateNavigationStop() override;
65 void SendNavigate(int page_id, 66 void SendNavigate(int page_id,
66 int nav_entry_id, 67 int nav_entry_id,
67 bool did_create_new_entry, 68 bool did_create_new_entry,
68 const GURL& url) override; 69 const GURL& url) override;
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 149
149 // See set_simulate_history_list_was_cleared() above. 150 // See set_simulate_history_list_was_cleared() above.
150 bool simulate_history_list_was_cleared_; 151 bool simulate_history_list_was_cleared_;
151 152
152 DISALLOW_COPY_AND_ASSIGN(TestRenderFrameHost); 153 DISALLOW_COPY_AND_ASSIGN(TestRenderFrameHost);
153 }; 154 };
154 155
155 } // namespace content 156 } // namespace content
156 157
157 #endif // CONTENT_TEST_TEST_RENDER_FRAME_HOST_H_ 158 #endif // CONTENT_TEST_TEST_RENDER_FRAME_HOST_H_
OLDNEW
« no previous file with comments | « content/public/test/test_renderer_host.h ('k') | content/test/test_render_frame_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698