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

Side by Side Diff: content/browser/web_contents/web_contents_impl.h

Issue 1131373003: [Session restore] Add MRU logic to loading of background pages. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unnecessary change in tab_restore_service.h Created 5 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
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 CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 void DecrementCapturerCount() override; 269 void DecrementCapturerCount() override;
270 int GetCapturerCount() const override; 270 int GetCapturerCount() const override;
271 bool IsAudioMuted() const override; 271 bool IsAudioMuted() const override;
272 void SetAudioMuted(bool mute) override; 272 void SetAudioMuted(bool mute) override;
273 bool IsCrashed() const override; 273 bool IsCrashed() const override;
274 void SetIsCrashed(base::TerminationStatus status, int error_code) override; 274 void SetIsCrashed(base::TerminationStatus status, int error_code) override;
275 base::TerminationStatus GetCrashedStatus() const override; 275 base::TerminationStatus GetCrashedStatus() const override;
276 bool IsBeingDestroyed() const override; 276 bool IsBeingDestroyed() const override;
277 void NotifyNavigationStateChanged(InvalidateTypes changed_flags) override; 277 void NotifyNavigationStateChanged(InvalidateTypes changed_flags) override;
278 base::Time GetLastActiveTime() const override; 278 base::Time GetLastActiveTime() const override;
279 void SetLastActiveTime(base::Time last_active_time) override;
279 void WasShown() override; 280 void WasShown() override;
280 void WasHidden() override; 281 void WasHidden() override;
281 bool NeedToFireBeforeUnload() override; 282 bool NeedToFireBeforeUnload() override;
282 void DispatchBeforeUnload(bool for_cross_site_transition) override; 283 void DispatchBeforeUnload(bool for_cross_site_transition) override;
283 void Stop() override; 284 void Stop() override;
284 WebContents* Clone() override; 285 WebContents* Clone() override;
285 void ReloadFocusedFrame(bool ignore_cache) override; 286 void ReloadFocusedFrame(bool ignore_cache) override;
286 void Undo() override; 287 void Undo() override;
287 void Redo() override; 288 void Redo() override;
288 void Cut() override; 289 void Cut() override;
(...skipping 996 matching lines...) Expand 10 before | Expand all | Expand 10 after
1285 // Adds/removes a callback called on creation of each new WebContents. 1286 // Adds/removes a callback called on creation of each new WebContents.
1286 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1287 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1287 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1288 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1288 1289
1289 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1290 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1290 }; 1291 };
1291 1292
1292 } // namespace content 1293 } // namespace content
1293 1294
1294 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1295 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698