| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CHROME_BROWSER_BACKGROUND_BACKGROUND_CONTENTS_H_ | 5 #ifndef CHROME_BROWSER_BACKGROUND_BACKGROUND_CONTENTS_H_ |
| 6 #define CHROME_BROWSER_BACKGROUND_BACKGROUND_CONTENTS_H_ | 6 #define CHROME_BROWSER_BACKGROUND_BACKGROUND_CONTENTS_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 8 #include <string> | 10 #include <string> |
| 9 | 11 |
| 12 #include "base/macros.h" |
| 10 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 11 #include "base/observer_list.h" | 14 #include "base/observer_list.h" |
| 12 #include "content/public/browser/notification_observer.h" | 15 #include "content/public/browser/notification_observer.h" |
| 13 #include "content/public/browser/notification_registrar.h" | 16 #include "content/public/browser/notification_registrar.h" |
| 14 #include "content/public/browser/web_contents_delegate.h" | 17 #include "content/public/browser/web_contents_delegate.h" |
| 15 #include "content/public/browser/web_contents_observer.h" | 18 #include "content/public/browser/web_contents_observer.h" |
| 16 #include "extensions/browser/deferred_start_render_host.h" | 19 #include "extensions/browser/deferred_start_render_host.h" |
| 17 #include "ui/base/window_open_disposition.h" | 20 #include "ui/base/window_open_disposition.h" |
| 18 #include "url/gurl.h" | 21 #include "url/gurl.h" |
| 19 | 22 |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 BackgroundContents* contents; | 129 BackgroundContents* contents; |
| 127 | 130 |
| 128 // The name of the parent frame for these contents. | 131 // The name of the parent frame for these contents. |
| 129 const std::string& frame_name; | 132 const std::string& frame_name; |
| 130 | 133 |
| 131 // The ID of the parent application (if any). | 134 // The ID of the parent application (if any). |
| 132 const base::string16& application_id; | 135 const base::string16& application_id; |
| 133 }; | 136 }; |
| 134 | 137 |
| 135 #endif // CHROME_BROWSER_BACKGROUND_BACKGROUND_CONTENTS_H_ | 138 #endif // CHROME_BROWSER_BACKGROUND_BACKGROUND_CONTENTS_H_ |
| OLD | NEW |