| 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 class WebFrameWidgetImpl final : public RefCountedWillBeGarbageCollectedFinalize
d<WebFrameWidgetImpl> | 64 class WebFrameWidgetImpl final : public RefCountedWillBeGarbageCollectedFinalize
d<WebFrameWidgetImpl> |
| 65 , public WebFrameWidget | 65 , public WebFrameWidget |
| 66 , public PageWidgetEventHandler { | 66 , public PageWidgetEventHandler { |
| 67 public: | 67 public: |
| 68 static WebFrameWidgetImpl* create(WebWidgetClient*, WebLocalFrame*); | 68 static WebFrameWidgetImpl* create(WebWidgetClient*, WebLocalFrame*); |
| 69 static WebFrameWidgetsSet& allInstances(); | 69 static WebFrameWidgetsSet& allInstances(); |
| 70 | 70 |
| 71 // WebWidget functions: | 71 // WebWidget functions: |
| 72 void close() override; | 72 void close() override; |
| 73 WebSize size() override; | 73 WebSize size() override; |
| 74 void willStartLiveResize() override; | |
| 75 void resize(const WebSize&) override; | 74 void resize(const WebSize&) override; |
| 76 void resizeVisualViewport(const WebSize&) override; | 75 void resizeVisualViewport(const WebSize&) override; |
| 77 void willEndLiveResize() override; | |
| 78 void didEnterFullScreen() override; | 76 void didEnterFullScreen() override; |
| 79 void didExitFullScreen() override; | 77 void didExitFullScreen() override; |
| 80 void beginFrame(double lastFrameTimeMonotonic) override; | 78 void beginFrame(double lastFrameTimeMonotonic) override; |
| 81 void updateAllLifecyclePhases() override; | 79 void updateAllLifecyclePhases() override; |
| 82 void paint(WebCanvas*, const WebRect&) override; | 80 void paint(WebCanvas*, const WebRect&) override; |
| 83 void layoutAndPaintAsync(WebLayoutAndPaintAsyncCallback*) override; | 81 void layoutAndPaintAsync(WebLayoutAndPaintAsyncCallback*) override; |
| 84 void compositeAndReadbackAsync(WebCompositeAndReadbackAsyncCallback*) overri
de; | 82 void compositeAndReadbackAsync(WebCompositeAndReadbackAsyncCallback*) overri
de; |
| 85 void themeChanged() override; | 83 void themeChanged() override; |
| 86 WebInputEventResult handleInputEvent(const WebInputEvent&) override; | 84 WebInputEventResult handleInputEvent(const WebInputEvent&) override; |
| 87 void setCursorVisibilityState(bool isVisible) override; | 85 void setCursorVisibilityState(bool isVisible) override; |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 230 #if ENABLE(OILPAN) | 228 #if ENABLE(OILPAN) |
| 231 SelfKeepAlive<WebFrameWidgetImpl> m_selfKeepAlive; | 229 SelfKeepAlive<WebFrameWidgetImpl> m_selfKeepAlive; |
| 232 #endif | 230 #endif |
| 233 }; | 231 }; |
| 234 | 232 |
| 235 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, WebFrameWidget, widget, widget->forSubfram
e(), widget.forSubframe()); | 233 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, WebFrameWidget, widget, widget->forSubfram
e(), widget.forSubframe()); |
| 236 | 234 |
| 237 } // namespace blink | 235 } // namespace blink |
| 238 | 236 |
| 239 #endif | 237 #endif |
| OLD | NEW |