OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 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 CHROME_RENDERER_EXTENSIONS_CHROME_EXTENSIONS_RENDER_FRAME_OBSERVER_H_ |
| 6 #define CHROME_RENDERER_EXTENSIONS_CHROME_EXTENSIONS_RENDER_FRAME_OBSERVER_H_ |
| 7 |
| 8 #include "base/basictypes.h" |
| 9 #include "content/public/renderer/render_frame_observer.h" |
| 10 |
| 11 // This class holds the extensions specific parts of RenderFrame, and has the |
| 12 // same lifetime. |
| 13 class ChromeExtensionsRenderFrameObserver |
| 14 : public content::RenderFrameObserver { |
| 15 public: |
| 16 explicit ChromeExtensionsRenderFrameObserver( |
| 17 content::RenderFrame* render_frame); |
| 18 virtual ~ChromeExtensionsRenderFrameObserver(); |
| 19 |
| 20 private: |
| 21 // RenderFrameObserver implementation. |
| 22 virtual void DetailedConsoleMessageAdded(const base::string16& message, |
| 23 const base::string16& source, |
| 24 const base::string16& stack_trace, |
| 25 int32 line_number, |
| 26 int32 severity_level) OVERRIDE; |
| 27 |
| 28 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsRenderFrameObserver); |
| 29 }; |
| 30 |
| 31 #endif // CHROME_RENDERER_EXTENSIONS_CHROME_EXTENSIONS_RENDER_FRAME_OBSERVER_H_ |
| 32 |
OLD | NEW |