OLD | NEW |
---|---|
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_VIEW_MAC_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_ |
6 #define CHROME_BROWSER_UI_COCOA_LOCATION_BAR_VIEW_MAC_H_ | 6 #define CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #import <Cocoa/Cocoa.h> | 11 #import <Cocoa/Cocoa.h> |
12 | 12 |
13 #include "base/memory/scoped_nsobject.h" | 13 #include "base/memory/scoped_nsobject.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
15 #include "base/memory/scoped_vector.h" | 15 #include "base/memory/scoped_vector.h" |
16 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
17 #include "chrome/browser/autocomplete/autocomplete_edit.h" | 17 #include "chrome/browser/autocomplete/autocomplete_edit.h" |
18 #include "chrome/browser/extensions/image_loading_tracker.h" | 18 #include "chrome/browser/extensions/image_loading_tracker.h" |
19 #include "chrome/browser/first_run/first_run.h" | 19 #include "chrome/browser/first_run/first_run.h" |
20 #include "chrome/browser/prefs/pref_member.h" | 20 #include "chrome/browser/prefs/pref_member.h" |
21 #include "chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h" | 21 #include "chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h" |
22 #include "chrome/browser/ui/omnibox/location_bar.h" | 22 #include "chrome/browser/ui/omnibox/location_bar.h" |
23 #include "chrome/browser/ui/toolbar/toolbar_model.h" | 23 #include "chrome/browser/ui/toolbar/toolbar_model.h" |
24 #include "chrome/common/content_settings_types.h" | 24 #include "chrome/common/content_settings_types.h" |
25 | 25 |
26 @class AutocompleteTextField; | 26 @class AutocompleteTextField; |
27 class CommandUpdater; | 27 class CommandUpdater; |
28 class ContentSettingDecoration; | 28 class ContentSettingDecoration; |
29 class ContentSettingImageModel; | |
30 class EVBubbleDecoration; | 29 class EVBubbleDecoration; |
31 @class ExtensionPopupController; | 30 @class ExtensionPopupController; |
Mark Mentovai
2011/11/11 17:19:35
Me too!
Lei Zhang
2011/11/11 21:05:20
Done.
| |
32 class KeywordHintDecoration; | 31 class KeywordHintDecoration; |
33 class LocationIconDecoration; | 32 class LocationIconDecoration; |
34 class PageActionDecoration; | 33 class PageActionDecoration; |
35 class Profile; | 34 class Profile; |
36 class SelectedKeywordDecoration; | 35 class SelectedKeywordDecoration; |
37 class SkBitmap; | 36 class SkBitmap; |
38 class StarDecoration; | 37 class StarDecoration; |
39 class ToolbarModel; | 38 class ToolbarModel; |
40 | 39 |
41 // A C++ bridge class that represents the location bar UI element to | 40 // A C++ bridge class that represents the location bar UI element to |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
225 | 224 |
226 // Used to schedule a task for the first run info bubble. | 225 // Used to schedule a task for the first run info bubble. |
227 base::WeakPtrFactory<LocationBarViewMac> weak_ptr_factory_; | 226 base::WeakPtrFactory<LocationBarViewMac> weak_ptr_factory_; |
228 | 227 |
229 // Used to change the visibility of the star decoration. | 228 // Used to change the visibility of the star decoration. |
230 BooleanPrefMember edit_bookmarks_enabled_; | 229 BooleanPrefMember edit_bookmarks_enabled_; |
231 | 230 |
232 DISALLOW_COPY_AND_ASSIGN(LocationBarViewMac); | 231 DISALLOW_COPY_AND_ASSIGN(LocationBarViewMac); |
233 }; | 232 }; |
234 | 233 |
235 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_VIEW_MAC_H_ | 234 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_LOCATION_BAR_VIEW_MAC_H_ |
OLD | NEW |