OLD | NEW |
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 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
265 void DecrementCapturerCount() override; | 265 void DecrementCapturerCount() override; |
266 int GetCapturerCount() const override; | 266 int GetCapturerCount() const override; |
267 bool IsAudioMuted() const override; | 267 bool IsAudioMuted() const override; |
268 void SetAudioMuted(bool mute) override; | 268 void SetAudioMuted(bool mute) override; |
269 bool IsCrashed() const override; | 269 bool IsCrashed() const override; |
270 void SetIsCrashed(base::TerminationStatus status, int error_code) override; | 270 void SetIsCrashed(base::TerminationStatus status, int error_code) override; |
271 base::TerminationStatus GetCrashedStatus() const override; | 271 base::TerminationStatus GetCrashedStatus() const override; |
272 bool IsBeingDestroyed() const override; | 272 bool IsBeingDestroyed() const override; |
273 void NotifyNavigationStateChanged(InvalidateTypes changed_flags) override; | 273 void NotifyNavigationStateChanged(InvalidateTypes changed_flags) override; |
274 base::TimeTicks GetLastActiveTime() const override; | 274 base::TimeTicks GetLastActiveTime() const override; |
| 275 void SetLastActiveTime(base::TimeTicks last_active_time) override; |
275 void WasShown() override; | 276 void WasShown() override; |
276 void WasHidden() override; | 277 void WasHidden() override; |
277 bool NeedToFireBeforeUnload() override; | 278 bool NeedToFireBeforeUnload() override; |
278 void DispatchBeforeUnload(bool for_cross_site_transition) override; | 279 void DispatchBeforeUnload(bool for_cross_site_transition) override; |
279 void Stop() override; | 280 void Stop() override; |
280 WebContents* Clone() override; | 281 WebContents* Clone() override; |
281 void ReloadFocusedFrame(bool ignore_cache) override; | 282 void ReloadFocusedFrame(bool ignore_cache) override; |
282 void Undo() override; | 283 void Undo() override; |
283 void Redo() override; | 284 void Redo() override; |
284 void Cut() override; | 285 void Cut() override; |
(...skipping 987 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1272 // Adds/removes a callback called on creation of each new WebContents. | 1273 // Adds/removes a callback called on creation of each new WebContents. |
1273 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1274 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
1274 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1275 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
1275 | 1276 |
1276 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1277 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
1277 }; | 1278 }; |
1278 | 1279 |
1279 } // namespace content | 1280 } // namespace content |
1280 | 1281 |
1281 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1282 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |