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

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

Issue 10656014: Merge 143605 - grd file update for new 2x assets (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1180/src/
Patch Set: Created 8 years, 6 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_recognition_window_controller.h" 5 #import "speech_recognition_window_controller.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/sys_string_conversions.h" 8 #include "base/sys_string_conversions.h"
9 #include "chrome/browser/ui/cocoa/info_bubble_view.h" 9 #include "chrome/browser/ui/cocoa/info_bubble_view.h"
10 #include "grit/generated_resources.h" 10 #include "grit/generated_resources.h"
11 #include "grit/theme_resources.h" 11 #include "grit/theme_resources_standard.h"
12 #import "skia/ext/skia_utils_mac.h" 12 #import "skia/ext/skia_utils_mac.h"
13 #import "third_party/GTM/AppKit/GTMUILocalizerAndLayoutTweaker.h" 13 #import "third_party/GTM/AppKit/GTMUILocalizerAndLayoutTweaker.h"
14 #include "ui/base/l10n/l10n_util_mac.h" 14 #include "ui/base/l10n/l10n_util_mac.h"
15 #include "ui/base/resource/resource_bundle.h" 15 #include "ui/base/resource/resource_bundle.h"
16 #include "ui/gfx/image/image.h" 16 #include "ui/gfx/image/image.h"
17 17
18 const int kBubbleControlVerticalSpacing = 10; // Space between controls. 18 const int kBubbleControlVerticalSpacing = 10; // Space between controls.
19 const int kBubbleHorizontalMargin = 5; // Space on either sides of controls. 19 const int kBubbleHorizontalMargin = 5; // Space on either sides of controls.
20 const int kInstructionLabelMaxWidth = 150; 20 const int kInstructionLabelMaxWidth = 150;
21 21
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 223
224 - (void)hide { 224 - (void)hide {
225 [[self window] orderOut:nil]; 225 [[self window] orderOut:nil];
226 } 226 }
227 227
228 - (void)setImage:(NSImage*)image { 228 - (void)setImage:(NSImage*)image {
229 [iconImage_ setImage:image]; 229 [iconImage_ setImage:image];
230 } 230 }
231 231
232 @end // implementation SpeechRecognitionWindowController 232 @end // implementation SpeechRecognitionWindowController
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/location_bar/keyword_hint_decoration.mm ('k') | chrome/browser/ui/cocoa/tab_contents/sad_tab_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698