| 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 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 WebLayerTreeView* layerTreeView() const { return m_layerTreeView; } | 159 WebLayerTreeView* layerTreeView() const { return m_layerTreeView; } |
| 160 | 160 |
| 161 // Returns true if the event leads to scrolling. | 161 // Returns true if the event leads to scrolling. |
| 162 static bool mapKeyCodeForScroll( | 162 static bool mapKeyCodeForScroll( |
| 163 int keyCode, | 163 int keyCode, |
| 164 ScrollDirection*, | 164 ScrollDirection*, |
| 165 ScrollGranularity*); | 165 ScrollGranularity*); |
| 166 | 166 |
| 167 Color baseBackgroundColor() const { return m_baseBackgroundColor; } | 167 Color baseBackgroundColor() const { return m_baseBackgroundColor; } |
| 168 | 168 |
| 169 HitTestResult coreHitTestResultAt(const WebPoint&); |
| 170 |
| 169 DECLARE_TRACE(); | 171 DECLARE_TRACE(); |
| 170 | 172 |
| 171 private: | 173 private: |
| 172 friend class WebFrameWidget; // For WebFrameWidget::create. | 174 friend class WebFrameWidget; // For WebFrameWidget::create. |
| 173 | 175 |
| 174 explicit WebFrameWidgetImpl(WebWidgetClient*, WebLocalFrame*); | 176 explicit WebFrameWidgetImpl(WebWidgetClient*, WebLocalFrame*); |
| 175 | 177 |
| 176 // Perform a hit test for a point relative to the root frame of the page. | 178 // Perform a hit test for a point relative to the root frame of the page. |
| 177 HitTestResult hitTestResultForRootFramePos(const IntPoint& posInRootFrame); | 179 HitTestResult hitTestResultForRootFramePos(const IntPoint& posInRootFrame); |
| 178 | 180 |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 254 WebColor m_baseBackgroundColor; | 256 WebColor m_baseBackgroundColor; |
| 255 | 257 |
| 256 SelfKeepAlive<WebFrameWidgetImpl> m_selfKeepAlive; | 258 SelfKeepAlive<WebFrameWidgetImpl> m_selfKeepAlive; |
| 257 }; | 259 }; |
| 258 | 260 |
| 259 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, WebFrameWidgetBase, widget, widget->forSub
frame(), widget.forSubframe()); | 261 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, WebFrameWidgetBase, widget, widget->forSub
frame(), widget.forSubframe()); |
| 260 | 262 |
| 261 } // namespace blink | 263 } // namespace blink |
| 262 | 264 |
| 263 #endif | 265 #endif |
| OLD | NEW |