OLD | NEW |
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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 // Associates an isolated world with human-readable name which is useful for | 113 // Associates an isolated world with human-readable name which is useful for |
114 // extension debugging. | 114 // extension debugging. |
115 virtual void setIsolatedWorldHumanReadableName(int worldID, const WebString&
) = 0; | 115 virtual void setIsolatedWorldHumanReadableName(int worldID, const WebString&
) = 0; |
116 | 116 |
117 | 117 |
118 // Selection -------------------------------------------------------------- | 118 // Selection -------------------------------------------------------------- |
119 | 119 |
120 // Moves the selection extent point. This function does not allow the | 120 // Moves the selection extent point. This function does not allow the |
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&) = 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 |platform|. |
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 WebString& platform, WebAppBa
nnerPromptReply*) = 0; | 134 virtual void willShowInstallBannerPrompt(const WebString& platform, WebAppBa
nnerPromptReply*) = 0; |
135 }; | 135 }; |
136 | 136 |
137 } // namespace blink | 137 } // namespace blink |
138 | 138 |
139 #endif // WebLocalFrame_h | 139 #endif // WebLocalFrame_h |
140 | 140 |
OLD | NEW |