| 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 <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 class ManagePasswordsIconView; | 43 class ManagePasswordsIconView; |
| 44 class PageActionWithBadgeView; | 44 class PageActionWithBadgeView; |
| 45 class PageActionImageView; | 45 class PageActionImageView; |
| 46 class Profile; | 46 class Profile; |
| 47 class SelectedKeywordView; | 47 class SelectedKeywordView; |
| 48 class StarView; | 48 class StarView; |
| 49 class TemplateURLService; | 49 class TemplateURLService; |
| 50 class TranslateIconView; | 50 class TranslateIconView; |
| 51 class ZoomView; | 51 class ZoomView; |
| 52 | 52 |
| 53 namespace content { | |
| 54 struct SSLStatus; | |
| 55 } | |
| 56 | |
| 57 namespace views { | 53 namespace views { |
| 58 class BubbleDelegateView; | 54 class BubbleDelegateView; |
| 59 class ImageButton; | 55 class ImageButton; |
| 60 class ImageView; | 56 class ImageView; |
| 61 class Label; | 57 class Label; |
| 62 class Widget; | 58 class Widget; |
| 63 } | 59 } |
| 64 | 60 |
| 65 ///////////////////////////////////////////////////////////////////////////// | 61 ///////////////////////////////////////////////////////////////////////////// |
| 66 // | 62 // |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 // Creates PageActionImageView. Caller gets an ownership. | 99 // Creates PageActionImageView. Caller gets an ownership. |
| 104 virtual PageActionImageView* CreatePageActionImageView( | 100 virtual PageActionImageView* CreatePageActionImageView( |
| 105 LocationBarView* owner, | 101 LocationBarView* owner, |
| 106 ExtensionAction* action) = 0; | 102 ExtensionAction* action) = 0; |
| 107 | 103 |
| 108 // Returns ContentSettingBubbleModelDelegate. | 104 // Returns ContentSettingBubbleModelDelegate. |
| 109 virtual ContentSettingBubbleModelDelegate* | 105 virtual ContentSettingBubbleModelDelegate* |
| 110 GetContentSettingBubbleModelDelegate() = 0; | 106 GetContentSettingBubbleModelDelegate() = 0; |
| 111 | 107 |
| 112 // Shows permissions and settings for the given web contents. | 108 // Shows permissions and settings for the given web contents. |
| 113 virtual void ShowWebsiteSettings(content::WebContents* web_contents, | 109 virtual void ShowWebsiteSettings( |
| 114 const GURL& url, | 110 content::WebContents* web_contents, |
| 115 const content::SSLStatus& ssl) = 0; | 111 const GURL& url, |
| 112 const SecurityStateModel::SecurityInfo& security_info) = 0; |
| 116 | 113 |
| 117 protected: | 114 protected: |
| 118 virtual ~Delegate() {} | 115 virtual ~Delegate() {} |
| 119 }; | 116 }; |
| 120 | 117 |
| 121 enum ColorKind { | 118 enum ColorKind { |
| 122 BACKGROUND = 0, | 119 BACKGROUND = 0, |
| 123 TEXT, | 120 TEXT, |
| 124 SELECTED_TEXT, | 121 SELECTED_TEXT, |
| 125 DEEMPHASIZED_TEXT, | 122 DEEMPHASIZED_TEXT, |
| (...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 485 int dropdown_animation_offset_; | 482 int dropdown_animation_offset_; |
| 486 | 483 |
| 487 // This is a debug state variable that stores if the WebContents was null | 484 // This is a debug state variable that stores if the WebContents was null |
| 488 // during the last RefreshPageAction. | 485 // during the last RefreshPageAction. |
| 489 bool web_contents_null_at_last_refresh_; | 486 bool web_contents_null_at_last_refresh_; |
| 490 | 487 |
| 491 DISALLOW_COPY_AND_ASSIGN(LocationBarView); | 488 DISALLOW_COPY_AND_ASSIGN(LocationBarView); |
| 492 }; | 489 }; |
| 493 | 490 |
| 494 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ | 491 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ |
| OLD | NEW |