Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(310)

Side by Side Diff: ios/shared/chrome/browser/ui/tools_menu/tools_menu_configuration.mm

Issue 2815233002: [ios] Move ToolsMenuConfiguration to shared. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ios/shared/chrome/browser/ui/tools_menu/tools_menu_configuration.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « ios/shared/chrome/browser/ui/tools_menu/tools_menu_configuration.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698