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

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

Issue 1423053002: Make document.activeElement work with OOPIF (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@focus-preserve-page-focus-on-subframe-navigations
Patch Set: Remove some plumbing that should instead be introduced in the window.focus() CL. Created 5 years, 1 month 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 #include "WebFrameLoadType.h" 9 #include "WebFrameLoadType.h"
10 10
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 virtual void setIsolatedWorldHumanReadableName(int worldID, const WebString& ) = 0; 151 virtual void setIsolatedWorldHumanReadableName(int worldID, const WebString& ) = 0;
152 152
153 153
154 // Selection -------------------------------------------------------------- 154 // Selection --------------------------------------------------------------
155 155
156 // Moves the selection extent point. This function does not allow the 156 // Moves the selection extent point. This function does not allow the
157 // selection to collapse. If the new extent is set to the same position as 157 // selection to collapse. If the new extent is set to the same position as
158 // the current base, this function will do nothing. 158 // the current base, this function will do nothing.
159 virtual void moveRangeSelectionExtent(const WebPoint&) = 0; 159 virtual void moveRangeSelectionExtent(const WebPoint&) = 0;
160 160
161 // Focus ------------------------------------------------------------------
162
163 // Called when this frame loses focus to a frame in another process.
164 virtual void clearFocus() = 0;
165
166 // Content Settings ------------------------------------------------------- 161 // Content Settings -------------------------------------------------------
167 162
168 virtual void setContentSettingsClient(WebContentSettingsClient*) = 0; 163 virtual void setContentSettingsClient(WebContentSettingsClient*) = 0;
169 164
170 // App banner ------------------------------------------------------------- 165 // App banner -------------------------------------------------------------
171 166
172 // Request to show an application install banner for the given |platforms|. 167 // Request to show an application install banner for the given |platforms|.
173 // The implementation can request the embedder to cancel the call by setting 168 // The implementation can request the embedder to cancel the call by setting
174 // |cancel| to true. 169 // |cancel| to true.
175 virtual void willShowInstallBannerPrompt(int requestId, const WebVector<WebS tring>& platforms, WebAppBannerPromptReply*) = 0; 170 virtual void willShowInstallBannerPrompt(int requestId, const WebVector<WebS tring>& platforms, WebAppBannerPromptReply*) = 0;
(...skipping 18 matching lines...) Expand all
194 // Returns the effective sandbox flags which are inherited from their parent frame. 189 // Returns the effective sandbox flags which are inherited from their parent frame.
195 virtual WebSandboxFlags effectiveSandboxFlags() const = 0; 190 virtual WebSandboxFlags effectiveSandboxFlags() const = 0;
196 191
197 protected: 192 protected:
198 explicit WebLocalFrame(WebTreeScopeType scope) : WebFrame(scope) { } 193 explicit WebLocalFrame(WebTreeScopeType scope) : WebFrame(scope) { }
199 }; 194 };
200 195
201 } // namespace blink 196 } // namespace blink
202 197
203 #endif // WebLocalFrame_h 198 #endif // WebLocalFrame_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698