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

Issue 7024032: Wait showing html dialog until renderer finish painting after page is loaded. (Closed)

Created:
9 years, 6 months ago by oshima
Modified:
9 years, 6 months ago
Reviewers:
mazda, DaveMoore, sky
CC:
chromium-reviews
Visibility:
Public.

Description

re-landing after clang fix. clang bot is red due to bus error in linker. Wait showing html dialog until renderre finish painting after page is loaded. This change keeps track of state transition to make sure we only show the window on the paint after page load. minor change; use gdk's debug paint. Views no longer manage the damaged rect by itself so we can simply use gdk's debug paint. Note to mazda. Please consider adding fade-in animation. I believe it will make it much nicer. BUG=chromium-os:15809 TEST=open keyboard overlay on device. no white flicker should be observed. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=88271 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=88345

Patch Set 1 #

Patch Set 2 : " #

Total comments: 10

Patch Set 3 : " #

Total comments: 1

Patch Set 4 : update API #

Patch Set 5 : " #

Patch Set 6 : fix clang error #

Unified diffs Side-by-side diffs Delta from patch set Stats (+143 lines, -37 lines) Patch
M chrome/browser/ui/views/html_dialog_view.h View 1 2 4 chunks +32 lines, -1 line 0 comments Download
M chrome/browser/ui/views/html_dialog_view.cc View 1 2 5 chunks +62 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/html_dialog_view_browsertest.cc View 1 2 3 4 5 2 chunks +28 lines, -1 line 0 comments Download
M chrome/browser/ui/views/keyboard_overlay_dialog_view.h View 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/keyboard_overlay_dialog_view.cc View 1 2 2 chunks +1 line, -12 lines 0 comments Download
M views/widget/native_widget_gtk.h View 1 2 3 4 5 2 chunks +8 lines, -1 line 0 comments Download
M views/widget/native_widget_gtk.cc View 1 2 3 4 chunks +10 lines, -17 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
oshima
I kept if/def minimum because we probably want to do something similar for windows as ...
9 years, 6 months ago (2011-06-07 01:19:29 UTC) #1
mazda
lgtm with nits In description: renderre -> renderer http://codereview.chromium.org/7024032/diff/4001/chrome/browser/ui/views/keyboard_overlay_dialog_view.cc File chrome/browser/ui/views/keyboard_overlay_dialog_view.cc (right): http://codereview.chromium.org/7024032/diff/4001/chrome/browser/ui/views/keyboard_overlay_dialog_view.cc#newcode15 chrome/browser/ui/views/keyboard_overlay_dialog_view.cc:15: #include ...
9 years, 6 months ago (2011-06-07 03:26:58 UTC) #2
sky
LGTM http://codereview.chromium.org/7024032/diff/4001/chrome/browser/ui/views/html_dialog_view.cc File chrome/browser/ui/views/html_dialog_view.cc (right): http://codereview.chromium.org/7024032/diff/4001/chrome/browser/ui/views/html_dialog_view.cc#newcode80 chrome/browser/ui/views/html_dialog_view.cc:80: #if defined(OS_CHROMEOS) Should the ifdefs be OS_LINUX? http://codereview.chromium.org/7024032/diff/4001/chrome/browser/ui/views/html_dialog_view.cc#newcode260 ...
9 years, 6 months ago (2011-06-07 15:41:16 UTC) #3
oshima
Uploaded new patch and added browser_test. Scott, can you take another look? http://codereview.chromium.org/7024032/diff/4001/chrome/browser/ui/views/html_dialog_view.cc File chrome/browser/ui/views/html_dialog_view.cc ...
9 years, 6 months ago (2011-06-07 19:08:58 UTC) #4
oshima
http://codereview.chromium.org/7024032/diff/14001/chrome/browser/ui/views/html_dialog_view_browsertest.cc File chrome/browser/ui/views/html_dialog_view_browsertest.cc (right): http://codereview.chromium.org/7024032/diff/14001/chrome/browser/ui/views/html_dialog_view_browsertest.cc#newcode45 chrome/browser/ui/views/html_dialog_view_browsertest.cc:45: return GURL(chrome::kAboutAboutURL); this has to be some real page ...
9 years, 6 months ago (2011-06-07 19:10:09 UTC) #5
sky
LGTM
9 years, 6 months ago (2011-06-07 20:07:52 UTC) #6
oshima
9 years, 6 months ago (2011-06-09 23:28:36 UTC) #7
On 2011/06/07 20:07:52, sky wrote:
> LGTM

Dave, requesting merge approval to 782

Powered by Google App Engine
This is Rietveld 408576698