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

Side by Side Diff: chrome/browser/ui/cocoa/speech_input_window_controller.mm

Issue 6046009: Move base/mac_util.h to base/mac and use the base::mac namespace.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "speech_input_window_controller.h" 5 #import "speech_input_window_controller.h"
6 6
7 #include "app/l10n_util_mac.h" 7 #include "app/l10n_util_mac.h"
8 #include "app/resource_bundle.h" 8 #include "app/resource_bundle.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/mac_util.h"
11 #include "base/sys_string_conversions.h" 10 #include "base/sys_string_conversions.h"
12
13 #include "chrome/browser/ui/cocoa/info_bubble_view.h" 11 #include "chrome/browser/ui/cocoa/info_bubble_view.h"
14 #include "grit/generated_resources.h" 12 #include "grit/generated_resources.h"
15 #include "grit/theme_resources.h" 13 #include "grit/theme_resources.h"
16 #import "skia/ext/skia_utils_mac.h" 14 #import "skia/ext/skia_utils_mac.h"
17 #import "third_party/GTM/AppKit/GTMUILocalizerAndLayoutTweaker.h" 15 #import "third_party/GTM/AppKit/GTMUILocalizerAndLayoutTweaker.h"
18 16
19 const int kBubbleControlVerticalSpacing = 10; // Space between controls. 17 const int kBubbleControlVerticalSpacing = 10; // Space between controls.
20 const int kBubbleHorizontalMargin = 5; // Space on either sides of controls. 18 const int kBubbleHorizontalMargin = 5; // Space on either sides of controls.
21 19
22 @interface SpeechInputWindowController (Private) 20 @interface SpeechInputWindowController (Private)
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 177
180 - (void)hide { 178 - (void)hide {
181 [[self window] orderOut:nil]; 179 [[self window] orderOut:nil];
182 } 180 }
183 181
184 - (void)setImage:(NSImage*)image { 182 - (void)setImage:(NSImage*)image {
185 [iconImage_ setImage:image]; 183 [iconImage_ setImage:image];
186 } 184 }
187 185
188 @end // implementation SpeechInputWindowController 186 @end // implementation SpeechInputWindowController
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698