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

Side by Side Diff: Source/web/WebViewImpl.h

Issue 1056893003: Add setNeedsLayoutAndFullPaintInvalidation to WebWidget. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Checking for null pointers Created 5 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
« no previous file with comments | « no previous file | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 virtual WebSize size() override; 103 virtual WebSize size() override;
104 virtual void willStartLiveResize() override; 104 virtual void willStartLiveResize() override;
105 virtual void resize(const WebSize&) override; 105 virtual void resize(const WebSize&) override;
106 virtual void resizePinchViewport(const WebSize&) override; 106 virtual void resizePinchViewport(const WebSize&) override;
107 virtual void willEndLiveResize() override; 107 virtual void willEndLiveResize() override;
108 virtual void didEnterFullScreen() override; 108 virtual void didEnterFullScreen() override;
109 virtual void didExitFullScreen() override; 109 virtual void didExitFullScreen() override;
110 110
111 virtual void beginFrame(const WebBeginFrameArgs&) override; 111 virtual void beginFrame(const WebBeginFrameArgs&) override;
112 112
113 virtual void setNeedsLayoutAndFullPaintInvalidation() override;
113 virtual void layout() override; 114 virtual void layout() override;
114 virtual void paint(WebCanvas*, const WebRect&) override; 115 virtual void paint(WebCanvas*, const WebRect&) override;
115 #if OS(ANDROID) 116 #if OS(ANDROID)
116 virtual void paintCompositedDeprecated(WebCanvas*, const WebRect&) override; 117 virtual void paintCompositedDeprecated(WebCanvas*, const WebRect&) override;
117 #endif 118 #endif
118 virtual void compositeAndReadbackAsync(WebCompositeAndReadbackAsyncCallback* ) override; 119 virtual void compositeAndReadbackAsync(WebCompositeAndReadbackAsyncCallback* ) override;
119 virtual bool isTrackingRepaints() const override; 120 virtual bool isTrackingRepaints() const override;
120 virtual void themeChanged() override; 121 virtual void themeChanged() override;
121 virtual bool handleInputEvent(const WebInputEvent&) override; 122 virtual bool handleInputEvent(const WebInputEvent&) override;
122 virtual void setCursorVisibilityState(bool isVisible) override; 123 virtual void setCursorVisibilityState(bool isVisible) override;
(...skipping 650 matching lines...) Expand 10 before | Expand all | Expand 10 after
773 }; 774 };
774 775
775 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is WebView()); 776 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is WebView());
776 // We have no ways to check if the specified WebView is an instance of 777 // We have no ways to check if the specified WebView is an instance of
777 // WebViewImpl because WebViewImpl is the only implementation of WebView. 778 // WebViewImpl because WebViewImpl is the only implementation of WebView.
778 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 779 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
779 780
780 } // namespace blink 781 } // namespace blink
781 782
782 #endif 783 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698