OLD | NEW |
(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_ |
OLD | NEW |