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

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

Issue 7477008: Remove explicit keyword from multi-argument constructors (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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
OLDNEW
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_init.h" 5 #include "chrome/browser/ui/browser_init.h"
6 6
7 #include <algorithm> // For max(). 7 #include <algorithm> // For max().
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/environment.h" 10 #include "base/environment.h"
(...skipping 1068 matching lines...) Expand 10 before | Expand all | Expand 10 after
1079 if (bad_flag) { 1079 if (bad_flag) {
1080 tab->AddInfoBar(new SimpleAlertInfoBarDelegate(tab->tab_contents(), NULL, 1080 tab->AddInfoBar(new SimpleAlertInfoBarDelegate(tab->tab_contents(), NULL,
1081 l10n_util::GetStringFUTF16(IDS_BAD_FLAGS_WARNING_MESSAGE, 1081 l10n_util::GetStringFUTF16(IDS_BAD_FLAGS_WARNING_MESSAGE,
1082 UTF8ToUTF16(std::string("--") + bad_flag)), 1082 UTF8ToUTF16(std::string("--") + bad_flag)),
1083 false)); 1083 false));
1084 } 1084 }
1085 } 1085 }
1086 1086
1087 class LearnMoreInfoBar : public LinkInfoBarDelegate { 1087 class LearnMoreInfoBar : public LinkInfoBarDelegate {
1088 public: 1088 public:
1089 explicit LearnMoreInfoBar(TabContents* tab_contents, 1089 LearnMoreInfoBar(TabContents* tab_contents,
1090 const string16& message, 1090 const string16& message,
1091 const GURL& url); 1091 const GURL& url);
1092 virtual ~LearnMoreInfoBar(); 1092 virtual ~LearnMoreInfoBar();
1093 1093
1094 virtual string16 GetMessageTextWithOffset(size_t* link_offset) const OVERRIDE; 1094 virtual string16 GetMessageTextWithOffset(size_t* link_offset) const OVERRIDE;
1095 virtual string16 GetLinkText() const OVERRIDE; 1095 virtual string16 GetLinkText() const OVERRIDE;
1096 virtual bool LinkClicked(WindowOpenDisposition disposition) OVERRIDE; 1096 virtual bool LinkClicked(WindowOpenDisposition disposition) OVERRIDE;
1097 1097
1098 private: 1098 private:
1099 TabContents* const tab_contents_; 1099 TabContents* const tab_contents_;
1100 string16 message_; 1100 string16 message_;
1101 GURL learn_more_url_; 1101 GURL learn_more_url_;
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
1439 return false; 1439 return false;
1440 automation->SetExpectedTabCount(expected_tabs); 1440 automation->SetExpectedTabCount(expected_tabs);
1441 1441
1442 AutomationProviderList* list = 1442 AutomationProviderList* list =
1443 g_browser_process->InitAutomationProviderList(); 1443 g_browser_process->InitAutomationProviderList();
1444 DCHECK(list); 1444 DCHECK(list);
1445 list->AddProvider(automation); 1445 list->AddProvider(automation);
1446 1446
1447 return true; 1447 return true;
1448 } 1448 }
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/syncable_service_adapter.h ('k') | chrome/browser/ui/cocoa/download/download_shelf_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698