|
Don't rely on user gestures for deciding when to dismiss infobars.
Previously, we looked at the user gesture state when deciding whether to
dismiss infobars. Now that WebKit's user gesture state doesn't lie, we can
tell that this behavior is incorrect. Page-specific infobars, like translate,
should close whenever the main frame navigates to a new page, regardless of
whether that navigation was conducted from a user gesture.
BUG= 86417
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=89864
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+25 lines, -43 lines) |
Patch |
 |
M |
chrome/browser/omnibox_search_hint.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/tab_contents/confirm_infobar_delegate.h
|
View
|
1
2
3
4
5
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/tab_contents/confirm_infobar_delegate.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/tab_contents/infobar_delegate.h
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/tab_contents/infobar_delegate.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/translate/translate_infobar_delegate.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/browser_init.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/browser_list.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/keystone_infobar.mm
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/tab_contents/navigation_controller.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -15 lines |
0 comments
|
Download
|
 |
M |
content/browser/tab_contents/navigation_controller_unittest.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/tab_contents/navigation_details.h
|
View
|
1
2
3
4
5
|
2 chunks |
+5 lines, -14 lines |
0 comments
|
Download
|
 |
M |
content/browser/tab_contents/navigation_details.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/tab_contents/tab_contents.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 16 (0 generated)
|