Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / extensions / renderer / extensions_render_frame_observer.h
blobfb2f444e8374231aede659ed78a5f73e24fe0ae8
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.
5 #ifndef EXTENSIONS_RENDERER_EXTENSIONS_RENDER_FRAME_OBSERVER_H_
6 #define EXTENSIONS_RENDERER_EXTENSIONS_RENDER_FRAME_OBSERVER_H_
8 #include "base/basictypes.h"
9 #include "content/public/renderer/render_frame_observer.h"
11 namespace extensions {
13 // This class holds the extensions specific parts of RenderFrame, and has the
14 // same lifetime.
15 class ExtensionsRenderFrameObserver
16 : public content::RenderFrameObserver {
17 public:
18 explicit ExtensionsRenderFrameObserver(
19 content::RenderFrame* render_frame);
20 ~ExtensionsRenderFrameObserver() override;
22 private:
23 // RenderFrameObserver implementation.
24 void DetailedConsoleMessageAdded(const base::string16& message,
25 const base::string16& source,
26 const base::string16& stack_trace,
27 int32 line_number,
28 int32 severity_level) override;
30 DISALLOW_COPY_AND_ASSIGN(ExtensionsRenderFrameObserver);
33 } // namespace extensions
35 #endif // EXTENSIONS_RENDERER_EXTENSIONS_RENDER_FRAME_OBSERVER_H_