| 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 #include "chrome/browser/ui/browser.h" | 5 #include "chrome/browser/ui/browser.h" |
| 6 | 6 |
| 7 #if defined(OS_WIN) | 7 #if defined(OS_WIN) |
| 8 #include <windows.h> | 8 #include <windows.h> |
| 9 #include <shellapi.h> | 9 #include <shellapi.h> |
| 10 #endif // OS_WIN | 10 #endif // OS_WIN |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 #if defined(OS_CHROMEOS) | 184 #if defined(OS_CHROMEOS) |
| 185 #include "chrome/browser/chromeos/boot_times_loader.h" | 185 #include "chrome/browser/chromeos/boot_times_loader.h" |
| 186 #include "chrome/browser/ui/webui/active_downloads_ui.h" | 186 #include "chrome/browser/ui/webui/active_downloads_ui.h" |
| 187 #endif | 187 #endif |
| 188 | 188 |
| 189 #if !defined(OS_CHROMEOS) || defined(USE_AURA) | 189 #if !defined(OS_CHROMEOS) || defined(USE_AURA) |
| 190 #include "chrome/browser/download/download_shelf.h" | 190 #include "chrome/browser/download/download_shelf.h" |
| 191 #endif | 191 #endif |
| 192 | 192 |
| 193 #if defined(FILE_MANAGER_EXTENSION) | 193 #if defined(FILE_MANAGER_EXTENSION) |
| 194 #include "chrome/browser/chromeos/extensions/file_manager_util.h" | 194 #include "chrome/browser/extensions/file_manager_util.h" |
| 195 #endif | 195 #endif |
| 196 | 196 |
| 197 using base::TimeDelta; | 197 using base::TimeDelta; |
| 198 | 198 |
| 199 /////////////////////////////////////////////////////////////////////////////// | 199 /////////////////////////////////////////////////////////////////////////////// |
| 200 | 200 |
| 201 namespace { | 201 namespace { |
| 202 | 202 |
| 203 // The URL to be loaded to display Help. | 203 // The URL to be loaded to display Help. |
| 204 const char kHelpContentUrl[] = | 204 const char kHelpContentUrl[] = |
| (...skipping 5067 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5272 window_->GetLocationBar()->ShowFirstRunBubble(bubble_type); | 5272 window_->GetLocationBar()->ShowFirstRunBubble(bubble_type); |
| 5273 } else if (is_type_tabbed()) { | 5273 } else if (is_type_tabbed()) { |
| 5274 GlobalErrorService* service = | 5274 GlobalErrorService* service = |
| 5275 GlobalErrorServiceFactory::GetForProfile(profile()); | 5275 GlobalErrorServiceFactory::GetForProfile(profile()); |
| 5276 GlobalError* error = service->GetFirstGlobalErrorWithBubbleView(); | 5276 GlobalError* error = service->GetFirstGlobalErrorWithBubbleView(); |
| 5277 if (error) { | 5277 if (error) { |
| 5278 error->ShowBubbleView(this); | 5278 error->ShowBubbleView(this); |
| 5279 } | 5279 } |
| 5280 } | 5280 } |
| 5281 } | 5281 } |
| OLD | NEW |