| 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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 bool hasTouchEventHandlersAt(const WebPoint&) override; | 93 bool hasTouchEventHandlersAt(const WebPoint&) override; |
| 94 | 94 |
| 95 void applyViewportDeltas(const WebFloatSize& visualViewportDelta, | 95 void applyViewportDeltas(const WebFloatSize& visualViewportDelta, |
| 96 const WebFloatSize& mainFrameDelta, | 96 const WebFloatSize& mainFrameDelta, |
| 97 const WebFloatSize& elasticOverscrollDelta, | 97 const WebFloatSize& elasticOverscrollDelta, |
| 98 float pageScaleDelta, | 98 float pageScaleDelta, |
| 99 float browserControlsDelta) override; | 99 float browserControlsDelta) override; |
| 100 void mouseCaptureLost() override; | 100 void mouseCaptureLost() override; |
| 101 void setFocus(bool enable) override; | 101 void setFocus(bool enable) override; |
| 102 WebRange compositionRange() override; | 102 WebRange compositionRange() override; |
| 103 WebTextInputInfo textInputInfo() override; | |
| 104 WebTextInputType textInputType() override; | |
| 105 WebColor backgroundColor() const override; | 103 WebColor backgroundColor() const override; |
| 106 bool selectionBounds(WebRect& anchor, WebRect& focus) const override; | 104 bool selectionBounds(WebRect& anchor, WebRect& focus) const override; |
| 107 bool selectionTextDirection(WebTextDirection& start, | 105 bool selectionTextDirection(WebTextDirection& start, |
| 108 WebTextDirection& end) const override; | 106 WebTextDirection& end) const override; |
| 109 bool isSelectionAnchorFirst() const override; | 107 bool isSelectionAnchorFirst() const override; |
| 110 WebRange caretOrSelectionRange() override; | 108 WebRange caretOrSelectionRange() override; |
| 111 void setTextDirection(WebTextDirection) override; | 109 void setTextDirection(WebTextDirection) override; |
| 112 bool isAcceleratedCompositingActive() const override; | 110 bool isAcceleratedCompositingActive() const override; |
| 113 void willCloseLayerTreeView() override; | 111 void willCloseLayerTreeView() override; |
| 114 void didAcquirePointerLock() override; | 112 void didAcquirePointerLock() override; |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 GraphicsLayer* m_rootGraphicsLayer; | 217 GraphicsLayer* m_rootGraphicsLayer; |
| 220 std::unique_ptr<CompositorAnimationHost> m_compositorAnimationHost; | 218 std::unique_ptr<CompositorAnimationHost> m_compositorAnimationHost; |
| 221 bool m_isAcceleratedCompositingActive; | 219 bool m_isAcceleratedCompositingActive; |
| 222 bool m_layerTreeViewClosed; | 220 bool m_layerTreeViewClosed; |
| 223 | 221 |
| 224 bool m_suppressNextKeypressEvent; | 222 bool m_suppressNextKeypressEvent; |
| 225 | 223 |
| 226 // Whether the WebFrameWidget is rendering transparently. | 224 // Whether the WebFrameWidget is rendering transparently. |
| 227 bool m_isTransparent; | 225 bool m_isTransparent; |
| 228 | 226 |
| 227 // TODO(ekaramad): Can we remove this and make sure IME events are not called |
| 228 // when there is no page focus? |
| 229 // Represents whether or not this object should process incoming IME events. | 229 // Represents whether or not this object should process incoming IME events. |
| 230 bool m_imeAcceptEvents; | 230 bool m_imeAcceptEvents; |
| 231 | 231 |
| 232 static const WebInputEvent* m_currentInputEvent; | 232 static const WebInputEvent* m_currentInputEvent; |
| 233 | 233 |
| 234 WebColor m_baseBackgroundColor; | 234 WebColor m_baseBackgroundColor; |
| 235 | 235 |
| 236 SelfKeepAlive<WebFrameWidgetImpl> m_selfKeepAlive; | 236 SelfKeepAlive<WebFrameWidgetImpl> m_selfKeepAlive; |
| 237 }; | 237 }; |
| 238 | 238 |
| 239 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, | 239 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, |
| 240 WebFrameWidgetBase, | 240 WebFrameWidgetBase, |
| 241 widget, | 241 widget, |
| 242 widget->forSubframe(), | 242 widget->forSubframe(), |
| 243 widget.forSubframe()); | 243 widget.forSubframe()); |
| 244 | 244 |
| 245 } // namespace blink | 245 } // namespace blink |
| 246 | 246 |
| 247 #endif | 247 #endif |
| OLD | NEW |