Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(306)

Side by Side Diff: third_party/WebKit/Source/web/WebFrameWidgetImpl.h

Issue 2791223002: Notify Blink to suppress frame requests during BeginMainFrame (Closed)
Patch Set: DCHECK update Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
73 73
74 ~WebFrameWidgetImpl(); 74 ~WebFrameWidgetImpl();
75 75
76 // WebWidget functions: 76 // WebWidget functions:
77 void close() override; 77 void close() override;
78 WebSize size() override; 78 WebSize size() override;
79 void resize(const WebSize&) override; 79 void resize(const WebSize&) override;
80 void resizeVisualViewport(const WebSize&) override; 80 void resizeVisualViewport(const WebSize&) override;
81 void didEnterFullscreen() override; 81 void didEnterFullscreen() override;
82 void didExitFullscreen() override; 82 void didExitFullscreen() override;
83 void setSuppressFrameRequestsWorkaroundFor704763Only(bool) final;
83 void beginFrame(double lastFrameTimeMonotonic) override; 84 void beginFrame(double lastFrameTimeMonotonic) override;
84 void updateAllLifecyclePhases() override; 85 void updateAllLifecyclePhases() override;
85 void paint(WebCanvas*, const WebRect&) override; 86 void paint(WebCanvas*, const WebRect&) override;
86 void layoutAndPaintAsync(WebLayoutAndPaintAsyncCallback*) override; 87 void layoutAndPaintAsync(WebLayoutAndPaintAsyncCallback*) override;
87 void compositeAndReadbackAsync( 88 void compositeAndReadbackAsync(
88 WebCompositeAndReadbackAsyncCallback*) override; 89 WebCompositeAndReadbackAsyncCallback*) override;
89 void themeChanged() override; 90 void themeChanged() override;
90 WebInputEventResult handleInputEvent(const WebCoalescedInputEvent&) override; 91 WebInputEventResult handleInputEvent(const WebCoalescedInputEvent&) override;
91 void setCursorVisibilityState(bool isVisible) override; 92 void setCursorVisibilityState(bool isVisible) override;
92 bool hasTouchEventHandlersAt(const WebPoint&) override; 93 bool hasTouchEventHandlersAt(const WebPoint&) override;
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 244
244 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, 245 DEFINE_TYPE_CASTS(WebFrameWidgetImpl,
245 WebFrameWidgetBase, 246 WebFrameWidgetBase,
246 widget, 247 widget,
247 widget->forSubframe(), 248 widget->forSubframe(),
248 widget.forSubframe()); 249 widget.forSubframe());
249 250
250 } // namespace blink 251 } // namespace blink
251 252
252 #endif 253 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698