| 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 24 matching lines...) Expand all Loading... |
| 35 #include "core/frame/LocalFrame.h" | 35 #include "core/frame/LocalFrame.h" |
| 36 #include "platform/geometry/FloatRect.h" | 36 #include "platform/geometry/FloatRect.h" |
| 37 #include "platform/heap/SelfKeepAlive.h" | 37 #include "platform/heap/SelfKeepAlive.h" |
| 38 #include "public/platform/WebFileSystemType.h" | 38 #include "public/platform/WebFileSystemType.h" |
| 39 #include "public/web/WebLocalFrame.h" | 39 #include "public/web/WebLocalFrame.h" |
| 40 #include "web/FrameLoaderClientImpl.h" | 40 #include "web/FrameLoaderClientImpl.h" |
| 41 #include "web/UserMediaClientImpl.h" | 41 #include "web/UserMediaClientImpl.h" |
| 42 #include "web/WebExport.h" | 42 #include "web/WebExport.h" |
| 43 #include "web/WebFrameImplBase.h" | 43 #include "web/WebFrameImplBase.h" |
| 44 #include "web/WebFrameWidgetBase.h" | 44 #include "web/WebFrameWidgetBase.h" |
| 45 #include "web/WebInputMethodControllerImpl.h" |
| 45 #include "wtf/Compiler.h" | 46 #include "wtf/Compiler.h" |
| 46 #include "wtf/text/WTFString.h" | 47 #include "wtf/text/WTFString.h" |
| 47 #include <memory> | 48 #include <memory> |
| 48 | 49 |
| 49 namespace blink { | 50 namespace blink { |
| 50 | 51 |
| 51 class ChromePrintContext; | 52 class ChromePrintContext; |
| 52 class IntSize; | 53 class IntSize; |
| 53 class KURL; | 54 class KURL; |
| 54 class ScrollableArea; | 55 class ScrollableArea; |
| (...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 289 void setTickmarks(const WebVector<WebRect>&) override; | 290 void setTickmarks(const WebVector<WebRect>&) override; |
| 290 WebFrameWidgetBase* frameWidget() const override; | 291 WebFrameWidgetBase* frameWidget() const override; |
| 291 void copyImageAt(const WebPoint&) override; | 292 void copyImageAt(const WebPoint&) override; |
| 292 void saveImageAt(const WebPoint&) override; | 293 void saveImageAt(const WebPoint&) override; |
| 293 void setEngagementLevel(mojom::EngagementLevel) override; | 294 void setEngagementLevel(mojom::EngagementLevel) override; |
| 294 void clearActiveFindMatch() override; | 295 void clearActiveFindMatch() override; |
| 295 void usageCountChromeLoadTimes(const WebString& metric) override; | 296 void usageCountChromeLoadTimes(const WebString& metric) override; |
| 296 base::SingleThreadTaskRunner* timerTaskRunner() override; | 297 base::SingleThreadTaskRunner* timerTaskRunner() override; |
| 297 base::SingleThreadTaskRunner* loadingTaskRunner() override; | 298 base::SingleThreadTaskRunner* loadingTaskRunner() override; |
| 298 base::SingleThreadTaskRunner* unthrottledTaskRunner() override; | 299 base::SingleThreadTaskRunner* unthrottledTaskRunner() override; |
| 300 WebInputMethodControllerImpl* inputMethodController() const override; |
| 299 | 301 |
| 300 // WebFrameImplBase methods: | 302 // WebFrameImplBase methods: |
| 301 void initializeCoreFrame(FrameHost*, | 303 void initializeCoreFrame(FrameHost*, |
| 302 FrameOwner*, | 304 FrameOwner*, |
| 303 const AtomicString& name, | 305 const AtomicString& name, |
| 304 const AtomicString& uniqueName) override; | 306 const AtomicString& uniqueName) override; |
| 305 LocalFrame* frame() const override { return m_frame.get(); } | 307 LocalFrame* frame() const override { return m_frame.get(); } |
| 306 | 308 |
| 307 void willBeDetached(); | 309 void willBeDetached(); |
| 308 void willDetachParent(); | 310 void willDetachParent(); |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 394 // DevTools front-end bindings. | 396 // DevTools front-end bindings. |
| 395 void setDevToolsFrontend(WebDevToolsFrontendImpl* frontend) { | 397 void setDevToolsFrontend(WebDevToolsFrontendImpl* frontend) { |
| 396 m_webDevToolsFrontend = frontend; | 398 m_webDevToolsFrontend = frontend; |
| 397 } | 399 } |
| 398 WebDevToolsFrontendImpl* devToolsFrontend() { return m_webDevToolsFrontend; } | 400 WebDevToolsFrontendImpl* devToolsFrontend() { return m_webDevToolsFrontend; } |
| 399 | 401 |
| 400 WebNode contextMenuNode() const { return m_contextMenuNode.get(); } | 402 WebNode contextMenuNode() const { return m_contextMenuNode.get(); } |
| 401 void setContextMenuNode(Node* node) { m_contextMenuNode = node; } | 403 void setContextMenuNode(Node* node) { m_contextMenuNode = node; } |
| 402 void clearContextMenuNode() { m_contextMenuNode.clear(); } | 404 void clearContextMenuNode() { m_contextMenuNode.clear(); } |
| 403 | 405 |
| 404 WebInputMethodControllerImpl* inputMethodController() const; | |
| 405 | 406 |
| 406 DECLARE_TRACE(); | 407 DECLARE_TRACE(); |
| 407 | 408 |
| 408 private: | 409 private: |
| 409 friend class FrameLoaderClientImpl; | 410 friend class FrameLoaderClientImpl; |
| 410 | 411 |
| 411 WebLocalFrameImpl(WebTreeScopeType, WebFrameClient*); | 412 WebLocalFrameImpl(WebTreeScopeType, WebFrameClient*); |
| 412 WebLocalFrameImpl(WebRemoteFrame*, WebFrameClient*); | 413 WebLocalFrameImpl(WebRemoteFrame*, WebFrameClient*); |
| 413 | 414 |
| 414 // Inherited from WebFrame, but intentionally hidden: it never makes sense | 415 // Inherited from WebFrame, but intentionally hidden: it never makes sense |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 477 | 478 |
| 478 DEFINE_TYPE_CASTS(WebLocalFrameImpl, | 479 DEFINE_TYPE_CASTS(WebLocalFrameImpl, |
| 479 WebFrame, | 480 WebFrame, |
| 480 frame, | 481 frame, |
| 481 frame->isWebLocalFrame(), | 482 frame->isWebLocalFrame(), |
| 482 frame.isWebLocalFrame()); | 483 frame.isWebLocalFrame()); |
| 483 | 484 |
| 484 } // namespace blink | 485 } // namespace blink |
| 485 | 486 |
| 486 #endif | 487 #endif |
| OLD | NEW |