| 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_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 virtual content::WebContents* GetWebContents() = 0; | 75 virtual content::WebContents* GetWebContents() = 0; |
| 76 | 76 |
| 77 virtual ToolbarModel* GetToolbarModel() = 0; | 77 virtual ToolbarModel* GetToolbarModel() = 0; |
| 78 virtual const ToolbarModel* GetToolbarModel() const = 0; | 78 virtual const ToolbarModel* GetToolbarModel() const = 0; |
| 79 | 79 |
| 80 // Returns ContentSettingBubbleModelDelegate. | 80 // Returns ContentSettingBubbleModelDelegate. |
| 81 virtual ContentSettingBubbleModelDelegate* | 81 virtual ContentSettingBubbleModelDelegate* |
| 82 GetContentSettingBubbleModelDelegate() = 0; | 82 GetContentSettingBubbleModelDelegate() = 0; |
| 83 | 83 |
| 84 // Shows permissions and settings for the given web contents. | 84 // Shows permissions and settings for the given web contents. |
| 85 virtual void ShowWebsiteSettings(content::WebContents* web_contents) = 0; | 85 virtual void ShowPageInfo(content::WebContents* web_contents) = 0; |
| 86 | 86 |
| 87 protected: | 87 protected: |
| 88 virtual ~Delegate() {} | 88 virtual ~Delegate() {} |
| 89 }; | 89 }; |
| 90 | 90 |
| 91 enum ColorKind { | 91 enum ColorKind { |
| 92 BACKGROUND = 0, | 92 BACKGROUND = 0, |
| 93 TEXT, | 93 TEXT, |
| 94 SELECTED_TEXT, | 94 SELECTED_TEXT, |
| 95 DEEMPHASIZED_TEXT, | 95 DEEMPHASIZED_TEXT, |
| (...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 420 // Add/RemoveObserver calls. | 420 // Add/RemoveObserver calls. |
| 421 TemplateURLService* template_url_service_; | 421 TemplateURLService* template_url_service_; |
| 422 | 422 |
| 423 // Tracks this preference to determine whether bookmark editing is allowed. | 423 // Tracks this preference to determine whether bookmark editing is allowed. |
| 424 BooleanPrefMember edit_bookmarks_enabled_; | 424 BooleanPrefMember edit_bookmarks_enabled_; |
| 425 | 425 |
| 426 DISALLOW_COPY_AND_ASSIGN(LocationBarView); | 426 DISALLOW_COPY_AND_ASSIGN(LocationBarView); |
| 427 }; | 427 }; |
| 428 | 428 |
| 429 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ | 429 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ |
| OLD | NEW |