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