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

Side by Side Diff: chrome/browser/cocoa/find_bar_cocoa_controller.mm

Issue 109043: Move l10n_util to app/ (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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/character_encoding.cc ('k') | chrome/browser/cocoa/sad_tab_view.mm » ('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 #import <Cocoa/Cocoa.h> 5 #import <Cocoa/Cocoa.h>
6 6
7 #include "app/l10n_util.h"
7 #include "base/mac_util.h" 8 #include "base/mac_util.h"
8 #include "base/sys_string_conversions.h" 9 #include "base/sys_string_conversions.h"
9 #include "grit/generated_resources.h" 10 #include "grit/generated_resources.h"
10 #include "chrome/browser/find_bar_controller.h" 11 #include "chrome/browser/find_bar_controller.h"
11 #include "chrome/browser/cocoa/browser_window_cocoa.h" 12 #include "chrome/browser/cocoa/browser_window_cocoa.h"
12 #import "chrome/browser/cocoa/find_bar_cocoa_controller.h" 13 #import "chrome/browser/cocoa/find_bar_cocoa_controller.h"
13 #import "chrome/browser/cocoa/find_bar_bridge.h" 14 #import "chrome/browser/cocoa/find_bar_bridge.h"
14 #import "chrome/browser/cocoa/tab_strip_controller.h" 15 #import "chrome/browser/cocoa/tab_strip_controller.h"
15 #include "chrome/browser/tab_contents/tab_contents.h" 16 #include "chrome/browser/tab_contents/tab_contents.h"
16 #include "chrome/common/l10n_util.h"
17 17
18 @implementation FindBarCocoaController 18 @implementation FindBarCocoaController
19 19
20 - (id)init { 20 - (id)init {
21 if ((self = [super initWithNibName:@"FindBar" 21 if ((self = [super initWithNibName:@"FindBar"
22 bundle:mac_util::MainAppBundle()])) { 22 bundle:mac_util::MainAppBundle()])) {
23 } 23 }
24 return self; 24 return self;
25 } 25 }
26 26
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 // area. 153 // area.
154 [resultsLabel_ setStringValue:@""]; 154 [resultsLabel_ setStringValue:@""];
155 } 155 }
156 } 156 }
157 157
158 - (BOOL)isFindBarVisible { 158 - (BOOL)isFindBarVisible {
159 return [[self view] isHidden] ? NO : YES; 159 return [[self view] isHidden] ? NO : YES;
160 } 160 }
161 161
162 @end 162 @end
OLDNEW
« no previous file with comments | « chrome/browser/character_encoding.cc ('k') | chrome/browser/cocoa/sad_tab_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698