| 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_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 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
| 13 #include "chrome/browser/tab_contents/background_contents.h" | 13 #include "chrome/browser/tab_contents/background_contents.h" |
| 14 #include "chrome/common/window_container_type.h" | |
| 15 #include "content/common/notification_observer.h" | 14 #include "content/common/notification_observer.h" |
| 16 #include "content/common/notification_registrar.h" | 15 #include "content/common/notification_registrar.h" |
| 16 #include "content/common/window_container_type.h" |
| 17 #include "googleurl/src/gurl.h" | 17 #include "googleurl/src/gurl.h" |
| 18 #include "webkit/glue/window_open_disposition.h" | 18 #include "webkit/glue/window_open_disposition.h" |
| 19 | 19 |
| 20 class CommandLine; | 20 class CommandLine; |
| 21 class PrefService; | 21 class PrefService; |
| 22 class Profile; | 22 class Profile; |
| 23 class TabContents; | 23 class TabContents; |
| 24 | 24 |
| 25 namespace gfx { | 25 namespace gfx { |
| 26 class Rect; | 26 class Rect; |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 // applications. | 145 // applications. |
| 146 // Key: application id | 146 // Key: application id |
| 147 // Value: BackgroundContentsInfo for the BC associated with that application | 147 // Value: BackgroundContentsInfo for the BC associated with that application |
| 148 typedef std::map<string16, BackgroundContentsInfo> BackgroundContentsMap; | 148 typedef std::map<string16, BackgroundContentsInfo> BackgroundContentsMap; |
| 149 BackgroundContentsMap contents_map_; | 149 BackgroundContentsMap contents_map_; |
| 150 | 150 |
| 151 DISALLOW_COPY_AND_ASSIGN(BackgroundContentsService); | 151 DISALLOW_COPY_AND_ASSIGN(BackgroundContentsService); |
| 152 }; | 152 }; |
| 153 | 153 |
| 154 #endif // CHROME_BROWSER_BACKGROUND_CONTENTS_SERVICE_H_ | 154 #endif // CHROME_BROWSER_BACKGROUND_CONTENTS_SERVICE_H_ |
| OLD | NEW |