| 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 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 204 | 204 |
| 205 WebSize m_size; | 205 WebSize m_size; |
| 206 | 206 |
| 207 // If set, the (plugin) node which has mouse capture. | 207 // If set, the (plugin) node which has mouse capture. |
| 208 Member<Node> m_mouseCaptureNode; | 208 Member<Node> m_mouseCaptureNode; |
| 209 RefPtr<UserGestureToken> m_mouseCaptureGestureToken; | 209 RefPtr<UserGestureToken> m_mouseCaptureGestureToken; |
| 210 | 210 |
| 211 // This is owned by the LayerTreeHostImpl, and should only be used on the | 211 // This is owned by the LayerTreeHostImpl, and should only be used on the |
| 212 // compositor thread. The LayerTreeHostImpl is indirectly owned by this | 212 // compositor thread. The LayerTreeHostImpl is indirectly owned by this |
| 213 // class so this pointer should be valid until this class is destructed. | 213 // class so this pointer should be valid until this class is destructed. |
| 214 CrossThreadPersistent<CompositorMutatorImpl> m_mutator; | 214 Member<CompositorMutatorImpl> m_mutator; |
| 215 | 215 |
| 216 WebLayerTreeView* m_layerTreeView; | 216 WebLayerTreeView* m_layerTreeView; |
| 217 WebLayer* m_rootLayer; | 217 WebLayer* m_rootLayer; |
| 218 GraphicsLayer* m_rootGraphicsLayer; | 218 GraphicsLayer* m_rootGraphicsLayer; |
| 219 bool m_isAcceleratedCompositingActive; | 219 bool m_isAcceleratedCompositingActive; |
| 220 bool m_layerTreeViewClosed; | 220 bool m_layerTreeViewClosed; |
| 221 | 221 |
| 222 bool m_suppressNextKeypressEvent; | 222 bool m_suppressNextKeypressEvent; |
| 223 | 223 |
| 224 bool m_ignoreInputEvents; | 224 bool m_ignoreInputEvents; |
| 225 | 225 |
| 226 // Whether the WebFrameWidget is rendering transparently. | 226 // Whether the WebFrameWidget is rendering transparently. |
| 227 bool m_isTransparent; | 227 bool m_isTransparent; |
| 228 | 228 |
| 229 static const WebInputEvent* m_currentInputEvent; | 229 static const WebInputEvent* m_currentInputEvent; |
| 230 | 230 |
| 231 WebColor m_baseBackgroundColor; | 231 WebColor m_baseBackgroundColor; |
| 232 | 232 |
| 233 SelfKeepAlive<WebFrameWidgetImpl> m_selfKeepAlive; | 233 SelfKeepAlive<WebFrameWidgetImpl> m_selfKeepAlive; |
| 234 }; | 234 }; |
| 235 | 235 |
| 236 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, WebFrameWidget, widget, widget->forSubfram
e(), widget.forSubframe()); | 236 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, WebFrameWidget, widget, widget->forSubfram
e(), widget.forSubframe()); |
| 237 | 237 |
| 238 } // namespace blink | 238 } // namespace blink |
| 239 | 239 |
| 240 #endif | 240 #endif |
| OLD | NEW |