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

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

Issue 1836973003: Move download messages from Renderer to Frame filter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 WebString pageProperty(const WebString& propertyName, int pageIndex) overrid e; 187 WebString pageProperty(const WebString& propertyName, int pageIndex) overrid e;
188 void printPagesWithBoundaries(WebCanvas*, const WebSize&) override; 188 void printPagesWithBoundaries(WebCanvas*, const WebSize&) override;
189 189
190 void dispatchMessageEventWithOriginCheck( 190 void dispatchMessageEventWithOriginCheck(
191 const WebSecurityOrigin& intendedTargetOrigin, 191 const WebSecurityOrigin& intendedTargetOrigin,
192 const WebDOMEvent&) override; 192 const WebDOMEvent&) override;
193 193
194 WebRect selectionBoundsRect() const override; 194 WebRect selectionBoundsRect() const override;
195 195
196 bool selectionStartHasSpellingMarkerFor(int from, int length) const override ; 196 bool selectionStartHasSpellingMarkerFor(int from, int length) const override ;
197 void copyImageAt(const WebPoint&) override;
198 void saveImageAt(const WebPoint&) override;
197 WebString layerTreeAsText(bool showDebugInfo = false) const override; 199 WebString layerTreeAsText(bool showDebugInfo = false) const override;
198 200
199 WebFrameImplBase* toImplBase() override { return this; } 201 WebFrameImplBase* toImplBase() override { return this; }
200 202
201 // WebLocalFrame methods: 203 // WebLocalFrame methods:
202 void setAutofillClient(WebAutofillClient*) override; 204 void setAutofillClient(WebAutofillClient*) override;
203 WebAutofillClient* autofillClient() override; 205 WebAutofillClient* autofillClient() override;
204 void setDevToolsAgentClient(WebDevToolsAgentClient*) override; 206 void setDevToolsAgentClient(WebDevToolsAgentClient*) override;
205 WebDevToolsAgent* devToolsAgent() override; 207 WebDevToolsAgent* devToolsAgent() override;
206 void setFrameOwnerProperties(const WebFrameOwnerProperties&) override; 208 void setFrameOwnerProperties(const WebFrameOwnerProperties&) override;
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 bool isWebLocalFrame() const override; 344 bool isWebLocalFrame() const override;
343 WebLocalFrame* toWebLocalFrame() override; 345 WebLocalFrame* toWebLocalFrame() override;
344 bool isWebRemoteFrame() const override; 346 bool isWebRemoteFrame() const override;
345 WebRemoteFrame* toWebRemoteFrame() override; 347 WebRemoteFrame* toWebRemoteFrame() override;
346 348
347 // Sets the local core frame and registers destruction observers. 349 // Sets the local core frame and registers destruction observers.
348 void setCoreFrame(LocalFrame*); 350 void setCoreFrame(LocalFrame*);
349 351
350 void loadJavaScriptURL(const KURL&); 352 void loadJavaScriptURL(const KURL&);
351 353
354 HitTestResult hitTestResultForVisualViewportPos(const IntPoint&);
355
352 WebPlugin* focusedPluginIfInputMethodSupported(); 356 WebPlugin* focusedPluginIfInputMethodSupported();
353 ScrollableArea* layoutViewportScrollableArea() const; 357 ScrollableArea* layoutViewportScrollableArea() const;
354 358
355 Member<FrameLoaderClientImpl> m_frameLoaderClientImpl; 359 Member<FrameLoaderClientImpl> m_frameLoaderClientImpl;
356 360
357 // The embedder retains a reference to the WebCore LocalFrame while it is ac tive in the DOM. This 361 // The embedder retains a reference to the WebCore LocalFrame while it is ac tive in the DOM. This
358 // reference is released when the frame is removed from the DOM or the entir e page is closed. 362 // reference is released when the frame is removed from the DOM or the entir e page is closed.
359 // FIXME: These will need to change to WebFrame when we introduce WebFramePr oxy. 363 // FIXME: These will need to change to WebFrame when we introduce WebFramePr oxy.
360 Member<LocalFrame> m_frame; 364 Member<LocalFrame> m_frame;
361 365
(...skipping 30 matching lines...) Expand all
392 // Accomplish that by keeping a self-referential Persistent<>. It is 396 // Accomplish that by keeping a self-referential Persistent<>. It is
393 // cleared upon close(). 397 // cleared upon close().
394 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive; 398 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive;
395 }; 399 };
396 400
397 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame()); 401 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame());
398 402
399 } // namespace blink 403 } // namespace blink
400 404
401 #endif 405 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698