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

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

Issue 9969208: TabContents -> WebContentsImpl, part 20. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | 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_SESSION_SERVICE_H_ 5 #ifndef CHROME_BROWSER_SESSIONS_SESSION_SERVICE_H_
6 #define CHROME_BROWSER_SESSIONS_SESSION_SERVICE_H_ 6 #define CHROME_BROWSER_SESSIONS_SESSION_SERVICE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 void SetTabIndexInWindow(const SessionID& window_id, 103 void SetTabIndexInWindow(const SessionID& window_id,
104 const SessionID& tab_id, 104 const SessionID& tab_id,
105 int new_index); 105 int new_index);
106 106
107 // Sets the pinned state of the tab. 107 // Sets the pinned state of the tab.
108 void SetPinnedState(const SessionID& window_id, 108 void SetPinnedState(const SessionID& window_id,
109 const SessionID& tab_id, 109 const SessionID& tab_id,
110 bool is_pinned); 110 bool is_pinned);
111 111
112 // Notification that a tab has been closed. |closed_by_user_gesture| comes 112 // Notification that a tab has been closed. |closed_by_user_gesture| comes
113 // from |TabContents::closed_by_user_gesture|; see it for details. 113 // from |WebContents::closed_by_user_gesture|; see it for details.
114 // 114 //
115 // Note: this is invoked from the NavigationController's destructor, which is 115 // Note: this is invoked from the NavigationController's destructor, which is
116 // after the actual tab has been removed. 116 // after the actual tab has been removed.
117 void TabClosed(const SessionID& window_id, 117 void TabClosed(const SessionID& window_id,
118 const SessionID& tab_id, 118 const SessionID& tab_id,
119 bool closed_by_user_gesture); 119 bool closed_by_user_gesture);
120 120
121 // Notification the window is about to close. 121 // Notification the window is about to close.
122 void WindowClosing(const SessionID& window_id); 122 void WindowClosing(const SessionID& window_id);
123 123
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after
459 459
460 // Constants used in calculating histogram data. 460 // Constants used in calculating histogram data.
461 const base::TimeDelta save_delay_in_millis_; 461 const base::TimeDelta save_delay_in_millis_;
462 const base::TimeDelta save_delay_in_mins_; 462 const base::TimeDelta save_delay_in_mins_;
463 const base::TimeDelta save_delay_in_hrs_; 463 const base::TimeDelta save_delay_in_hrs_;
464 464
465 DISALLOW_COPY_AND_ASSIGN(SessionService); 465 DISALLOW_COPY_AND_ASSIGN(SessionService);
466 }; 466 };
467 467
468 #endif // CHROME_BROWSER_SESSIONS_SESSION_SERVICE_H_ 468 #endif // CHROME_BROWSER_SESSIONS_SESSION_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/sessions/restore_tab_helper.cc ('k') | chrome/browser/speech/speech_recognition_bubble_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698