| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2014 Google Inc. All rights reserved. | 2 * Copyright (C) 2014 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 27 matching lines...) Expand all Loading... |
| 38 #include "core/frame/FrameView.h" | 38 #include "core/frame/FrameView.h" |
| 39 #include "core/frame/RemoteFrame.h" | 39 #include "core/frame/RemoteFrame.h" |
| 40 #include "core/frame/Settings.h" | 40 #include "core/frame/Settings.h" |
| 41 #include "core/input/EventHandler.h" | 41 #include "core/input/EventHandler.h" |
| 42 #include "core/layout/LayoutView.h" | 42 #include "core/layout/LayoutView.h" |
| 43 #include "core/layout/compositing/PaintLayerCompositor.h" | 43 #include "core/layout/compositing/PaintLayerCompositor.h" |
| 44 #include "core/page/ContextMenuController.h" | 44 #include "core/page/ContextMenuController.h" |
| 45 #include "core/page/FocusController.h" | 45 #include "core/page/FocusController.h" |
| 46 #include "core/page/Page.h" | 46 #include "core/page/Page.h" |
| 47 #include "platform/KeyboardCodes.h" | 47 #include "platform/KeyboardCodes.h" |
| 48 #include "platform/NotImplemented.h" | |
| 49 #include "public/platform/WebFrameScheduler.h" | 48 #include "public/platform/WebFrameScheduler.h" |
| 50 #include "public/web/WebWidgetClient.h" | 49 #include "public/web/WebWidgetClient.h" |
| 51 #include "web/ContextMenuAllowedScope.h" | 50 #include "web/ContextMenuAllowedScope.h" |
| 52 #include "web/WebDevToolsAgentImpl.h" | 51 #include "web/WebDevToolsAgentImpl.h" |
| 53 #include "web/WebInputEventConversion.h" | 52 #include "web/WebInputEventConversion.h" |
| 54 #include "web/WebLocalFrameImpl.h" | 53 #include "web/WebLocalFrameImpl.h" |
| 55 #include "web/WebPluginContainerImpl.h" | 54 #include "web/WebPluginContainerImpl.h" |
| 56 #include "web/WebRemoteFrameImpl.h" | 55 #include "web/WebRemoteFrameImpl.h" |
| 57 #include "web/WebViewFrameWidget.h" | 56 #include "web/WebViewFrameWidget.h" |
| 58 | 57 |
| (...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 596 | 595 |
| 597 case WebTextDirectionLeftToRight: | 596 case WebTextDirectionLeftToRight: |
| 598 editor.setBaseWritingDirection(LeftToRightWritingDirection); | 597 editor.setBaseWritingDirection(LeftToRightWritingDirection); |
| 599 break; | 598 break; |
| 600 | 599 |
| 601 case WebTextDirectionRightToLeft: | 600 case WebTextDirectionRightToLeft: |
| 602 editor.setBaseWritingDirection(RightToLeftWritingDirection); | 601 editor.setBaseWritingDirection(RightToLeftWritingDirection); |
| 603 break; | 602 break; |
| 604 | 603 |
| 605 default: | 604 default: |
| 606 notImplemented(); | 605 NOTIMPLEMENTED(); |
| 607 break; | 606 break; |
| 608 } | 607 } |
| 609 } | 608 } |
| 610 | 609 |
| 611 bool WebFrameWidgetImpl::isAcceleratedCompositingActive() const | 610 bool WebFrameWidgetImpl::isAcceleratedCompositingActive() const |
| 612 { | 611 { |
| 613 return m_isAcceleratedCompositingActive; | 612 return m_isAcceleratedCompositingActive; |
| 614 } | 613 } |
| 615 | 614 |
| 616 void WebFrameWidgetImpl::willCloseLayerTreeView() | 615 void WebFrameWidgetImpl::willCloseLayerTreeView() |
| (...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1093 | 1092 |
| 1094 HitTestResult WebFrameWidgetImpl::hitTestResultForRootFramePos(const IntPoint& p
osInRootFrame) | 1093 HitTestResult WebFrameWidgetImpl::hitTestResultForRootFramePos(const IntPoint& p
osInRootFrame) |
| 1095 { | 1094 { |
| 1096 IntPoint docPoint(m_localRoot->frame()->view()->rootFrameToContents(posInRoo
tFrame)); | 1095 IntPoint docPoint(m_localRoot->frame()->view()->rootFrameToContents(posInRoo
tFrame)); |
| 1097 HitTestResult result = m_localRoot->frame()->eventHandler().hitTestResultAtP
oint(docPoint, HitTestRequest::ReadOnly | HitTestRequest::Active); | 1096 HitTestResult result = m_localRoot->frame()->eventHandler().hitTestResultAtP
oint(docPoint, HitTestRequest::ReadOnly | HitTestRequest::Active); |
| 1098 result.setToShadowHostIfInUserAgentShadowRoot(); | 1097 result.setToShadowHostIfInUserAgentShadowRoot(); |
| 1099 return result; | 1098 return result; |
| 1100 } | 1099 } |
| 1101 | 1100 |
| 1102 } // namespace blink | 1101 } // namespace blink |
| OLD | NEW |