OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_WEBSITE_SETTINGS_CHOOSER_BUBBLE_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_UI_PERMISSION_BUBBLE_CHOOSER_BUBBLE_DELEGATE_H_ |
6 #define CHROME_BROWSER_UI_WEBSITE_SETTINGS_CHOOSER_BUBBLE_DELEGATE_H_ | 6 #define CHROME_BROWSER_UI_PERMISSION_BUBBLE_CHOOSER_BUBBLE_DELEGATE_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "components/bubble/bubble_delegate.h" | 9 #include "components/bubble/bubble_delegate.h" |
10 | 10 |
11 class Browser; | 11 class Browser; |
12 class ChooserController; | 12 class ChooserController; |
13 | 13 |
14 namespace content { | 14 namespace content { |
15 class RenderFrameHost; | 15 class RenderFrameHost; |
16 } | 16 } |
(...skipping 18 matching lines...) Expand all Loading... |
35 // |chooser_controller_| is not owned by this class, it is owned by | 35 // |chooser_controller_| is not owned by this class, it is owned by |
36 // DeviceChooserContentView[Cocoa]. | 36 // DeviceChooserContentView[Cocoa]. |
37 // This field only temporarily owns the ChooserController. It is moved | 37 // This field only temporarily owns the ChooserController. It is moved |
38 // into the DeviceChooserContentView[Cocoa] when BuildBubbleUi() is called | 38 // into the DeviceChooserContentView[Cocoa] when BuildBubbleUi() is called |
39 // and the bubble is shown. | 39 // and the bubble is shown. |
40 std::unique_ptr<ChooserController> chooser_controller_; | 40 std::unique_ptr<ChooserController> chooser_controller_; |
41 | 41 |
42 DISALLOW_COPY_AND_ASSIGN(ChooserBubbleDelegate); | 42 DISALLOW_COPY_AND_ASSIGN(ChooserBubbleDelegate); |
43 }; | 43 }; |
44 | 44 |
45 #endif // CHROME_BROWSER_UI_WEBSITE_SETTINGS_CHOOSER_BUBBLE_DELEGATE_H_ | 45 #endif // CHROME_BROWSER_UI_PERMISSION_BUBBLE_CHOOSER_BUBBLE_DELEGATE_H_ |
OLD | NEW |