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

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

Issue 2931023002: [TooManyTabs] Add TabNavigationThrottle (Closed)
Patch Set: add comments Created 3 years, 5 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
« no previous file with comments | « chrome/test/BUILD.gn ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <functional> 10 #include <functional>
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 base::TerminationStatus GetCrashedStatus() const override; 357 base::TerminationStatus GetCrashedStatus() const override;
358 int GetCrashedErrorCode() const override; 358 int GetCrashedErrorCode() const override;
359 bool IsBeingDestroyed() const override; 359 bool IsBeingDestroyed() const override;
360 void NotifyNavigationStateChanged(InvalidateTypes changed_flags) override; 360 void NotifyNavigationStateChanged(InvalidateTypes changed_flags) override;
361 void OnAudioStateChanged(bool is_audible) override; 361 void OnAudioStateChanged(bool is_audible) override;
362 base::TimeTicks GetLastActiveTime() const override; 362 base::TimeTicks GetLastActiveTime() const override;
363 void SetLastActiveTime(base::TimeTicks last_active_time) override; 363 void SetLastActiveTime(base::TimeTicks last_active_time) override;
364 base::TimeTicks GetLastHiddenTime() const override; 364 base::TimeTicks GetLastHiddenTime() const override;
365 void WasShown() override; 365 void WasShown() override;
366 void WasHidden() override; 366 void WasHidden() override;
367 bool IsVisible() const override;
367 bool NeedToFireBeforeUnload() override; 368 bool NeedToFireBeforeUnload() override;
368 void DispatchBeforeUnload() override; 369 void DispatchBeforeUnload() override;
369 void AttachToOuterWebContentsFrame( 370 void AttachToOuterWebContentsFrame(
370 WebContents* outer_web_contents, 371 WebContents* outer_web_contents,
371 RenderFrameHost* outer_contents_frame) override; 372 RenderFrameHost* outer_contents_frame) override;
372 void DidChangeVisibleSecurityState() override; 373 void DidChangeVisibleSecurityState() override;
373 void Stop() override; 374 void Stop() override;
374 WebContents* Clone() override; 375 WebContents* Clone() override;
375 void ReloadFocusedFrame(bool bypass_cache) override; 376 void ReloadFocusedFrame(bool bypass_cache) override;
376 void Undo() override; 377 void Undo() override;
(...skipping 1284 matching lines...) Expand 10 before | Expand all | Expand 10 after
1661 // Adds/removes a callback called on creation of each new WebContents. 1662 // Adds/removes a callback called on creation of each new WebContents.
1662 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1663 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1663 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1664 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1664 1665
1665 DISALLOW_COPY_AND_ASSIGN(FriendWrapper); 1666 DISALLOW_COPY_AND_ASSIGN(FriendWrapper);
1666 }; 1667 };
1667 1668
1668 } // namespace content 1669 } // namespace content
1669 1670
1670 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1671 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/test/BUILD.gn ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698