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

Side by Side Diff: third_party/WebKit/Source/web/WebLocalFrameImpl.h

Issue 1938753002: OOPIF: Replicate allowFullscreen flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 7 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 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 bool selectionStartHasSpellingMarkerFor(int from, int length) const override ; 195 bool selectionStartHasSpellingMarkerFor(int from, int length) const override ;
196 WebString layerTreeAsText(bool showDebugInfo = false) const override; 196 WebString layerTreeAsText(bool showDebugInfo = false) const override;
197 197
198 WebFrameImplBase* toImplBase() override { return this; } 198 WebFrameImplBase* toImplBase() override { return this; }
199 199
200 // WebLocalFrame methods: 200 // WebLocalFrame methods:
201 void setAutofillClient(WebAutofillClient*) override; 201 void setAutofillClient(WebAutofillClient*) override;
202 WebAutofillClient* autofillClient() override; 202 WebAutofillClient* autofillClient() override;
203 void setDevToolsAgentClient(WebDevToolsAgentClient*) override; 203 void setDevToolsAgentClient(WebDevToolsAgentClient*) override;
204 WebDevToolsAgent* devToolsAgent() override; 204 WebDevToolsAgent* devToolsAgent() override;
205 void setFrameOwnerProperties(const WebFrameOwnerProperties&) override;
206 WebLocalFrameImpl* localRoot() override; 205 WebLocalFrameImpl* localRoot() override;
207 WebLocalFrame* traversePreviousLocal(bool wrap) const override; 206 WebLocalFrame* traversePreviousLocal(bool wrap) const override;
208 WebLocalFrame* traverseNextLocal(bool wrap) const override; 207 WebLocalFrame* traverseNextLocal(bool wrap) const override;
209 void sendPings(const WebURL& destinationURL) override; 208 void sendPings(const WebURL& destinationURL) override;
210 WebURLRequest requestFromHistoryItem(const WebHistoryItem&, WebCachePolicy) const override; 209 WebURLRequest requestFromHistoryItem(const WebHistoryItem&, WebCachePolicy) const override;
211 WebURLRequest requestForReload(WebFrameLoadType, const WebURL&) const overri de; 210 WebURLRequest requestForReload(WebFrameLoadType, const WebURL&) const overri de;
212 void load(const WebURLRequest&, WebFrameLoadType, const WebHistoryItem&, 211 void load(const WebURLRequest&, WebFrameLoadType, const WebHistoryItem&,
213 WebHistoryLoadType, bool isClientRedirect) override; 212 WebHistoryLoadType, bool isClientRedirect) override;
214 void loadData( 213 void loadData(
215 const WebData&, const WebString& mimeType, const WebString& textEncoding , 214 const WebData&, const WebString& mimeType, const WebString& textEncoding ,
(...skipping 28 matching lines...) Expand all
244 WebFrameWidget* frameWidget() const override; 243 WebFrameWidget* frameWidget() const override;
245 244
246 // WebFrameImplBase methods: 245 // WebFrameImplBase methods:
247 void initializeCoreFrame(FrameHost*, FrameOwner*, const AtomicString& name, const AtomicString& uniqueName) override; 246 void initializeCoreFrame(FrameHost*, FrameOwner*, const AtomicString& name, const AtomicString& uniqueName) override;
248 LocalFrame* frame() const override { return m_frame.get(); } 247 LocalFrame* frame() const override { return m_frame.get(); }
249 248
250 void willBeDetached(); 249 void willBeDetached();
251 void willDetachParent(); 250 void willDetachParent();
252 251
253 static WebLocalFrameImpl* create(WebTreeScopeType, WebFrameClient*, WebFrame * opener); 252 static WebLocalFrameImpl* create(WebTreeScopeType, WebFrameClient*, WebFrame * opener);
254 static WebLocalFrameImpl* createProvisional(WebFrameClient*, WebRemoteFrame* , WebSandboxFlags, const WebFrameOwnerProperties&); 253 static WebLocalFrameImpl* createProvisional(WebFrameClient*, WebRemoteFrame* , WebSandboxFlags);
255 ~WebLocalFrameImpl() override; 254 ~WebLocalFrameImpl() override;
256 255
257 LocalFrame* createChildFrame(const FrameLoadRequest&, const AtomicString& na me, HTMLFrameOwnerElement*); 256 LocalFrame* createChildFrame(const FrameLoadRequest&, const AtomicString& na me, HTMLFrameOwnerElement*);
258 257
259 void didChangeContentsSize(const IntSize&); 258 void didChangeContentsSize(const IntSize&);
260 259
261 void createFrameView(); 260 void createFrameView();
262 261
263 static WebLocalFrameImpl* fromFrame(LocalFrame*); 262 static WebLocalFrameImpl* fromFrame(LocalFrame*);
264 static WebLocalFrameImpl* fromFrame(LocalFrame&); 263 static WebLocalFrameImpl* fromFrame(LocalFrame&);
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 // Accomplish that by keeping a self-referential Persistent<>. It is 388 // Accomplish that by keeping a self-referential Persistent<>. It is
390 // cleared upon close(). 389 // cleared upon close().
391 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive; 390 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive;
392 }; 391 };
393 392
394 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame()); 393 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame());
395 394
396 } // namespace blink 395 } // namespace blink
397 396
398 #endif 397 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698