OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef ATHENA_MAIN_ATHENA_RENDERER_PDF_HELPER_H_ | 5 #ifndef ATHENA_MAIN_ATHENA_RENDERER_PDF_HELPER_H_ |
6 #define ATHENA_MAIN_ATHENA_RENDERER_PDF_HELPER_H_ | 6 #define ATHENA_MAIN_ATHENA_RENDERER_PDF_HELPER_H_ |
7 | 7 |
8 #include "content/public/renderer/render_frame_observer.h" | 8 #include "content/public/renderer/render_frame_observer.h" |
9 | 9 |
10 namespace athena { | 10 namespace athena { |
11 | 11 |
12 class AthenaRendererPDFHelper : public content::RenderFrameObserver { | 12 class AthenaRendererPDFHelper : public content::RenderFrameObserver { |
13 public: | 13 public: |
14 explicit AthenaRendererPDFHelper(content::RenderFrame* frame); | 14 explicit AthenaRendererPDFHelper(content::RenderFrame* frame); |
15 virtual ~AthenaRendererPDFHelper(); | 15 virtual ~AthenaRendererPDFHelper(); |
16 | 16 |
17 private: | 17 private: |
18 // RenderFrameObserver: | 18 // RenderFrameObserver: |
19 virtual void DidCreatePepperPlugin( | 19 virtual void DidCreatePepperPlugin( |
20 content::RendererPpapiHost* host) OVERRIDE; | 20 content::RendererPpapiHost* host) override; |
21 | 21 |
22 DISALLOW_COPY_AND_ASSIGN(AthenaRendererPDFHelper); | 22 DISALLOW_COPY_AND_ASSIGN(AthenaRendererPDFHelper); |
23 }; | 23 }; |
24 | 24 |
25 } // namespace athena | 25 } // namespace athena |
26 | 26 |
27 #endif // ATHENA_MAIN_ATHENA_RENDERER_PDF_HELPER_H_ | 27 #endif // ATHENA_MAIN_ATHENA_RENDERER_PDF_HELPER_H_ |
OLD | NEW |