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

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

Issue 2439483003: Link MediaSessionTabHelper with native MediaSession [CL is going to be split] (Closed)
Patch Set: Don't review, this CL is getting huge and needs to be split Created 4 years, 2 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_PUBLIC_BROWSER_WEB_CONTENTS_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_
6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ 6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <set> 10 #include <set>
(...skipping 685 matching lines...) Expand 10 before | Expand all | Expand 10 after
696 // browser fullscreen. 696 // browser fullscreen.
697 virtual void ExitFullscreen(bool will_cause_resize) = 0; 697 virtual void ExitFullscreen(bool will_cause_resize) = 0;
698 698
699 // Unblocks requests from renderer for a newly created window. This is 699 // Unblocks requests from renderer for a newly created window. This is
700 // used in showCreatedWindow() or sometimes later in cases where 700 // used in showCreatedWindow() or sometimes later in cases where
701 // delegate->ShouldResumeRequestsForCreatedWindow() indicated the requests 701 // delegate->ShouldResumeRequestsForCreatedWindow() indicated the requests
702 // should not yet be resumed. Then the client is responsible for calling this 702 // should not yet be resumed. Then the client is responsible for calling this
703 // as soon as they are ready. 703 // as soon as they are ready.
704 virtual void ResumeLoadingCreatedWebContents() = 0; 704 virtual void ResumeLoadingCreatedWebContents() = 0;
705 705
706 // Requests to resume the current media session.
707 virtual void ResumeMediaSession() = 0;
708 // Requests to suspend the current media session.
709 virtual void SuspendMediaSession() = 0;
710 // Requests to stop the current media session.
711 virtual void StopMediaSession() = 0;
712
713 // Called when the WebContents has displayed a password field on an 706 // Called when the WebContents has displayed a password field on an
714 // HTTP page. This method modifies the appropriate NavigationEntry's 707 // HTTP page. This method modifies the appropriate NavigationEntry's
715 // SSLStatus to record the sensitive input field, so that embedders 708 // SSLStatus to record the sensitive input field, so that embedders
716 // can adjust the UI if desired. 709 // can adjust the UI if desired.
717 virtual void OnPasswordInputShownOnHttp() = 0; 710 virtual void OnPasswordInputShownOnHttp() = 0;
718 711
719 // Called when the WebContents has displayed a credit card field on an 712 // Called when the WebContents has displayed a credit card field on an
720 // HTTP page. This method modifies the appropriate NavigationEntry's 713 // HTTP page. This method modifies the appropriate NavigationEntry's
721 // SSLStatus to record the sensitive input field, so that embedders 714 // SSLStatus to record the sensitive input field, so that embedders
722 // can adjust the UI if desired. 715 // can adjust the UI if desired.
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
759 752
760 private: 753 private:
761 // This interface should only be implemented inside content. 754 // This interface should only be implemented inside content.
762 friend class WebContentsImpl; 755 friend class WebContentsImpl;
763 WebContents() {} 756 WebContents() {}
764 }; 757 };
765 758
766 } // namespace content 759 } // namespace content
767 760
768 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ 761 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698