OLD | NEW |
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 #ifndef CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_ |
6 #define CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_ | 6 #define CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #import <Cocoa/Cocoa.h> | 10 #import <Cocoa/Cocoa.h> |
11 | 11 |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "base/memory/scoped_vector.h" | 13 #include "base/memory/scoped_vector.h" |
14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
15 #include "base/prefs/pref_member.h" | 15 #include "base/prefs/pref_member.h" |
16 #include "chrome/browser/ui/browser.h" | 16 #include "chrome/browser/ui/browser.h" |
17 #include "chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h" | 17 #include "chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h" |
18 #include "chrome/browser/ui/location_bar/location_bar.h" | 18 #include "chrome/browser/ui/location_bar/location_bar.h" |
19 #include "chrome/browser/ui/omnibox/omnibox_edit_controller.h" | 19 #include "chrome/browser/ui/omnibox/omnibox_edit_controller.h" |
20 #include "chrome/browser/ui/search/search_model_observer.h" | 20 #include "chrome/browser/ui/search/search_model_observer.h" |
21 #include "chrome/common/content_settings_types.h" | 21 #include "components/content_settings/core/common/content_settings_types.h" |
22 | 22 |
23 @class AutocompleteTextField; | 23 @class AutocompleteTextField; |
24 class CommandUpdater; | 24 class CommandUpdater; |
25 class ContentSettingDecoration; | 25 class ContentSettingDecoration; |
26 class EVBubbleDecoration; | 26 class EVBubbleDecoration; |
27 class GeneratedCreditCardDecoration; | 27 class GeneratedCreditCardDecoration; |
28 class KeywordHintDecoration; | 28 class KeywordHintDecoration; |
29 class LocationBarDecoration; | 29 class LocationBarDecoration; |
30 class LocationIconDecoration; | 30 class LocationIconDecoration; |
31 class MicSearchDecoration; | 31 class MicSearchDecoration; |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
274 // Used to schedule a task for the first run info bubble. | 274 // Used to schedule a task for the first run info bubble. |
275 base::WeakPtrFactory<LocationBarViewMac> weak_ptr_factory_; | 275 base::WeakPtrFactory<LocationBarViewMac> weak_ptr_factory_; |
276 | 276 |
277 // Used to change the visibility of the star decoration. | 277 // Used to change the visibility of the star decoration. |
278 BooleanPrefMember edit_bookmarks_enabled_; | 278 BooleanPrefMember edit_bookmarks_enabled_; |
279 | 279 |
280 DISALLOW_COPY_AND_ASSIGN(LocationBarViewMac); | 280 DISALLOW_COPY_AND_ASSIGN(LocationBarViewMac); |
281 }; | 281 }; |
282 | 282 |
283 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_ | 283 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_ |
OLD | NEW |