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