| 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 // WebWidget functions: | 73 // WebWidget functions: |
| 74 void close() override; | 74 void close() override; |
| 75 WebSize size() override; | 75 WebSize size() override; |
| 76 void resize(const WebSize&) override; | 76 void resize(const WebSize&) override; |
| 77 void resizeVisualViewport(const WebSize&) override; | 77 void resizeVisualViewport(const WebSize&) override; |
| 78 void didEnterFullScreen() override; | 78 void didEnterFullScreen() override; |
| 79 void didExitFullScreen() override; | 79 void didExitFullScreen() override; |
| 80 void beginFrame(double lastFrameTimeMonotonic) override; | 80 void beginFrame(double lastFrameTimeMonotonic) override; |
| 81 void updateAllLifecyclePhases() override; | 81 void updateAllLifecyclePhases() override; |
| 82 void paint(WebCanvas*, const WebRect&) override; | 82 void paint(WebCanvas*, const WebRect&) override; |
| 83 void layoutAndPaintAsync(WebLayoutAndPaintAsyncCallback*) override; | |
| 84 void compositeAndReadbackAsync(WebCompositeAndReadbackAsyncCallback*) overri
de; | 83 void compositeAndReadbackAsync(WebCompositeAndReadbackAsyncCallback*) overri
de; |
| 85 void themeChanged() override; | 84 void themeChanged() override; |
| 86 WebInputEventResult handleInputEvent(const WebInputEvent&) override; | 85 WebInputEventResult handleInputEvent(const WebInputEvent&) override; |
| 87 void setCursorVisibilityState(bool isVisible) override; | 86 void setCursorVisibilityState(bool isVisible) override; |
| 88 bool hasTouchEventHandlersAt(const WebPoint&) override; | 87 bool hasTouchEventHandlersAt(const WebPoint&) override; |
| 89 | 88 |
| 90 void applyViewportDeltas( | 89 void applyViewportDeltas( |
| 91 const WebFloatSize& visualViewportDelta, | 90 const WebFloatSize& visualViewportDelta, |
| 92 const WebFloatSize& mainFrameDelta, | 91 const WebFloatSize& mainFrameDelta, |
| 93 const WebFloatSize& elasticOverscrollDelta, | 92 const WebFloatSize& elasticOverscrollDelta, |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 228 WebColor m_baseBackgroundColor; | 227 WebColor m_baseBackgroundColor; |
| 229 | 228 |
| 230 SelfKeepAlive<WebFrameWidgetImpl> m_selfKeepAlive; | 229 SelfKeepAlive<WebFrameWidgetImpl> m_selfKeepAlive; |
| 231 }; | 230 }; |
| 232 | 231 |
| 233 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, WebFrameWidget, widget, widget->forSubfram
e(), widget.forSubframe()); | 232 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, WebFrameWidget, widget, widget->forSubfram
e(), widget.forSubframe()); |
| 234 | 233 |
| 235 } // namespace blink | 234 } // namespace blink |
| 236 | 235 |
| 237 #endif | 236 #endif |
| OLD | NEW |