|
|
Re-implement form validation message UI with native widgets. (Common and Mac)
The current form validation message UI with Shadow DOM has a lot of
problems and some of them are unresolvable if we continue to use
Shadow DOM. We should stop using Shadow DOM.
This patch implements a platform-indepedent part of
WebKit::WebValidationMessageClient, and the Mac part.
- Introduce ValidationMessageAgent, which implements
WebKit::WebValidationMessageClient and lives in a renderer process of the
chrome module. It dispatches IPC messages to the browser process.
ValidationMessageAgent is used only on Mac for now.
- ValidationMessageFilter receives the IPC messages in the browser process, and
instructs to show/hide validation message UI.
- Add common interface to control validation message UI
validation_message_bubble.h
- Add skelton implementations for non-Mac and a real implementation for Mac
validation_message_bubble_*.*
BUG= 90252, 90958, 92816, 104829, 106621, 113352, 115451, 125330, 143356, 146212, 155448, 166981, 231170
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=197226
Total comments: 20
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+575 lines, -1 line) |
Patch |
 |
M |
chrome/browser/chrome_content_browser_client.cc
|
View
|
1
2
3
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/ui/android/validation_message_bubble_android.cc
|
View
|
1
2
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/base_bubble_controller.h
|
View
|
1
2
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/base_bubble_controller.mm
|
View
|
1
2
3
|
4 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
 |
A |
chrome/browser/ui/cocoa/validation_message_bubble_cocoa.mm
|
View
|
1
2
|
1 chunk |
+178 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/ui/cocoa/validation_message_bubble_controller.h
|
View
|
1
2
3
|
1 chunk |
+25 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/ui/cocoa/validation_message_bubble_controller_unittest.mm
|
View
|
1
2
|
1 chunk |
+45 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/ui/gtk/validation_message_bubble_gtk.cc
|
View
|
1
2
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/ui/validation_message_bubble.h
|
View
|
1
2
|
1 chunk |
+37 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/ui/views/validation_message_bubble_view.cc
|
View
|
1
2
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/validation_message_message_filter.h
|
View
|
1
2
|
1 chunk |
+44 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/validation_message_message_filter.cc
|
View
|
1
|
1 chunk |
+55 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser.gypi
|
View
|
1
2
3
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser_ui.gypi
|
View
|
1
2
3
|
5 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_common.gypi
|
View
|
1
2
3
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_renderer.gypi
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_tests_unit.gypi
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/common_message_generator.h
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/common/validation_message_messages.h
|
View
|
1
|
1 chunk |
+17 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/chrome_content_renderer_client.cc
|
View
|
1
2
3
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/renderer/validation_message_agent.h
|
View
|
1
2
|
1 chunk |
+34 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/renderer/validation_message_agent.cc
|
View
|
1
2
|
1 chunk |
+53 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ipc/ipc_message_start.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 20 (0 generated)
|