Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "ios/chrome/browser/ui/tools_menu/tools_menu_configuration.h" | 5 #import "ios/shared/chrome/browser/ui/tools_menu/tools_menu_configuration.h" |
| 6 | 6 |
| 7 #import "base/ios/weak_nsobject.h" | 7 #import "base/ios/weak_nsobject.h" |
| 8 #import "base/logging.h" | 8 #import "base/logging.h" |
| 9 #import "ios/chrome/browser/ui/reading_list/reading_list_menu_notifier.h" | |
|
sczs
2017/04/13 06:47:24
Apparently only the forward declaration was needed
| |
| 10 #include "ios/web/public/user_agent.h" | 9 #include "ios/web/public/user_agent.h" |
| 11 | 10 |
| 12 @implementation ToolsMenuConfiguration { | 11 @implementation ToolsMenuConfiguration { |
| 13 base::WeakNSObject<UIView> _displayView; | 12 base::WeakNSObject<UIView> _displayView; |
| 14 base::WeakNSObject<UIButton> _toolsMenuButton; | 13 base::WeakNSObject<UIButton> _toolsMenuButton; |
| 15 base::WeakNSObject<ReadingListMenuNotifier> _readingListMenuNotifier; | 14 base::WeakNSObject<ReadingListMenuNotifier> _readingListMenuNotifier; |
| 16 } | 15 } |
| 17 | 16 |
| 18 @synthesize inTabSwitcher = _inTabSwitcher; | 17 @synthesize inTabSwitcher = _inTabSwitcher; |
| 19 @synthesize noOpenedTabs = _noOpenedTabs; | 18 @synthesize noOpenedTabs = _noOpenedTabs; |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 63 - (void)setReadingListMenuNotifier: | 62 - (void)setReadingListMenuNotifier: |
| 64 (ReadingListMenuNotifier*)readingListMenuNotifier { | 63 (ReadingListMenuNotifier*)readingListMenuNotifier { |
| 65 _readingListMenuNotifier.reset(readingListMenuNotifier); | 64 _readingListMenuNotifier.reset(readingListMenuNotifier); |
| 66 } | 65 } |
| 67 | 66 |
| 68 - (ReadingListMenuNotifier*)readingListMenuNotifier { | 67 - (ReadingListMenuNotifier*)readingListMenuNotifier { |
| 69 return _readingListMenuNotifier; | 68 return _readingListMenuNotifier; |
| 70 } | 69 } |
| 71 | 70 |
| 72 @end | 71 @end |
| OLD | NEW |