| 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 // Creates PageActionImageView. Caller gets an ownership. | 84 // Creates PageActionImageView. Caller gets an ownership. |
| 85 virtual PageActionImageView* CreatePageActionImageView( | 85 virtual PageActionImageView* CreatePageActionImageView( |
| 86 LocationBarView* owner, | 86 LocationBarView* owner, |
| 87 ExtensionAction* action) = 0; | 87 ExtensionAction* action) = 0; |
| 88 | 88 |
| 89 // Returns ContentSettingBubbleModelDelegate. | 89 // Returns ContentSettingBubbleModelDelegate. |
| 90 virtual ContentSettingBubbleModelDelegate* | 90 virtual ContentSettingBubbleModelDelegate* |
| 91 GetContentSettingBubbleModelDelegate() = 0; | 91 GetContentSettingBubbleModelDelegate() = 0; |
| 92 | 92 |
| 93 // Shows permissions and settings for the given web contents. | 93 // Shows permissions and settings for the given web contents. |
| 94 virtual void ShowWebsiteSettings( | 94 virtual void ShowWebsiteSettings(content::WebContents* web_contents) = 0; |
| 95 content::WebContents* web_contents, | |
| 96 const GURL& virtual_url, | |
| 97 const security_state::SecurityInfo& security_info) = 0; | |
| 98 | 95 |
| 99 protected: | 96 protected: |
| 100 virtual ~Delegate() {} | 97 virtual ~Delegate() {} |
| 101 }; | 98 }; |
| 102 | 99 |
| 103 enum ColorKind { | 100 enum ColorKind { |
| 104 BACKGROUND = 0, | 101 BACKGROUND = 0, |
| 105 TEXT, | 102 TEXT, |
| 106 SELECTED_TEXT, | 103 SELECTED_TEXT, |
| 107 DEEMPHASIZED_TEXT, | 104 DEEMPHASIZED_TEXT, |
| (...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 470 BooleanPrefMember edit_bookmarks_enabled_; | 467 BooleanPrefMember edit_bookmarks_enabled_; |
| 471 | 468 |
| 472 // This is a debug state variable that stores if the WebContents was null | 469 // This is a debug state variable that stores if the WebContents was null |
| 473 // during the last RefreshPageAction. | 470 // during the last RefreshPageAction. |
| 474 bool web_contents_null_at_last_refresh_; | 471 bool web_contents_null_at_last_refresh_; |
| 475 | 472 |
| 476 DISALLOW_COPY_AND_ASSIGN(LocationBarView); | 473 DISALLOW_COPY_AND_ASSIGN(LocationBarView); |
| 477 }; | 474 }; |
| 478 | 475 |
| 479 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ | 476 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ |
| OLD | NEW |