| OLD | NEW |
| 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 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 237 int findMatchMarkersVersion() const override; | 237 int findMatchMarkersVersion() const override; |
| 238 WebFloatRect activeFindMatchRect() override; | 238 WebFloatRect activeFindMatchRect() override; |
| 239 void findMatchRects(WebVector<WebFloatRect>&) override; | 239 void findMatchRects(WebVector<WebFloatRect>&) override; |
| 240 int selectNearestFindMatch(const WebFloatPoint&, WebRect* selectionRect) ove
rride; | 240 int selectNearestFindMatch(const WebFloatPoint&, WebRect* selectionRect) ove
rride; |
| 241 float distanceToNearestFindMatch(const WebFloatPoint&) override; | 241 float distanceToNearestFindMatch(const WebFloatPoint&) override; |
| 242 void setTickmarks(const WebVector<WebRect>&) override; | 242 void setTickmarks(const WebVector<WebRect>&) override; |
| 243 WebFrameWidgetBase* frameWidget() const override; | 243 WebFrameWidgetBase* frameWidget() const override; |
| 244 void copyImageAt(const WebPoint&) override; | 244 void copyImageAt(const WebPoint&) override; |
| 245 void saveImageAt(const WebPoint&) override; | 245 void saveImageAt(const WebPoint&) override; |
| 246 void clearActiveFindMatch() override; | 246 void clearActiveFindMatch() override; |
| 247 void reportContentSecurityPolicyViolation( |
| 248 const WebString& directiveText, |
| 249 const WebString& effectiveDirective, |
| 250 const WebString& consoleMessage, |
| 251 const WebURL& blockedURL, |
| 252 const WebVector<WebString>& reportEndpoints, |
| 253 const WebString& header, |
| 254 WebContentSecurityPolicyViolationType, |
| 255 bool followedRedirect, |
| 256 int contextLine) override; |
| 247 | 257 |
| 248 // WebFrameImplBase methods: | 258 // WebFrameImplBase methods: |
| 249 void initializeCoreFrame(FrameHost*, FrameOwner*, const AtomicString& name,
const AtomicString& uniqueName) override; | 259 void initializeCoreFrame(FrameHost*, FrameOwner*, const AtomicString& name,
const AtomicString& uniqueName) override; |
| 250 LocalFrame* frame() const override { return m_frame.get(); } | 260 LocalFrame* frame() const override { return m_frame.get(); } |
| 251 | 261 |
| 252 void willBeDetached(); | 262 void willBeDetached(); |
| 253 void willDetachParent(); | 263 void willDetachParent(); |
| 254 | 264 |
| 255 static WebLocalFrameImpl* create(WebTreeScopeType, WebFrameClient*, WebFrame
* opener); | 265 static WebLocalFrameImpl* create(WebTreeScopeType, WebFrameClient*, WebFrame
* opener); |
| 256 static WebLocalFrameImpl* createProvisional(WebFrameClient*, WebRemoteFrame*
, WebSandboxFlags); | 266 static WebLocalFrameImpl* createProvisional(WebFrameClient*, WebRemoteFrame*
, WebSandboxFlags); |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 396 // Accomplish that by keeping a self-referential Persistent<>. It is | 406 // Accomplish that by keeping a self-referential Persistent<>. It is |
| 397 // cleared upon close(). | 407 // cleared upon close(). |
| 398 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive; | 408 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive; |
| 399 }; | 409 }; |
| 400 | 410 |
| 401 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); | 411 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); |
| 402 | 412 |
| 403 } // namespace blink | 413 } // namespace blink |
| 404 | 414 |
| 405 #endif | 415 #endif |
| OLD | NEW |