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 #ifndef CHROME_BROWSER_UI_COCOA_CUSTOM_HOME_PAGES_MODEL_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_OPTIONS_CUSTOM_HOME_PAGES_MODEL_H_ |
6 #define CHROME_BROWSER_UI_COCOA_CUSTOM_HOME_PAGES_MODEL_H_ | 6 #define CHROME_BROWSER_UI_COCOA_OPTIONS_CUSTOM_HOME_PAGES_MODEL_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #import <Cocoa/Cocoa.h> | 9 #import <Cocoa/Cocoa.h> |
10 | 10 |
11 #include <vector> | 11 #include <vector> |
12 #include "base/scoped_nsobject.h" | 12 #include "base/scoped_nsobject.h" |
13 #include "chrome/browser/history/history.h" | 13 #include "chrome/browser/history/history.h" |
14 #include "googleurl/src/gurl.h" | 14 #include "googleurl/src/gurl.h" |
15 | 15 |
16 class Profile; | 16 class Profile; |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 | 81 |
82 @end | 82 @end |
83 | 83 |
84 // A notification that fires when the URL of one of the entries changes. | 84 // A notification that fires when the URL of one of the entries changes. |
85 // Prevents interested parties from having to observe all model objects in order | 85 // Prevents interested parties from having to observe all model objects in order |
86 // to persist changes to a single entry. Changes to the number of items in the | 86 // to persist changes to a single entry. Changes to the number of items in the |
87 // model can be observed by watching |customHomePages| via KVO so an additional | 87 // model can be observed by watching |customHomePages| via KVO so an additional |
88 // notification is not sent. | 88 // notification is not sent. |
89 extern NSString* const kHomepageEntryChangedNotification; | 89 extern NSString* const kHomepageEntryChangedNotification; |
90 | 90 |
91 #endif // CHROME_BROWSER_UI_COCOA_CUSTOM_HOME_PAGES_MODEL_H_ | 91 #endif // CHROME_BROWSER_UI_COCOA_OPTIONS_CUSTOM_HOME_PAGES_MODEL_H_ |
OLD | NEW |