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

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

Issue 2064943002: Pass in extra parameters to WebApkBuilder#buildWebApkAsync() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge branch 'master' into webapk_manifest000 Created 4 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 | « content/common/manifest_manager_messages.h ('k') | content/renderer/devtools/devtools_agent.h » ('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_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 673 matching lines...) Expand 10 before | Expand all | Expand 10 after
684 // Notifies the renderer that the user has closed the FindInPage window 684 // Notifies the renderer that the user has closed the FindInPage window
685 // (and what action to take regarding the selection). 685 // (and what action to take regarding the selection).
686 virtual void StopFinding(StopFindAction action) = 0; 686 virtual void StopFinding(StopFindAction action) = 0;
687 687
688 // Requests the renderer to insert CSS into the main frame's document. 688 // Requests the renderer to insert CSS into the main frame's document.
689 virtual void InsertCSS(const std::string& css) = 0; 689 virtual void InsertCSS(const std::string& css) = 0;
690 690
691 // Returns true if audio has recently been audible from the WebContents. 691 // Returns true if audio has recently been audible from the WebContents.
692 virtual bool WasRecentlyAudible() = 0; 692 virtual bool WasRecentlyAudible() = 0;
693 693
694 typedef base::Callback<void(const Manifest&)> GetManifestCallback; 694 typedef base::Callback<void(const GURL&, const Manifest&)>
695 GetManifestCallback;
695 696
696 // Requests the Manifest of the main frame's document. 697 // Requests the manifest URL and the Manifest of the main frame's document.
697 virtual void GetManifest(const GetManifestCallback& callback) = 0; 698 virtual void GetManifest(const GetManifestCallback& callback) = 0;
698 699
699 typedef base::Callback<void(bool)> HasManifestCallback; 700 typedef base::Callback<void(bool)> HasManifestCallback;
700 701
701 // Returns true if the main frame has a <link> to a web manifest, otherwise 702 // Returns true if the main frame has a <link> to a web manifest, otherwise
702 // false. This method does not guarantee that the manifest exists at the 703 // false. This method does not guarantee that the manifest exists at the
703 // specified location or is valid. 704 // specified location or is valid.
704 virtual void HasManifest(const HasManifestCallback& callback) = 0; 705 virtual void HasManifest(const HasManifestCallback& callback) = 0;
705 706
706 // Requests the renderer to exit fullscreen. 707 // Requests the renderer to exit fullscreen.
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
752 753
753 private: 754 private:
754 // This interface should only be implemented inside content. 755 // This interface should only be implemented inside content.
755 friend class WebContentsImpl; 756 friend class WebContentsImpl;
756 WebContents() {} 757 WebContents() {}
757 }; 758 };
758 759
759 } // namespace content 760 } // namespace content
760 761
761 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ 762 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_
OLDNEW
« no previous file with comments | « content/common/manifest_manager_messages.h ('k') | content/renderer/devtools/devtools_agent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698