OLD | NEW |
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/browser/browser_plugin/test_browser_plugin_guest.h" | 5 #include "content/browser/browser_plugin/test_browser_plugin_guest.h" |
6 | 6 |
7 #include "base/test/test_timeouts.h" | 7 #include "base/test/test_timeouts.h" |
8 #include "content/browser/renderer_host/render_view_host_impl.h" | 8 #include "content/browser/renderer_host/render_view_host_impl.h" |
9 #include "content/browser/web_contents/web_contents_impl.h" | 9 #include "content/browser/web_contents/web_contents_impl.h" |
10 #include "content/common/browser_plugin/browser_plugin_messages.h" | 10 #include "content/common/browser_plugin/browser_plugin_messages.h" |
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 if (load_stop_message_loop_runner_.get()) | 223 if (load_stop_message_loop_runner_.get()) |
224 load_stop_message_loop_runner_->Quit(); | 224 load_stop_message_loop_runner_->Quit(); |
225 } | 225 } |
226 | 226 |
227 void TestBrowserPluginGuest::WasHidden() { | 227 void TestBrowserPluginGuest::WasHidden() { |
228 was_hidden_observed_ = true; | 228 was_hidden_observed_ = true; |
229 if (was_hidden_message_loop_runner_.get()) | 229 if (was_hidden_message_loop_runner_.get()) |
230 was_hidden_message_loop_runner_->Quit(); | 230 was_hidden_message_loop_runner_->Quit(); |
231 } | 231 } |
232 | 232 |
| 233 |
233 } // namespace content | 234 } // namespace content |
OLD | NEW |