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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 WebLocalFrame_h 5 #ifndef WebLocalFrame_h
6 #define WebLocalFrame_h 6 #define WebLocalFrame_h
7 7
8 #include "WebFrame.h" 8 #include "WebFrame.h"
9 9
10 namespace blink { 10 namespace blink {
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 // extension debugging. 101 // extension debugging.
102 virtual void setIsolatedWorldHumanReadableName(int worldID, const WebString& ) = 0; 102 virtual void setIsolatedWorldHumanReadableName(int worldID, const WebString& ) = 0;
103 103
104 104
105 // Selection -------------------------------------------------------------- 105 // Selection --------------------------------------------------------------
106 106
107 // Moves the selection extent point. This function does not allow the 107 // Moves the selection extent point. This function does not allow the
108 // selection to collapse. If the new extent is set to the same position as 108 // selection to collapse. If the new extent is set to the same position as
109 // the current base, this function will do nothing. 109 // the current base, this function will do nothing.
110 virtual void moveRangeSelectionExtent(const WebPoint&, TextGranularity = Cha racterGranularity) = 0; 110 virtual void moveRangeSelectionExtent(const WebPoint&, TextGranularity = Cha racterGranularity) = 0;
111
112
113 // App banner -------------------------------------------------------------
114
115 // Request to show an application install banner for the given |platform|.
116 // The implementation can request the embedder to cancel the call by setting
117 // |cancel| to true.
118 virtual void willShowInstallBannerPrompt(const WebString& platform, bool* ca ncel) = 0;
111 }; 119 };
112 120
113 } // namespace blink 121 } // namespace blink
114 122
115 #endif // WebLocalFrame_h 123 #endif // WebLocalFrame_h
OLDNEW
« 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