| 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 #import <Cocoa/Cocoa.h> | 5 #import <Cocoa/Cocoa.h> |
| 6 | 6 |
| 7 #include "base/memory/scoped_nsobject.h" | 7 #include "base/memory/scoped_nsobject.h" |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #import "chrome/browser/ui/cocoa/base_bubble_controller.h" | 9 #import "chrome/browser/ui/cocoa/base_bubble_controller.h" |
| 10 #include "chrome/browser/ui/website_settings/website_settings_ui.h" | 10 #include "chrome/browser/ui/website_settings/website_settings_ui.h" |
| 11 | 11 |
| 12 class TabContents; | 12 class TabContents; |
| 13 class WebsiteSettingsUIBridge; | 13 class WebsiteSettingsUIBridge; |
| 14 | 14 |
| 15 // This NSWindowController subclass manages the InfoBubbleWindow and view that | 15 // This NSWindowController subclass manages the InfoBubbleWindow and view that |
| 16 // are displayed when the user clicks the favicon or security lock icon. | 16 // are displayed when the user clicks the favicon or security lock icon. |
| 17 @interface WebsiteSettingsBubbleController : BaseBubbleController { | 17 @interface WebsiteSettingsBubbleController : BaseBubbleController { |
| 18 @private | 18 @private |
| 19 scoped_nsobject<NSView> contentView_; | 19 scoped_nsobject<NSView> contentView_; |
| 20 scoped_nsobject<NSSegmentedControl> segmentedControl_; |
| 20 scoped_nsobject<NSTabView> tabView_; | 21 scoped_nsobject<NSTabView> tabView_; |
| 21 | 22 |
| 22 // Displays the web site identity. | 23 // Displays the web site identity. |
| 23 NSTextField* identityField_; | 24 NSTextField* identityField_; |
| 24 | 25 |
| 25 // Display the identity status (e.g. verified, not verified). | 26 // Display the identity status (e.g. verified, not verified). |
| 26 NSTextField* identityStatusField_; | 27 NSTextField* identityStatusField_; |
| 27 | 28 |
| 28 NSView* permissionsContentView_; | 29 NSView* permissionsContentView_; |
| 29 | 30 |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 const PermissionInfoList& permission_info_list) OVERRIDE; | 87 const PermissionInfoList& permission_info_list) OVERRIDE; |
| 87 virtual void SetIdentityInfo(const IdentityInfo& identity_info) OVERRIDE; | 88 virtual void SetIdentityInfo(const IdentityInfo& identity_info) OVERRIDE; |
| 88 virtual void SetFirstVisit(const string16& first_visit) OVERRIDE; | 89 virtual void SetFirstVisit(const string16& first_visit) OVERRIDE; |
| 89 | 90 |
| 90 private: | 91 private: |
| 91 // The Cocoa controller for the bubble UI. | 92 // The Cocoa controller for the bubble UI. |
| 92 WebsiteSettingsBubbleController* bubble_controller_; | 93 WebsiteSettingsBubbleController* bubble_controller_; |
| 93 | 94 |
| 94 DISALLOW_COPY_AND_ASSIGN(WebsiteSettingsUIBridge); | 95 DISALLOW_COPY_AND_ASSIGN(WebsiteSettingsUIBridge); |
| 95 }; | 96 }; |
| OLD | NEW |