Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(790)

Side by Side Diff: chrome/browser/ui/browser.cc

Issue 9688019: Add a Content API around BrowserURLHandler. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix gypis Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/browser/ui/browser_navigator.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 #include "chrome/common/chrome_constants.h" 143 #include "chrome/common/chrome_constants.h"
144 #include "chrome/common/chrome_notification_types.h" 144 #include "chrome/common/chrome_notification_types.h"
145 #include "chrome/common/chrome_switches.h" 145 #include "chrome/common/chrome_switches.h"
146 #include "chrome/common/custom_handlers/protocol_handler.h" 146 #include "chrome/common/custom_handlers/protocol_handler.h"
147 #include "chrome/common/extensions/extension.h" 147 #include "chrome/common/extensions/extension.h"
148 #include "chrome/common/extensions/extension_constants.h" 148 #include "chrome/common/extensions/extension_constants.h"
149 #include "chrome/common/pref_names.h" 149 #include "chrome/common/pref_names.h"
150 #include "chrome/common/profiling.h" 150 #include "chrome/common/profiling.h"
151 #include "chrome/common/url_constants.h" 151 #include "chrome/common/url_constants.h"
152 #include "chrome/common/web_apps.h" 152 #include "chrome/common/web_apps.h"
153 #include "content/browser/browser_url_handler.h"
154 #include "content/public/browser/devtools_manager.h" 153 #include "content/public/browser/devtools_manager.h"
155 #include "content/public/browser/download_item.h" 154 #include "content/public/browser/download_item.h"
156 #include "content/public/browser/download_manager.h" 155 #include "content/public/browser/download_manager.h"
157 #include "content/public/browser/interstitial_page.h" 156 #include "content/public/browser/interstitial_page.h"
158 #include "content/public/browser/invalidate_type.h" 157 #include "content/public/browser/invalidate_type.h"
159 #include "content/public/browser/navigation_controller.h" 158 #include "content/public/browser/navigation_controller.h"
160 #include "content/public/browser/navigation_entry.h" 159 #include "content/public/browser/navigation_entry.h"
161 #include "content/public/browser/notification_details.h" 160 #include "content/public/browser/notification_details.h"
162 #include "content/public/browser/notification_service.h" 161 #include "content/public/browser/notification_service.h"
163 #include "content/public/browser/plugin_service.h" 162 #include "content/public/browser/plugin_service.h"
(...skipping 5486 matching lines...) Expand 10 before | Expand all | Expand 10 after
5650 } else { 5649 } else {
5651 LoginUIServiceFactory::GetForProfile( 5650 LoginUIServiceFactory::GetForProfile(
5652 profile()->GetOriginalProfile())->ShowLoginUI(); 5651 profile()->GetOriginalProfile())->ShowLoginUI();
5653 } 5652 }
5654 #endif 5653 #endif
5655 } 5654 }
5656 5655
5657 void Browser::ToggleSpeechInput() { 5656 void Browser::ToggleSpeechInput() {
5658 GetSelectedWebContents()->GetRenderViewHost()->ToggleSpeechInput(); 5657 GetSelectedWebContents()->GetRenderViewHost()->ToggleSpeechInput();
5659 } 5658 }
OLDNEW
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/browser/ui/browser_navigator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698