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

Side by Side Diff: public/web/WebLocalFrame.h

Issue 1089813002: Change beforeinstallprompt event to take an array of platforms. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Update test expectations Created 5 years, 8 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 | « Source/web/WebLocalFrameImpl.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 // selection to collapse. If the new extent is set to the same position as 121 // selection to collapse. If the new extent is set to the same position as
122 // the current base, this function will do nothing. 122 // the current base, this function will do nothing.
123 virtual void moveRangeSelectionExtent(const WebPoint&, TextGranularity = Cha racterGranularity) = 0; 123 virtual void moveRangeSelectionExtent(const WebPoint&, TextGranularity = Cha racterGranularity) = 0;
124 124
125 // Content Settings ------------------------------------------------------- 125 // Content Settings -------------------------------------------------------
126 126
127 virtual void setContentSettingsClient(WebContentSettingsClient*) = 0; 127 virtual void setContentSettingsClient(WebContentSettingsClient*) = 0;
128 128
129 // App banner ------------------------------------------------------------- 129 // App banner -------------------------------------------------------------
130 130
131 // Request to show an application install banner for the given |platform|. 131 // Request to show an application install banner for the given |platforms|.
132 // The implementation can request the embedder to cancel the call by setting 132 // The implementation can request the embedder to cancel the call by setting
133 // |cancel| to true. 133 // |cancel| to true.
134 virtual void willShowInstallBannerPrompt(const WebVector<WebString>& platfor ms, WebAppBannerPromptReply*) = 0;
135
136 // Version of the above which takes a single platform.
137 // TODO(benwells): remove this once the chrome side has been updated.
134 virtual void willShowInstallBannerPrompt(const WebString& platform, WebAppBa nnerPromptReply*) = 0; 138 virtual void willShowInstallBannerPrompt(const WebString& platform, WebAppBa nnerPromptReply*) = 0;
135 }; 139 };
136 140
137 } // namespace blink 141 } // namespace blink
138 142
139 #endif // WebLocalFrame_h 143 #endif // WebLocalFrame_h
140 144
OLDNEW
« no previous file with comments | « Source/web/WebLocalFrameImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698