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

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

Issue 988023005: Implementing directional selection strategy in Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressing nits 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/WebSettingsImpl.cpp ('k') | public/web/WebSettings.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 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
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
OLDNEW
« no previous file with comments | « Source/web/WebSettingsImpl.cpp ('k') | public/web/WebSettings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698