| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/mac/scoped_nsobject.h" | 7 #include "base/mac/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" |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 static void Show(gfx::NativeWindow parent, | 111 static void Show(gfx::NativeWindow parent, |
| 112 Profile* profile, | 112 Profile* profile, |
| 113 content::WebContents* web_contents, | 113 content::WebContents* web_contents, |
| 114 const GURL& url, | 114 const GURL& url, |
| 115 const content::SSLStatus& ssl); | 115 const content::SSLStatus& ssl); |
| 116 | 116 |
| 117 void set_bubble_controller( | 117 void set_bubble_controller( |
| 118 WebsiteSettingsBubbleController* bubble_controller); | 118 WebsiteSettingsBubbleController* bubble_controller); |
| 119 | 119 |
| 120 // WebsiteSettingsUI implementations. | 120 // WebsiteSettingsUI implementations. |
| 121 virtual void SetCookieInfo(const CookieInfoList& cookie_info_list) OVERRIDE; | 121 virtual void SetCookieInfo(const CookieInfoList& cookie_info_list) override; |
| 122 virtual void SetPermissionInfo( | 122 virtual void SetPermissionInfo( |
| 123 const PermissionInfoList& permission_info_list) OVERRIDE; | 123 const PermissionInfoList& permission_info_list) override; |
| 124 virtual void SetIdentityInfo(const IdentityInfo& identity_info) OVERRIDE; | 124 virtual void SetIdentityInfo(const IdentityInfo& identity_info) override; |
| 125 virtual void SetFirstVisit(const base::string16& first_visit) OVERRIDE; | 125 virtual void SetFirstVisit(const base::string16& first_visit) override; |
| 126 virtual void SetSelectedTab(TabId tab_id) OVERRIDE; | 126 virtual void SetSelectedTab(TabId tab_id) override; |
| 127 | 127 |
| 128 private: | 128 private: |
| 129 // The Cocoa controller for the bubble UI. | 129 // The Cocoa controller for the bubble UI. |
| 130 WebsiteSettingsBubbleController* bubble_controller_; | 130 WebsiteSettingsBubbleController* bubble_controller_; |
| 131 | 131 |
| 132 DISALLOW_COPY_AND_ASSIGN(WebsiteSettingsUIBridge); | 132 DISALLOW_COPY_AND_ASSIGN(WebsiteSettingsUIBridge); |
| 133 }; | 133 }; |
| OLD | NEW |