| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 #include "ui/base/cocoa/find_pasteboard.h" | 202 #include "ui/base/cocoa/find_pasteboard.h" |
| 203 #endif | 203 #endif |
| 204 | 204 |
| 205 #if defined(OS_CHROMEOS) | 205 #if defined(OS_CHROMEOS) |
| 206 #include "chrome/browser/chromeos/boot_times_loader.h" | 206 #include "chrome/browser/chromeos/boot_times_loader.h" |
| 207 #include "chrome/browser/chromeos/dbus/dbus_thread_manager.h" | 207 #include "chrome/browser/chromeos/dbus/dbus_thread_manager.h" |
| 208 #include "chrome/browser/chromeos/dbus/power_manager_client.h" | 208 #include "chrome/browser/chromeos/dbus/power_manager_client.h" |
| 209 #if defined(USE_AURA) | 209 #if defined(USE_AURA) |
| 210 #include "chrome/browser/extensions/api/terminal/terminal_extension_helper.h" | 210 #include "chrome/browser/extensions/api/terminal/terminal_extension_helper.h" |
| 211 #endif | 211 #endif |
| 212 #include "chrome/browser/ui/webui/active_downloads_ui.h" | 212 #include "chrome/browser/ui/webui/chromeos/active_downloads_ui.h" |
| 213 #endif | 213 #endif |
| 214 | 214 |
| 215 #if defined(USE_AURA) | 215 #if defined(USE_AURA) |
| 216 #include "ash/ash_switches.h" | 216 #include "ash/ash_switches.h" |
| 217 #include "ash/shell.h" | 217 #include "ash/shell.h" |
| 218 #include "chrome/browser/ui/views/ash/panel_view_aura.h" | 218 #include "chrome/browser/ui/views/ash/panel_view_aura.h" |
| 219 #endif | 219 #endif |
| 220 | 220 |
| 221 #if !defined(OS_CHROMEOS) || defined(USE_AURA) | 221 #if !defined(OS_CHROMEOS) || defined(USE_AURA) |
| 222 #include "chrome/browser/download/download_shelf.h" | 222 #include "chrome/browser/download/download_shelf.h" |
| (...skipping 5427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5650 } else { | 5650 } else { |
| 5651 LoginUIServiceFactory::GetForProfile( | 5651 LoginUIServiceFactory::GetForProfile( |
| 5652 profile()->GetOriginalProfile())->ShowLoginUI(); | 5652 profile()->GetOriginalProfile())->ShowLoginUI(); |
| 5653 } | 5653 } |
| 5654 #endif | 5654 #endif |
| 5655 } | 5655 } |
| 5656 | 5656 |
| 5657 void Browser::ToggleSpeechInput() { | 5657 void Browser::ToggleSpeechInput() { |
| 5658 GetSelectedWebContents()->GetRenderViewHost()->ToggleSpeechInput(); | 5658 GetSelectedWebContents()->GetRenderViewHost()->ToggleSpeechInput(); |
| 5659 } | 5659 } |
| OLD | NEW |