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

Side by Side Diff: content/shell/shell_render_view_host_observer.cc

Issue 9834092: Content shell: Use only public API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 8 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
« no previous file with comments | « content/shell/shell_mac.mm ('k') | content/shell/shell_win.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 (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/shell/shell_render_view_host_observer.h" 5 #include "content/shell/shell_render_view_host_observer.h"
6 6
7 #include <iostream> 7 #include <iostream>
8 8
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "content/browser/renderer_host/render_view_host_impl.h" 10 #include "content/public/browser/render_view_host.h"
11 #include "content/shell/shell.h" 11 #include "content/shell/shell.h"
12 #include "content/shell/shell_messages.h" 12 #include "content/shell/shell_messages.h"
13 13
14 namespace content { 14 namespace content {
15 15
16 ShellRenderViewHostObserver::ShellRenderViewHostObserver( 16 ShellRenderViewHostObserver::ShellRenderViewHostObserver(
17 RenderViewHost* render_view_host) 17 RenderViewHost* render_view_host)
18 : RenderViewHostObserver(render_view_host), 18 : RenderViewHostObserver(render_view_host),
19 dump_child_frames_(false) { 19 dump_child_frames_(false) {
20 } 20 }
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 void ShellRenderViewHostObserver::OnDumpChildFramesAsText() { 54 void ShellRenderViewHostObserver::OnDumpChildFramesAsText() {
55 dump_child_frames_ = true; 55 dump_child_frames_ = true;
56 } 56 }
57 57
58 void ShellRenderViewHostObserver::OnWaitUntilDone() { 58 void ShellRenderViewHostObserver::OnWaitUntilDone() {
59 Shell* shell = Shell::FromRenderViewHost(render_view_host()); 59 Shell* shell = Shell::FromRenderViewHost(render_view_host());
60 shell->set_wait_until_done(); 60 shell->set_wait_until_done();
61 } 61 }
62 62
63 } // namespace content 63 } // namespace content
OLDNEW
« no previous file with comments | « content/shell/shell_mac.mm ('k') | content/shell/shell_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698