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