| 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 19 matching lines...) Expand all Loading... |
| 30 | 30 |
| 31 #ifndef WebLocalFrameImpl_h | 31 #ifndef WebLocalFrameImpl_h |
| 32 #define WebLocalFrameImpl_h | 32 #define WebLocalFrameImpl_h |
| 33 | 33 |
| 34 #include "core/editing/VisiblePosition.h" | 34 #include "core/editing/VisiblePosition.h" |
| 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/LocalFrameClientImpl.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 "web/WebInputMethodControllerImpl.h" |
| 46 #include "wtf/Compiler.h" | 46 #include "wtf/Compiler.h" |
| 47 #include "wtf/text/WTFString.h" | 47 #include "wtf/text/WTFString.h" |
| 48 | 48 |
| 49 #include <memory> | 49 #include <memory> |
| 50 | 50 |
| (...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 444 void loadJavaScriptURL(const KURL&); | 444 void loadJavaScriptURL(const KURL&); |
| 445 | 445 |
| 446 HitTestResult hitTestResultForVisualViewportPos(const IntPoint&); | 446 HitTestResult hitTestResultForVisualViewportPos(const IntPoint&); |
| 447 | 447 |
| 448 WebPlugin* focusedPluginIfInputMethodSupported(); | 448 WebPlugin* focusedPluginIfInputMethodSupported(); |
| 449 ScrollableArea* layoutViewportScrollableArea() const; | 449 ScrollableArea* layoutViewportScrollableArea() const; |
| 450 | 450 |
| 451 // Returns true if the frame is focused. | 451 // Returns true if the frame is focused. |
| 452 bool isFocused() const; | 452 bool isFocused() const; |
| 453 | 453 |
| 454 Member<FrameLoaderClientImpl> m_frameLoaderClientImpl; | 454 Member<LocalFrameClientImpl> m_localFrameClientImpl; |
| 455 | 455 |
| 456 // The embedder retains a reference to the WebCore LocalFrame while it is | 456 // The embedder retains a reference to the WebCore LocalFrame while it is |
| 457 // active in the DOM. This reference is released when the frame is removed | 457 // active in the DOM. This reference is released when the frame is removed |
| 458 // from the DOM or the entire page is closed. FIXME: These will need to | 458 // from the DOM or the entire page is closed. FIXME: These will need to |
| 459 // change to WebFrame when we introduce WebFrameProxy. | 459 // change to WebFrame when we introduce WebFrameProxy. |
| 460 Member<LocalFrame> m_frame; | 460 Member<LocalFrame> m_frame; |
| 461 | 461 |
| 462 Member<WebDevToolsAgentImpl> m_devToolsAgent; | 462 Member<WebDevToolsAgentImpl> m_devToolsAgent; |
| 463 | 463 |
| 464 // This is set if the frame is the root of a local frame tree, and requires a | 464 // This is set if the frame is the root of a local frame tree, and requires a |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 501 | 501 |
| 502 DEFINE_TYPE_CASTS(WebLocalFrameImpl, | 502 DEFINE_TYPE_CASTS(WebLocalFrameImpl, |
| 503 WebFrame, | 503 WebFrame, |
| 504 frame, | 504 frame, |
| 505 frame->isWebLocalFrame(), | 505 frame->isWebLocalFrame(), |
| 506 frame.isWebLocalFrame()); | 506 frame.isWebLocalFrame()); |
| 507 | 507 |
| 508 } // namespace blink | 508 } // namespace blink |
| 509 | 509 |
| 510 #endif | 510 #endif |
| OLD | NEW |