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

Issue 17291010: Clean up AwContents calls to change visibility (Closed)

Created:
7 years, 6 months ago by boliu
Modified:
7 years, 6 months ago
Reviewers:
joth, benm (inactive)
CC:
chromium-reviews, android-webview-reviews_chromium.org
Visibility:
Public.

Description

Clean up AwContents calls to change visibility Visibility is stored in AwContents and native BrowserViewRenderer. It seems to be windowVisible && viewVisible && !mIsPaused. So clean all this up, make sure we don't make unnecessary calls into ContentViewCore. Precursor work to pass visibility from BrowserViewRenderer directly to cc. BUG=250594 NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=207720

Patch Set 1 #

Total comments: 4

Patch Set 2 : spelling #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -35 lines) Patch
M android_webview/browser/browser_view_renderer.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M android_webview/browser/in_process_view_renderer.h View 1 2 2 chunks +2 lines, -3 lines 0 comments Download
M android_webview/browser/in_process_view_renderer.cc View 1 2 4 chunks +8 lines, -11 lines 0 comments Download
M android_webview/java/src/org/chromium/android_webview/AwContents.java View 1 2 5 chunks +25 lines, -13 lines 0 comments Download
M android_webview/native/aw_contents.h View 1 2 1 chunk +1 line, -3 lines 0 comments Download
M android_webview/native/aw_contents.cc View 1 2 1 chunk +2 lines, -4 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
boliu
focus may need clean up too...
7 years, 6 months ago (2013-06-20 18:40:35 UTC) #1
benm (inactive)
https://codereview.chromium.org/17291010/diff/1/android_webview/java/src/org/chromium/android_webview/AwContents.java File android_webview/java/src/org/chromium/android_webview/AwContents.java (right): https://codereview.chromium.org/17291010/diff/1/android_webview/java/src/org/chromium/android_webview/AwContents.java#newcode1182 android_webview/java/src/org/chromium/android_webview/AwContents.java:1182: mContentViewCore.onShow(); If |forced| is true, then we might end ...
7 years, 6 months ago (2013-06-20 18:45:45 UTC) #2
boliu
https://codereview.chromium.org/17291010/diff/1/android_webview/java/src/org/chromium/android_webview/AwContents.java File android_webview/java/src/org/chromium/android_webview/AwContents.java (right): https://codereview.chromium.org/17291010/diff/1/android_webview/java/src/org/chromium/android_webview/AwContents.java#newcode1182 android_webview/java/src/org/chromium/android_webview/AwContents.java:1182: mContentViewCore.onShow(); On 2013/06/20 18:45:45, benm wrote: > If |forced| ...
7 years, 6 months ago (2013-06-20 18:49:55 UTC) #3
benm (inactive)
lgtm % typo https://codereview.chromium.org/17291010/diff/1/android_webview/java/src/org/chromium/android_webview/AwContents.java File android_webview/java/src/org/chromium/android_webview/AwContents.java (right): https://codereview.chromium.org/17291010/diff/1/android_webview/java/src/org/chromium/android_webview/AwContents.java#newcode127 android_webview/java/src/org/chromium/android_webview/AwContents.java:127: private boolean mIsVisible; // Equivalment to ...
7 years, 6 months ago (2013-06-20 19:22:28 UTC) #4
boliu
https://codereview.chromium.org/17291010/diff/1/android_webview/java/src/org/chromium/android_webview/AwContents.java File android_webview/java/src/org/chromium/android_webview/AwContents.java (right): https://codereview.chromium.org/17291010/diff/1/android_webview/java/src/org/chromium/android_webview/AwContents.java#newcode127 android_webview/java/src/org/chromium/android_webview/AwContents.java:127: private boolean mIsVisible; // Equivalment to windowVisible && viewVisible ...
7 years, 6 months ago (2013-06-20 20:21:01 UTC) #5
joth
lgtm
7 years, 6 months ago (2013-06-20 22:15:12 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/boliu@chromium.org/17291010/7001
7 years, 6 months ago (2013-06-21 01:44:12 UTC) #7
commit-bot: I haz the power
Failed to apply patch for android_webview/browser/in_process_view_renderer.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 6 months ago (2013-06-21 01:44:14 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/boliu@chromium.org/17291010/14001
7 years, 6 months ago (2013-06-21 05:41:55 UTC) #9
commit-bot: I haz the power
7 years, 6 months ago (2013-06-21 05:43:05 UTC) #10
Message was sent while issue was closed.
Change committed as 207720

Powered by Google App Engine
This is Rietveld 408576698