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

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

Issue 14620014: Fixes couple of bugs triggered on chromeos when restoring a tab: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: resolve merge Created 7 years, 7 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_OBSERVER_H_ 5 #ifndef CHROME_BROWSER_SESSIONS_TAB_RESTORE_SERVICE_OBSERVER_H_
6 #define CHROME_BROWSER_SESSIONS_TAB_RESTORE_SERVICE_OBSERVER_H_ 6 #define CHROME_BROWSER_SESSIONS_TAB_RESTORE_SERVICE_OBSERVER_H_
7 7
8 class TabRestoreService; 8 class TabRestoreService;
9 9
10 // Observer is notified when the set of entries managed by TabRestoreService 10 // Observer is notified when the set of entries managed by TabRestoreService
11 // changes in some way. 11 // changes in some way.
12 class TabRestoreServiceObserver { 12 class TabRestoreServiceObserver {
13 public: 13 public:
14 // Sent when the set of entries changes in some way. 14 // Sent when the set of entries changes in some way.
15 virtual void TabRestoreServiceChanged(TabRestoreService* service) = 0; 15 virtual void TabRestoreServiceChanged(TabRestoreService* service) = 0;
16 16
17 // Sent to all remaining Observers when TabRestoreService's 17 // Sent to all remaining Observers when TabRestoreService's
18 // destructor is run. 18 // destructor is run.
19 virtual void TabRestoreServiceDestroyed(TabRestoreService* service) = 0; 19 virtual void TabRestoreServiceDestroyed(TabRestoreService* service) = 0;
20 20
21 // Sent when TabRestoreService finishes loading.
22 virtual void TabRestoreServiceLoaded(TabRestoreService* service) {}
23
21 protected: 24 protected:
22 virtual ~TabRestoreServiceObserver() {} 25 virtual ~TabRestoreServiceObserver() {}
23 }; 26 };
24 27
25 #endif // CHROME_BROWSER_SESSIONS_TAB_RESTORE_SERVICE_OBSERVER_H_ 28 #endif // CHROME_BROWSER_SESSIONS_TAB_RESTORE_SERVICE_OBSERVER_H_
OLDNEW
« no previous file with comments | « chrome/browser/sessions/tab_restore_service_helper.cc ('k') | chrome/browser/ui/ash/chrome_shell_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698