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

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

Issue 1705009: Changing linux platform for chromeos. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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
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 "chrome/browser/cocoa/about_window_controller.h" 5 #import "chrome/browser/cocoa/about_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" 10 #include "base/mac_util.h"
11 #include "base/string_util.h" 11 #include "base/string_util.h"
12 #include "base/sys_string_conversions.h" 12 #include "base/sys_string_conversions.h"
13 #include "chrome/browser/browser_list.h" 13 #include "chrome/browser/browser_list.h"
14 #include "chrome/browser/platform_util.h"
14 #import "chrome/browser/cocoa/background_tile_view.h" 15 #import "chrome/browser/cocoa/background_tile_view.h"
15 #import "chrome/browser/cocoa/keystone_glue.h" 16 #import "chrome/browser/cocoa/keystone_glue.h"
16 #include "chrome/browser/cocoa/restart_browser.h" 17 #include "chrome/browser/cocoa/restart_browser.h"
17 #include "chrome/common/platform_util.h"
18 #include "chrome/common/url_constants.h" 18 #include "chrome/common/url_constants.h"
19 #include "grit/chromium_strings.h" 19 #include "grit/chromium_strings.h"
20 #include "grit/generated_resources.h" 20 #include "grit/generated_resources.h"
21 #include "grit/theme_resources.h" 21 #include "grit/theme_resources.h"
22 #include "grit/locale_settings.h" 22 #include "grit/locale_settings.h"
23 #include "third_party/GTM/AppKit/GTMUILocalizerAndLayoutTweaker.h" 23 #include "third_party/GTM/AppKit/GTMUILocalizerAndLayoutTweaker.h"
24 24
25 namespace { 25 namespace {
26 26
27 void AttributedStringAppendString(NSMutableAttributedString* attr_str, 27 void AttributedStringAppendString(NSMutableAttributedString* attr_str,
(...skipping 757 matching lines...) Expand 10 before | Expand all | Expand 10 after
785 NSRange string_range = NSMakeRange(0, [legal_block length]); 785 NSRange string_range = NSMakeRange(0, [legal_block length]);
786 [legal_block addAttribute:NSFontAttributeName 786 [legal_block addAttribute:NSFontAttributeName
787 value:[NSFont labelFontOfSize:11] 787 value:[NSFont labelFontOfSize:11]
788 range:string_range]; 788 range:string_range];
789 789
790 [legal_block endEditing]; 790 [legal_block endEditing];
791 return legal_block; 791 return legal_block;
792 } 792 }
793 793
794 @end // @implementation AboutWindowController 794 @end // @implementation AboutWindowController
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698