| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_CONTENTS_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_BACKGROUND_CONTENTS_SERVICE_H_ |
| 6 #define CHROME_BROWSER_BACKGROUND_CONTENTS_SERVICE_H_ | 6 #define CHROME_BROWSER_BACKGROUND_CONTENTS_SERVICE_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 | 10 |
| 11 #include "base/gtest_prod_util.h" | 11 #include "base/gtest_prod_util.h" |
| 12 #include "chrome/browser/tab_contents/background_contents.h" | 12 #include "chrome/browser/tab_contents/background_contents.h" |
| 13 #include "chrome/common/notification_observer.h" | 13 #include "chrome/common/notification_observer.h" |
| 14 #include "chrome/common/notification_registrar.h" | 14 #include "chrome/common/notification_registrar.h" |
| 15 #include "chrome/common/window_container_type.h" | 15 #include "chrome/common/window_container_type.h" |
| 16 #include "googleurl/src/gurl.h" | 16 #include "googleurl/src/gurl.h" |
| 17 #include "webkit/glue/window_open_disposition.h" | 17 #include "webkit/glue/window_open_disposition.h" |
| 18 | 18 |
| 19 class BackgroundContents; | |
| 20 class CommandLine; | 19 class CommandLine; |
| 21 class PrefService; | 20 class PrefService; |
| 22 class Profile; | 21 class Profile; |
| 23 class TabContents; | 22 class TabContents; |
| 24 | 23 |
| 25 namespace gfx { | 24 namespace gfx { |
| 26 class Rect; | 25 class Rect; |
| 27 } | 26 } |
| 28 | 27 |
| 29 struct BackgroundContentsOpenedDetails; | 28 struct BackgroundContentsOpenedDetails; |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 // applications. | 123 // applications. |
| 125 // Key: application id | 124 // Key: application id |
| 126 // Value: BackgroundContentsInfo for the BC associated with that application | 125 // Value: BackgroundContentsInfo for the BC associated with that application |
| 127 typedef std::map<string16, BackgroundContentsInfo> BackgroundContentsMap; | 126 typedef std::map<string16, BackgroundContentsInfo> BackgroundContentsMap; |
| 128 BackgroundContentsMap contents_map_; | 127 BackgroundContentsMap contents_map_; |
| 129 | 128 |
| 130 DISALLOW_COPY_AND_ASSIGN(BackgroundContentsService); | 129 DISALLOW_COPY_AND_ASSIGN(BackgroundContentsService); |
| 131 }; | 130 }; |
| 132 | 131 |
| 133 #endif // CHROME_BROWSER_BACKGROUND_CONTENTS_SERVICE_H_ | 132 #endif // CHROME_BROWSER_BACKGROUND_CONTENTS_SERVICE_H_ |
| OLD | NEW |