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

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

Issue 9289045: Add option --dump-render-tree to content_shell to dump the render tree as text. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_SHELL_SHELL_RENDER_VIEW_HOST_OBSERVER_H_
6 #define CONTENT_SHELL_SHELL_RENDER_VIEW_HOST_OBSERVER_H_
7 #pragma once
8
9 #include <string>
10
11 #include "content/public/browser/render_view_host_observer.h"
12
13 namespace content {
14
15 class ShellRenderViewHostObserver : public RenderViewHostObserver {
16 public:
17 explicit ShellRenderViewHostObserver(RenderViewHost* render_view_host);
18 virtual ~ShellRenderViewHostObserver();
19
20 // RenderViewHostObserver implementation.
21 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
22
23 private:
24 // Message handlers.
25 void OnTextDump(const std::string& dump);
26
27 DISALLOW_COPY_AND_ASSIGN(ShellRenderViewHostObserver);
28 };
29
30 } // namespace content
31
32 #endif // CONTENT_SHELL_SHELL_RENDER_VIEW_HOST_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698