• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 ATHENA_MAIN_ATHENA_RENDERER_PDF_HELPER_H_
6 #define ATHENA_MAIN_ATHENA_RENDERER_PDF_HELPER_H_
7 
8 #include "content/public/renderer/render_frame_observer.h"
9 
10 namespace athena {
11 
12 class AthenaRendererPDFHelper : public content::RenderFrameObserver {
13  public:
14   explicit AthenaRendererPDFHelper(content::RenderFrame* frame);
15   virtual ~AthenaRendererPDFHelper();
16 
17  private:
18   // RenderFrameObserver:
19   virtual void DidCreatePepperPlugin(
20       content::RendererPpapiHost* host) OVERRIDE;
21 
22   DISALLOW_COPY_AND_ASSIGN(AthenaRendererPDFHelper);
23 };
24 
25 }  // namespace athena
26 
27 #endif  // ATHENA_MAIN_ATHENA_RENDERER_PDF_HELPER_H_
28