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

Side by Side Diff: chrome/common/temp_scaffolding_stubs.cc

Issue 155100: Add default browser checking and setting on Linux. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 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/chrome.gyp ('k') | chrome/tools/build/linux/chrome-wrapper » ('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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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/common/temp_scaffolding_stubs.h" 5 #include "chrome/common/temp_scaffolding_stubs.h"
6 6
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 131
132 void AutomationProvider::OnMessageFromExternalHost( 132 void AutomationProvider::OnMessageFromExternalHost(
133 int handle, const std::string& message, const std::string& origin, 133 int handle, const std::string& message, const std::string& origin,
134 const std::string& target) { 134 const std::string& target) {
135 NOTIMPLEMENTED(); 135 NOTIMPLEMENTED();
136 } 136 }
137 #endif // defined(OS_MACOSX) 137 #endif // defined(OS_MACOSX)
138 138
139 //-------------------------------------------------------------------------- 139 //--------------------------------------------------------------------------
140 140
141 #if defined(OS_LINUX)
142 bool ShellIntegration::SetAsDefaultBrowser() {
143 // http://code.google.com/p/chromium/issues/detail?id=11972
144 return true;
145 }
146
147 bool ShellIntegration::IsDefaultBrowser() {
148 // http://code.google.com/p/chromium/issues/detail?id=11972
149 return true;
150 }
151 #endif
152
153 //--------------------------------------------------------------------------
154
155 141
156 // static 142 // static
157 bool FirstRun::ProcessMasterPreferences(const FilePath& user_data_dir, 143 bool FirstRun::ProcessMasterPreferences(const FilePath& user_data_dir,
158 const FilePath& master_prefs_path, 144 const FilePath& master_prefs_path,
159 int* preference_details, 145 int* preference_details,
160 std::vector<std::wstring>* new_tabs) { 146 std::vector<std::wstring>* new_tabs) {
161 // http://code.google.com/p/chromium/issues/detail?id=11971 147 // http://code.google.com/p/chromium/issues/detail?id=11971
162 // Pretend we processed them correctly. 148 // Pretend we processed them correctly.
163 return true; 149 return true;
164 } 150 }
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
439 Handler* handler) { 425 Handler* handler) {
440 NOTIMPLEMENTED(); 426 NOTIMPLEMENTED();
441 } 427 }
442 428
443 void BookmarkManager::SelectInTree(Profile* profile, const BookmarkNode* node) { 429 void BookmarkManager::SelectInTree(Profile* profile, const BookmarkNode* node) {
444 } 430 }
445 void BookmarkManager::Show(Profile* profile) { 431 void BookmarkManager::Show(Profile* profile) {
446 } 432 }
447 433
448 #endif 434 #endif
OLDNEW
« no previous file with comments | « chrome/chrome.gyp ('k') | chrome/tools/build/linux/chrome-wrapper » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698