| OLD | NEW |
| 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2014 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 #include "chrome/browser/ui/settings_window_manager.h" | 5 #include "chrome/browser/ui/settings_window_manager.h" |
| 6 | 6 |
| 7 #include "chrome/browser/profiles/profile.h" | 7 #include "chrome/browser/profiles/profile.h" |
| 8 #include "chrome/browser/ui/browser_finder.h" | 8 #include "chrome/browser/ui/browser_finder.h" |
| 9 #include "chrome/browser/ui/browser_navigator.h" | 9 #include "chrome/browser/ui/browser_navigator.h" |
| 10 #include "chrome/browser/ui/browser_navigator_params.h" | 10 #include "chrome/browser/ui/browser_navigator_params.h" |
| 11 #include "chrome/browser/ui/browser_window.h" | 11 #include "chrome/browser/ui/browser_window.h" |
| 12 #include "chrome/browser/ui/chrome_pages.h" | 12 #include "chrome/browser/ui/chrome_pages.h" |
| 13 #include "chrome/browser/ui/settings_window_manager_observer.h" | 13 #include "chrome/browser/ui/settings_window_manager_observer.h" |
| 14 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 14 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
| 15 #include "content/public/browser/user_metrics.h" | |
| 16 #include "content/public/browser/web_contents.h" | 15 #include "content/public/browser/web_contents.h" |
| 17 #include "url/gurl.h" | 16 #include "url/gurl.h" |
| 18 | 17 |
| 19 namespace chrome { | 18 namespace chrome { |
| 20 | 19 |
| 21 // static | 20 // static |
| 22 SettingsWindowManager* SettingsWindowManager::GetInstance() { | 21 SettingsWindowManager* SettingsWindowManager::GetInstance() { |
| 23 return base::Singleton<SettingsWindowManager>::get(); | 22 return base::Singleton<SettingsWindowManager>::get(); |
| 24 } | 23 } |
| 25 | 24 |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 iter->second == browser->session_id().id()); | 86 iter->second == browser->session_id().id()); |
| 88 } | 87 } |
| 89 | 88 |
| 90 SettingsWindowManager::SettingsWindowManager() { | 89 SettingsWindowManager::SettingsWindowManager() { |
| 91 } | 90 } |
| 92 | 91 |
| 93 SettingsWindowManager::~SettingsWindowManager() { | 92 SettingsWindowManager::~SettingsWindowManager() { |
| 94 } | 93 } |
| 95 | 94 |
| 96 } // namespace chrome | 95 } // namespace chrome |
| OLD | NEW |