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 13 matching lines...) Expand all Loading... |
24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | 24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 */ | 29 */ |
30 | 30 |
31 #ifndef WebLocalFrameImpl_h | 31 #ifndef WebLocalFrameImpl_h |
32 #define WebLocalFrameImpl_h | 32 #define WebLocalFrameImpl_h |
33 | 33 |
| 34 #include <memory> |
34 #include "core/editing/VisiblePosition.h" | 35 #include "core/editing/VisiblePosition.h" |
35 #include "core/frame/LocalFrame.h" | 36 #include "core/frame/LocalFrame.h" |
36 #include "platform/geometry/FloatRect.h" | 37 #include "platform/geometry/FloatRect.h" |
37 #include "platform/heap/SelfKeepAlive.h" | 38 #include "platform/heap/SelfKeepAlive.h" |
38 #include "public/platform/WebFileSystemType.h" | 39 #include "public/platform/WebFileSystemType.h" |
39 #include "public/web/WebLocalFrame.h" | 40 #include "public/web/WebLocalFrame.h" |
40 #include "web/FrameLoaderClientImpl.h" | 41 #include "web/FrameLoaderClientImpl.h" |
41 #include "web/UserMediaClientImpl.h" | 42 #include "web/UserMediaClientImpl.h" |
42 #include "web/WebExport.h" | 43 #include "web/WebExport.h" |
43 #include "web/WebFrameImplBase.h" | 44 #include "web/WebFrameImplBase.h" |
44 #include "web/WebFrameWidgetBase.h" | 45 #include "web/WebFrameWidgetBase.h" |
45 #include "web/WebInputMethodControllerImpl.h" | 46 #include "web/WebInputMethodControllerImpl.h" |
46 #include "wtf/Compiler.h" | 47 #include "wtf/Compiler.h" |
47 #include "wtf/text/WTFString.h" | 48 #include "wtf/text/WTFString.h" |
48 #include <memory> | |
49 | 49 |
50 namespace blink { | 50 namespace blink { |
51 | 51 |
52 class ChromePrintContext; | 52 class ChromePrintContext; |
53 class IntSize; | 53 class IntSize; |
54 class KURL; | 54 class KURL; |
55 class ScrollableArea; | 55 class ScrollableArea; |
56 class SharedWorkerRepositoryClientImpl; | 56 class SharedWorkerRepositoryClientImpl; |
57 class TextFinder; | 57 class TextFinder; |
58 class WebAssociatedURLLoader; | 58 class WebAssociatedURLLoader; |
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
409 // DevTools front-end bindings. | 409 // DevTools front-end bindings. |
410 void setDevToolsFrontend(WebDevToolsFrontendImpl* frontend) { | 410 void setDevToolsFrontend(WebDevToolsFrontendImpl* frontend) { |
411 m_webDevToolsFrontend = frontend; | 411 m_webDevToolsFrontend = frontend; |
412 } | 412 } |
413 WebDevToolsFrontendImpl* devToolsFrontend() { return m_webDevToolsFrontend; } | 413 WebDevToolsFrontendImpl* devToolsFrontend() { return m_webDevToolsFrontend; } |
414 | 414 |
415 WebNode contextMenuNode() const { return m_contextMenuNode.get(); } | 415 WebNode contextMenuNode() const { return m_contextMenuNode.get(); } |
416 void setContextMenuNode(Node* node) { m_contextMenuNode = node; } | 416 void setContextMenuNode(Node* node) { m_contextMenuNode = node; } |
417 void clearContextMenuNode() { m_contextMenuNode.clear(); } | 417 void clearContextMenuNode() { m_contextMenuNode.clear(); } |
418 | 418 |
419 | |
420 DECLARE_TRACE(); | 419 DECLARE_TRACE(); |
421 | 420 |
422 private: | 421 private: |
423 friend class FrameLoaderClientImpl; | 422 friend class FrameLoaderClientImpl; |
424 | 423 |
425 WebLocalFrameImpl(WebTreeScopeType, | 424 WebLocalFrameImpl(WebTreeScopeType, |
426 WebFrameClient*, | 425 WebFrameClient*, |
427 blink::InterfaceProvider*, | 426 blink::InterfaceProvider*, |
428 blink::InterfaceRegistry*); | 427 blink::InterfaceRegistry*); |
429 WebLocalFrameImpl(WebRemoteFrame*, | 428 WebLocalFrameImpl(WebRemoteFrame*, |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
501 | 500 |
502 DEFINE_TYPE_CASTS(WebLocalFrameImpl, | 501 DEFINE_TYPE_CASTS(WebLocalFrameImpl, |
503 WebFrame, | 502 WebFrame, |
504 frame, | 503 frame, |
505 frame->isWebLocalFrame(), | 504 frame->isWebLocalFrame(), |
506 frame.isWebLocalFrame()); | 505 frame.isWebLocalFrame()); |
507 | 506 |
508 } // namespace blink | 507 } // namespace blink |
509 | 508 |
510 #endif | 509 #endif |
OLD | NEW |