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

Side by Side Diff: chrome/browser/sessions/tab_restore_service.h

Issue 12036003: Move window_open_disposition.h from webkit/ into ui/base. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win Created 7 years, 11 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 #ifndef CHROME_BROWSER_SESSIONS_TAB_RESTORE_SERVICE_H_ 5 #ifndef CHROME_BROWSER_SESSIONS_TAB_RESTORE_SERVICE_H_
6 #define CHROME_BROWSER_SESSIONS_TAB_RESTORE_SERVICE_H_ 6 #define CHROME_BROWSER_SESSIONS_TAB_RESTORE_SERVICE_H_
7 7
8 #include <list> 8 #include <list>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/time.h" 13 #include "base/time.h"
14 #include "chrome/browser/profiles/profile_keyed_service.h" 14 #include "chrome/browser/profiles/profile_keyed_service.h"
15 #include "chrome/browser/sessions/session_id.h" 15 #include "chrome/browser/sessions/session_id.h"
16 #include "chrome/browser/sessions/session_types.h" 16 #include "chrome/browser/sessions/session_types.h"
17 #include "chrome/browser/ui/host_desktop.h" 17 #include "chrome/browser/ui/host_desktop.h"
18 #include "content/public/browser/session_storage_namespace.h" 18 #include "content/public/browser/session_storage_namespace.h"
19 #include "webkit/glue/window_open_disposition.h" 19 #include "ui/base/window_open_disposition.h"
20 20
21 class TabRestoreServiceDelegate; 21 class TabRestoreServiceDelegate;
22 class TabRestoreServiceObserver; 22 class TabRestoreServiceObserver;
23 23
24 namespace content { 24 namespace content {
25 class SessionStorageNamespace; 25 class SessionStorageNamespace;
26 class WebContents; 26 class WebContents;
27 } 27 }
28 28
29 // TabRestoreService is responsible for maintaining the most recently closed 29 // TabRestoreService is responsible for maintaining the most recently closed
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 virtual void LoadTabsFromLastSession() = 0; 179 virtual void LoadTabsFromLastSession() = 0;
180 180
181 // Returns true if the tab entries have been loaded. 181 // Returns true if the tab entries have been loaded.
182 virtual bool IsLoaded() const = 0; 182 virtual bool IsLoaded() const = 0;
183 183
184 // Deletes the last session. 184 // Deletes the last session.
185 virtual void DeleteLastSession() = 0; 185 virtual void DeleteLastSession() = 0;
186 }; 186 };
187 187
188 #endif // CHROME_BROWSER_SESSIONS_TAB_RESTORE_SERVICE_H_ 188 #endif // CHROME_BROWSER_SESSIONS_TAB_RESTORE_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/sessions/session_restore.h ('k') | chrome/browser/tab_contents/background_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698