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

Side by Side Diff: chrome/browser/ui/cocoa/bookmarks/bookmark_all_tabs_controller.mm

Issue 7744055: bookmarks: Fix an obvious typo in IDS_BOOMARK_*. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_all_tabs_controller.h" 5 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_all_tabs_controller.h"
6 6
7 #include "base/string16.h" 7 #include "base/string16.h"
8 #include "base/sys_string_conversions.h" 8 #include "base/sys_string_conversions.h"
9 #include "chrome/browser/bookmarks/bookmark_model.h" 9 #include "chrome/browser/bookmarks/bookmark_model.h"
10 #include "chrome/browser/tabs/tab_strip_model.h" 10 #include "chrome/browser/tabs/tab_strip_model.h"
(...skipping 15 matching lines...) Expand all
26 nibName:nibName 26 nibName:nibName
27 profile:profile 27 profile:profile
28 parent:parent 28 parent:parent
29 configuration:configuration])) { 29 configuration:configuration])) {
30 } 30 }
31 return self; 31 return self;
32 } 32 }
33 33
34 - (void)awakeFromNib { 34 - (void)awakeFromNib {
35 [self setInitialName: 35 [self setInitialName:
36 l10n_util::GetNSStringWithFixup(IDS_BOOMARK_EDITOR_NEW_FOLDER_NAME)]; 36 l10n_util::GetNSStringWithFixup(IDS_BOOKMARK_EDITOR_NEW_FOLDER_NAME)];
37 [super awakeFromNib]; 37 [super awakeFromNib];
38 } 38 }
39 39
40 #pragma mark Bookmark Editing 40 #pragma mark Bookmark Editing
41 41
42 - (void)UpdateActiveTabPairs { 42 - (void)UpdateActiveTabPairs {
43 activeTabPairsVector_.clear(); 43 activeTabPairsVector_.clear();
44 Browser* browser = BrowserList::GetLastActive(); 44 Browser* browser = BrowserList::GetLastActive();
45 TabStripModel* tabstrip_model = browser->tabstrip_model(); 45 TabStripModel* tabstrip_model = browser->tabstrip_model();
46 const int tabCount = tabstrip_model->count(); 46 const int tabCount = tabstrip_model->count();
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 } 81 }
82 return [NSNumber numberWithBool:YES]; 82 return [NSNumber numberWithBool:YES];
83 } 83 }
84 84
85 - (ActiveTabsNameURLPairVector*)activeTabPairsVector { 85 - (ActiveTabsNameURLPairVector*)activeTabPairsVector {
86 return &activeTabPairsVector_; 86 return &activeTabPairsVector_;
87 } 87 }
88 88
89 @end // BookmarkAllTabsController 89 @end // BookmarkAllTabsController
90 90
OLDNEW
« no previous file with comments | « chrome/browser/importer/safari_importer.mm ('k') | chrome/browser/ui/cocoa/bookmarks/bookmark_bubble_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698