OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
jam
2014/04/30 16:08:19
note: the guidelines for what goes in content/publ
dcheng
2014/04/30 17:56:06
Moved to content/test (RenderViewTest needs this a
| |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #include "base/macros.h" | |
6 #include "base/run_loop.h" | |
7 #include "content/public/renderer/render_view_observer.h" | |
8 | |
9 namespace content { | |
10 | |
11 class FrameLoadWaiter : public content::RenderViewObserver { | |
sky
2014/04/30 13:30:59
Add description.
dcheng
2014/04/30 17:56:06
Done.
| |
12 public: | |
13 explicit FrameLoadWaiter(RenderView* view); | |
14 void Wait(); | |
15 | |
16 private: | |
17 virtual void DidFinishLoad(blink::WebLocalFrame* frame) OVERRIDE; | |
18 | |
19 base::RunLoop run_loop_; | |
20 | |
21 DISALLOW_COPY_AND_ASSIGN(FrameLoadWaiter); | |
22 }; | |
23 | |
24 } // namespace content | |
OLD | NEW |