summaryrefslogtreecommitdiffstats
path: root/athena/main/athena_renderer_pdf_helper.h
blob: 7cae85bb24bfe64c4feac5cf6932a0c1812f2c89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef ATHENA_MAIN_ATHENA_RENDERER_PDF_HELPER_H_
#define ATHENA_MAIN_ATHENA_RENDERER_PDF_HELPER_H_

#include "content/public/renderer/render_frame_observer.h"

namespace athena {

class AthenaRendererPDFHelper : public content::RenderFrameObserver {
 public:
  explicit AthenaRendererPDFHelper(content::RenderFrame* frame);
  ~AthenaRendererPDFHelper() override;

 private:
  // RenderFrameObserver:
  virtual void DidCreatePepperPlugin(
      content::RendererPpapiHost* host) override;

  DISALLOW_COPY_AND_ASSIGN(AthenaRendererPDFHelper);
};

}  // namespace athena

#endif  // ATHENA_MAIN_ATHENA_RENDERER_PDF_HELPER_H_