OLD | NEW |
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/custom_home_pages_model.h" | 5 #import "chrome/browser/cocoa/custom_home_pages_model.h" |
6 | 6 |
7 #include "base/sys_string_conversions.h" | 7 #include "base/sys_string_conversions.h" |
8 #include "chrome/browser/net/url_fixer_upper.h" | 8 #include "chrome/browser/net/url_fixer_upper.h" |
9 #include "chrome/browser/session_startup_pref.h" | 9 #include "chrome/browser/prefs/session_startup_pref.h" |
10 | 10 |
11 NSString* const kHomepageEntryChangedNotification = | 11 NSString* const kHomepageEntryChangedNotification = |
12 @"kHomepageEntryChangedNotification"; | 12 @"kHomepageEntryChangedNotification"; |
13 | 13 |
14 @interface CustomHomePagesModel (Private) | 14 @interface CustomHomePagesModel (Private) |
15 - (void)setURLsInternal:(const std::vector<GURL>&)urls; | 15 - (void)setURLsInternal:(const std::vector<GURL>&)urls; |
16 @end | 16 @end |
17 | 17 |
18 @implementation CustomHomePagesModel | 18 @implementation CustomHomePagesModel |
19 | 19 |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 | 131 |
132 - (NSImage*)image { | 132 - (NSImage*)image { |
133 return icon_.get(); | 133 return icon_.get(); |
134 } | 134 } |
135 | 135 |
136 - (NSString*)description { | 136 - (NSString*)description { |
137 return url_.get(); | 137 return url_.get(); |
138 } | 138 } |
139 | 139 |
140 @end | 140 @end |
OLD | NEW |