OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 COMPONENTS_PDF_BROWSER_PDF_WEB_CONTENTS_HELPER_H_ | 5 #ifndef COMPONENTS_PDF_BROWSER_PDF_WEB_CONTENTS_HELPER_H_ |
6 #define COMPONENTS_PDF_BROWSER_PDF_WEB_CONTENTS_HELPER_H_ | 6 #define COMPONENTS_PDF_BROWSER_PDF_WEB_CONTENTS_HELPER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
| 11 #include "base/macros.h" |
11 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
12 #include "content/public/browser/web_contents_observer.h" | 13 #include "content/public/browser/web_contents_observer.h" |
13 #include "content/public/browser/web_contents_user_data.h" | 14 #include "content/public/browser/web_contents_user_data.h" |
14 #include "ipc/ipc_message.h" | 15 #include "ipc/ipc_message.h" |
15 | 16 |
16 namespace content { | 17 namespace content { |
17 class WebContents; | 18 class WebContents; |
18 } | 19 } |
19 | 20 |
20 namespace pdf { | 21 namespace pdf { |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 // The model for the confirmation prompt to open a PDF in Adobe Reader. | 61 // The model for the confirmation prompt to open a PDF in Adobe Reader. |
61 scoped_ptr<OpenPDFInReaderPromptClient> open_in_reader_prompt_; | 62 scoped_ptr<OpenPDFInReaderPromptClient> open_in_reader_prompt_; |
62 scoped_ptr<PDFWebContentsHelperClient> client_; | 63 scoped_ptr<PDFWebContentsHelperClient> client_; |
63 | 64 |
64 DISALLOW_COPY_AND_ASSIGN(PDFWebContentsHelper); | 65 DISALLOW_COPY_AND_ASSIGN(PDFWebContentsHelper); |
65 }; | 66 }; |
66 | 67 |
67 } // namespace pdf | 68 } // namespace pdf |
68 | 69 |
69 #endif // COMPONENTS_PDF_BROWSER_PDF_WEB_CONTENTS_HELPER_H_ | 70 #endif // COMPONENTS_PDF_BROWSER_PDF_WEB_CONTENTS_HELPER_H_ |
OLD | NEW |