| 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 resize(const WebSize&) override; | 74 void resize(const WebSize&) override; |
| 75 void resize(const WebSize&, float topControlsHeight, bool topControlsShrinkL
ayoutSize) override; |
| 75 void resizeVisualViewport(const WebSize&) override; | 76 void resizeVisualViewport(const WebSize&) override; |
| 76 void didEnterFullScreen() override; | 77 void didEnterFullScreen() override; |
| 77 void didExitFullScreen() override; | 78 void didExitFullScreen() override; |
| 78 void beginFrame(double lastFrameTimeMonotonic) override; | 79 void beginFrame(double lastFrameTimeMonotonic) override; |
| 79 void updateAllLifecyclePhases() override; | 80 void updateAllLifecyclePhases() override; |
| 80 void paint(WebCanvas*, const WebRect&) override; | 81 void paint(WebCanvas*, const WebRect&) override; |
| 81 void layoutAndPaintAsync(WebLayoutAndPaintAsyncCallback*) override; | 82 void layoutAndPaintAsync(WebLayoutAndPaintAsyncCallback*) override; |
| 82 void compositeAndReadbackAsync(WebCompositeAndReadbackAsyncCallback*) overri
de; | 83 void compositeAndReadbackAsync(WebCompositeAndReadbackAsyncCallback*) overri
de; |
| 83 void themeChanged() override; | 84 void themeChanged() override; |
| 84 WebInputEventResult handleInputEvent(const WebInputEvent&) override; | 85 WebInputEventResult handleInputEvent(const WebInputEvent&) override; |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 228 #if ENABLE(OILPAN) | 229 #if ENABLE(OILPAN) |
| 229 SelfKeepAlive<WebFrameWidgetImpl> m_selfKeepAlive; | 230 SelfKeepAlive<WebFrameWidgetImpl> m_selfKeepAlive; |
| 230 #endif | 231 #endif |
| 231 }; | 232 }; |
| 232 | 233 |
| 233 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, WebFrameWidget, widget, widget->forSubfram
e(), widget.forSubframe()); | 234 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, WebFrameWidget, widget, widget->forSubfram
e(), widget.forSubframe()); |
| 234 | 235 |
| 235 } // namespace blink | 236 } // namespace blink |
| 236 | 237 |
| 237 #endif | 238 #endif |
| OLD | NEW |