Home | History | Annotate | Download | only in glue

Lines Matching refs:Browser

5 #include "chrome/browser/sync/glue/session_model_associator.h"
11 #include "chrome/browser/extensions/extension_tab_helper.h"
12 #include "chrome/browser/profiles/profile.h"
13 #include "chrome/browser/sync/profile_sync_service.h"
14 #include "chrome/browser/sync/syncable/syncable.h"
15 #include "chrome/browser/tabs/tab_strip_model.h"
16 #include "chrome/browser/ui/browser_list.h"
17 #include "chrome/browser/ui/browser_window.h"
18 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
21 #include "content/browser/tab_contents/navigation_controller.h"
22 #include "content/browser/tab_contents/navigation_entry.h"
118 // Make sure the browser has tabs and a window. Browsers destructor
119 // removes itself from the BrowserList. When a browser is closed the
121 // for us to get a handle to a browser that is about to be removed. If
122 // the tab count is 0 or the window is NULL, the browser is about to be
133 Browser::TYPE_NORMAL) {
172 bool SessionModelAssociator::ShouldSyncWindowType(const Browser::Type& type) {
174 case Browser::TYPE_POPUP:
176 case Browser::TYPE_APP:
178 case Browser::TYPE_APP_POPUP:
180 case Browser::TYPE_DEVTOOLS:
182 case Browser::TYPE_APP_PANEL:
184 case Browser::TYPE_NORMAL:
233 Browser* browser = BrowserList::FindBrowserWithID(
235 if (!browser) // Can happen for weird things like developer console.
242 WriteTabContentsToSyncModel(*browser, *tab, sync_id, &trans);
246 const Browser& browser,
270 int index_in_window = browser.tabstrip_model()->GetWrapperIndex(&tab);
272 tab_s->set_pinned(browser.tabstrip_model()->IsTabPinned(index_in_window));
847 // if we choose to sync the previous browser session.
911 if (window.type == Browser::TYPE_NORMAL) {
914 } else if (window.type == Browser::TYPE_POPUP) {