OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 "ios/chrome/browser/tabs/tab_model_synced_window_delegate.h" | 5 #include "ios/chrome/browser/tabs/tab_model_synced_window_delegate.h" |
6 | 6 |
7 #include <set> | 7 #include <set> |
8 | 8 |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "ios/chrome/browser/browser_state/chrome_browser_state.h" | 10 #include "ios/chrome/browser/browser_state/chrome_browser_state.h" |
11 #include "ios/chrome/browser/sync/ios_chrome_synced_tab_delegate.h" | 11 #include "ios/chrome/browser/sync/ios_chrome_synced_tab_delegate.h" |
12 #include "ios/chrome/browser/tabs/tab.h" | 12 #include "ios/chrome/browser/tabs/tab.h" |
13 #include "ios/chrome/browser/tabs/tab_model.h" | 13 #include "ios/chrome/browser/tabs/tab_model.h" |
14 #import "ios/chrome/browser/ui/browser_list_ios.h" | |
15 #import "ios/web/public/web_state/web_state.h" | 14 #import "ios/web/public/web_state/web_state.h" |
16 | 15 |
17 TabModelSyncedWindowDelegate::TabModelSyncedWindowDelegate(TabModel* tab_model) | 16 TabModelSyncedWindowDelegate::TabModelSyncedWindowDelegate(TabModel* tab_model) |
18 : tab_model_(tab_model) {} | 17 : tab_model_(tab_model) {} |
19 | 18 |
20 TabModelSyncedWindowDelegate::~TabModelSyncedWindowDelegate() {} | 19 TabModelSyncedWindowDelegate::~TabModelSyncedWindowDelegate() {} |
21 | 20 |
22 bool TabModelSyncedWindowDelegate::IsTabPinned( | 21 bool TabModelSyncedWindowDelegate::IsTabPinned( |
23 const sync_sessions::SyncedTabDelegate* tab) const { | 22 const sync_sessions::SyncedTabDelegate* tab) const { |
24 return false; | 23 return false; |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 return true; | 68 return true; |
70 } | 69 } |
71 | 70 |
72 bool TabModelSyncedWindowDelegate::IsTypePopup() const { | 71 bool TabModelSyncedWindowDelegate::IsTypePopup() const { |
73 return false; | 72 return false; |
74 } | 73 } |
75 | 74 |
76 bool TabModelSyncedWindowDelegate::ShouldSync() const { | 75 bool TabModelSyncedWindowDelegate::ShouldSync() const { |
77 return true; | 76 return true; |
78 } | 77 } |
OLD | NEW |