| 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 #include <map> | 5 #include <map> |
| 6 | 6 |
| 7 #import <Cocoa/Cocoa.h> | 7 #import <Cocoa/Cocoa.h> |
| 8 | 8 |
| 9 #include "base/memory/scoped_nsobject.h" | 9 #include "base/mac/scoped_nsobject.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 #import "chrome/browser/ui/cocoa/base_bubble_controller.h" | 11 #import "chrome/browser/ui/cocoa/base_bubble_controller.h" |
| 12 #include "content/public/common/media_stream_request.h" | 12 #include "content/public/common/media_stream_request.h" |
| 13 | 13 |
| 14 class ContentSettingBubbleModel; | 14 class ContentSettingBubbleModel; |
| 15 class ContentSettingMediaMenuModel; | 15 class ContentSettingMediaMenuModel; |
| 16 @class InfoBubbleView; | 16 @class InfoBubbleView; |
| 17 | 17 |
| 18 namespace content_setting_bubble { | 18 namespace content_setting_bubble { |
| 19 // For every "show popup" button, remember the index of the popup tab contents | 19 // For every "show popup" button, remember the index of the popup tab contents |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 // Callback for "media menu" button. | 84 // Callback for "media menu" button. |
| 85 - (IBAction)mediaMenuChanged:(id)sender; | 85 - (IBAction)mediaMenuChanged:(id)sender; |
| 86 | 86 |
| 87 @end | 87 @end |
| 88 | 88 |
| 89 @interface ContentSettingBubbleController (TestingAPI) | 89 @interface ContentSettingBubbleController (TestingAPI) |
| 90 | 90 |
| 91 // Returns the weak reference to the |mediaMenus_|. | 91 // Returns the weak reference to the |mediaMenus_|. |
| 92 - (content_setting_bubble::MediaMenuPartsMap*)mediaMenus; | 92 - (content_setting_bubble::MediaMenuPartsMap*)mediaMenus; |
| 93 | 93 |
| 94 @end | 94 @end |
| OLD | NEW |