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

Unified Diff: public/web/WebLocalFrame.h

Issue 942913002: [AppBanner] Blink implementation of an event when an install banner is shown. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
« Source/modules/app_banner/OWNERS ('K') | « Source/web/WebLocalFrameImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebLocalFrame.h
diff --git a/public/web/WebLocalFrame.h b/public/web/WebLocalFrame.h
index 3cc1018a189f682e0b16d40fa45145ddd509c339..f4786a2c5ee4483dbeaff7d8b2a3997fa52eb292 100644
--- a/public/web/WebLocalFrame.h
+++ b/public/web/WebLocalFrame.h
@@ -108,6 +108,14 @@ public:
// selection to collapse. If the new extent is set to the same position as
// the current base, this function will do nothing.
virtual void moveRangeSelectionExtent(const WebPoint&, TextGranularity = CharacterGranularity) = 0;
+
+
+ // App banner -------------------------------------------------------------
+
+ // Request to show an application install banner for the given |platform|.
+ // The implementation can request the embedder to cancel the call by setting
+ // |cancel| to true.
+ virtual void willShowInstallBannerPrompt(const WebString& platform, bool* cancel) = 0;
};
} // namespace blink
« Source/modules/app_banner/OWNERS ('K') | « Source/web/WebLocalFrameImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698