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