| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 HEADLESS_PUBLIC_HEADLESS_WEB_CONTENTS_H_ | 5 #ifndef HEADLESS_PUBLIC_HEADLESS_WEB_CONTENTS_H_ |
| 6 #define HEADLESS_PUBLIC_HEADLESS_WEB_CONTENTS_H_ | 6 #define HEADLESS_PUBLIC_HEADLESS_WEB_CONTENTS_H_ |
| 7 | 7 |
| 8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "base/memory/scoped_ptr.h" | |
| 11 #include "headless/public/headless_export.h" | 10 #include "headless/public/headless_export.h" |
| 12 #include "url/gurl.h" | 11 #include "url/gurl.h" |
| 13 | 12 |
| 14 namespace headless { | 13 namespace headless { |
| 15 class HeadlessDevToolsTarget; | 14 class HeadlessDevToolsTarget; |
| 16 | 15 |
| 17 // Class representing contents of a browser tab. Should be accessed from browser | 16 // Class representing contents of a browser tab. Should be accessed from browser |
| 18 // main thread. | 17 // main thread. |
| 19 class HEADLESS_EXPORT HeadlessWebContents { | 18 class HEADLESS_EXPORT HeadlessWebContents { |
| 20 public: | 19 public: |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 private: | 53 private: |
| 55 friend class HeadlessWebContentsImpl; | 54 friend class HeadlessWebContentsImpl; |
| 56 HeadlessWebContents() {} | 55 HeadlessWebContents() {} |
| 57 | 56 |
| 58 DISALLOW_COPY_AND_ASSIGN(HeadlessWebContents); | 57 DISALLOW_COPY_AND_ASSIGN(HeadlessWebContents); |
| 59 }; | 58 }; |
| 60 | 59 |
| 61 } // namespace headless | 60 } // namespace headless |
| 62 | 61 |
| 63 #endif // HEADLESS_PUBLIC_HEADLESS_WEB_CONTENTS_H_ | 62 #endif // HEADLESS_PUBLIC_HEADLESS_WEB_CONTENTS_H_ |
| OLD | NEW |