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

Side by Side Diff: android_webview/native/aw_contents.h

Issue 654403006: aw: Ensure invalidation when pipeline is stalled (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git/+/master
Patch Set: DidSkipCompositeInDraw Created 6 years, 2 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 | « android_webview/browser/shared_renderer_state.cc ('k') | android_webview/native/aw_contents.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ 5 #ifndef ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_
6 #define ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ 6 #define ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 #include <list> 9 #include <list>
10 #include <string> 10 #include <string>
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 // AwRenderViewHostExtClient implementation. 185 // AwRenderViewHostExtClient implementation.
186 virtual void OnWebLayoutPageScaleFactorChanged( 186 virtual void OnWebLayoutPageScaleFactorChanged(
187 float page_scale_factor) override; 187 float page_scale_factor) override;
188 virtual void OnWebLayoutContentsSizeChanged( 188 virtual void OnWebLayoutContentsSizeChanged(
189 const gfx::Size& contents_size) override; 189 const gfx::Size& contents_size) override;
190 190
191 // BrowserViewRendererClient implementation. 191 // BrowserViewRendererClient implementation.
192 virtual bool RequestDrawGL(jobject canvas, bool wait_for_completion) override; 192 virtual bool RequestDrawGL(jobject canvas, bool wait_for_completion) override;
193 virtual void PostInvalidate() override; 193 virtual void PostInvalidate() override;
194 virtual void UpdateParentDrawConstraints() override; 194 virtual void UpdateParentDrawConstraints() override;
195 virtual void DidSkipCommitFrame() override;
195 virtual void OnNewPicture() override; 196 virtual void OnNewPicture() override;
196 virtual gfx::Point GetLocationOnScreen() override; 197 virtual gfx::Point GetLocationOnScreen() override;
197 virtual void ScrollContainerViewTo(gfx::Vector2d new_value) override; 198 virtual void ScrollContainerViewTo(gfx::Vector2d new_value) override;
198 virtual bool IsFlingActive() const override; 199 virtual bool IsFlingActive() const override;
199 virtual void UpdateScrollState(gfx::Vector2d max_scroll_offset, 200 virtual void UpdateScrollState(gfx::Vector2d max_scroll_offset,
200 gfx::SizeF contents_size_dip, 201 gfx::SizeF contents_size_dip,
201 float page_scale_factor, 202 float page_scale_factor,
202 float min_page_scale_factor, 203 float min_page_scale_factor,
203 float max_page_scale_factor) override; 204 float max_page_scale_factor) override;
204 virtual void DidOverscroll(gfx::Vector2d overscroll_delta) override; 205 virtual void DidOverscroll(gfx::Vector2d overscroll_delta) override;
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 GLViewRendererManager::Key renderer_manager_key_; 256 GLViewRendererManager::Key renderer_manager_key_;
256 257
257 DISALLOW_COPY_AND_ASSIGN(AwContents); 258 DISALLOW_COPY_AND_ASSIGN(AwContents);
258 }; 259 };
259 260
260 bool RegisterAwContents(JNIEnv* env); 261 bool RegisterAwContents(JNIEnv* env);
261 262
262 } // namespace android_webview 263 } // namespace android_webview
263 264
264 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ 265 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_
OLDNEW
« no previous file with comments | « android_webview/browser/shared_renderer_state.cc ('k') | android_webview/native/aw_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698