Chromium Code Reviews| 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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 127 virtual bool hasTouchEventHandlersAt(const WebPoint&) { return true; } | 127 virtual bool hasTouchEventHandlersAt(const WebPoint&) { return true; } |
| 128 | 128 |
| 129 // Applies viewport related properties during a commit from the compositor | 129 // Applies viewport related properties during a commit from the compositor |
| 130 // thread. | 130 // thread. |
| 131 virtual void applyViewportDeltas(const WebFloatSize& visualViewportDelta, | 131 virtual void applyViewportDeltas(const WebFloatSize& visualViewportDelta, |
| 132 const WebFloatSize& layoutViewportDelta, | 132 const WebFloatSize& layoutViewportDelta, |
| 133 const WebFloatSize& elasticOverscrollDelta, | 133 const WebFloatSize& elasticOverscrollDelta, |
| 134 float scaleFactor, | 134 float scaleFactor, |
| 135 float browserControlsShownRatioDelta) {} | 135 float browserControlsShownRatioDelta) {} |
| 136 | 136 |
| 137 virtual void RecordWheelAndTouchScrollingCount(bool hasScrolledByWheel, | |
|
dtapuska
2017/03/08 21:18:00
lower case the first letter according to the codin
sahel
2017/03/10 16:21:33
Done.
| |
| 138 bool hasScrolledByTouch) {} | |
| 139 | |
| 137 // Called to inform the WebWidget that mouse capture was lost. | 140 // Called to inform the WebWidget that mouse capture was lost. |
| 138 virtual void mouseCaptureLost() {} | 141 virtual void mouseCaptureLost() {} |
| 139 | 142 |
| 140 // Called to inform the WebWidget that it has gained or lost keyboard focus. | 143 // Called to inform the WebWidget that it has gained or lost keyboard focus. |
| 141 virtual void setFocus(bool) {} | 144 virtual void setFocus(bool) {} |
| 142 | 145 |
| 143 // Fetches the character range of the current composition, also called the | 146 // Fetches the character range of the current composition, also called the |
| 144 // "marked range." | 147 // "marked range." |
| 145 virtual WebRange compositionRange() { return WebRange(); } | 148 virtual WebRange compositionRange() { return WebRange(); } |
| 146 | 149 |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 218 return false; | 221 return false; |
| 219 } | 222 } |
| 220 | 223 |
| 221 protected: | 224 protected: |
| 222 ~WebWidget() {} | 225 ~WebWidget() {} |
| 223 }; | 226 }; |
| 224 | 227 |
| 225 } // namespace blink | 228 } // namespace blink |
| 226 | 229 |
| 227 #endif | 230 #endif |
| OLD | NEW |