chore: bump chromium to 128.0.6613.7 (32-x-y) (#42823)
* chore: bump chromium in DEPS to 128.0.6583.1 * chore: bump chromium in DEPS to 128.0.6585.0 * chore: bump chromium in DEPS to 128.0.6587.0 * chore: bump chromium in DEPS to 128.0.6589.1 * chore: bump chromium in DEPS to 128.0.6591.1 * chore: bump chromium in DEPS to 128.0.6593.0 * chore: bump chromium in DEPS to 128.0.6595.0 * chore: bump chromium in DEPS to 128.0.6597.1 * chore: bump chromium in DEPS to 128.0.6598.0 * chore: bump chromium in DEPS to 128.0.6601.1 * chore: bump chromium in DEPS to 128.0.6603.1 * chore: bump chromium in DEPS to 128.0.6605.2 * chore: bump chromium in DEPS to 128.0.6606.1 * chore: bump chromium in DEPS to 128.0.6607.1 * chore: bump chromium in DEPS to 128.0.6609.0 * chore: bump chromium in DEPS to 128.0.6611.0 * chore: bump chromium in DEPS to 128.0.6613.0 * chore: bump chromium in DEPS to 128.0.6613.7 * chore: update patches * chore: 5725076: Update EventType names |5725076
(cherry picked from commit 639d741ba5ac50e800ca46138557c7a32d1b7752) * chore: 5725076: Update EventType names |5725076
for windows (cherry picked from commit 744c17fe92911baa0c7355af905aabb9d12bae18) * 5730656: Show an error dialog when UpdatePrintSettings() fails5730656
--------- Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org> Co-authored-by: Alice Zhao <alice@makenotion.com>
This commit is contained in:
parent
292dd765b2
commit
5db776f1ec
42 changed files with 160 additions and 150 deletions
|
@ -1743,7 +1743,7 @@ void NativeWindowViews::HandleKeyboardEvent(
|
|||
}
|
||||
|
||||
void NativeWindowViews::OnMouseEvent(ui::MouseEvent* event) {
|
||||
if (event->type() != ui::ET_MOUSE_PRESSED)
|
||||
if (event->type() != ui::EventType::kMousePressed)
|
||||
return;
|
||||
|
||||
// Alt+Click should not toggle menu bar.
|
||||
|
|
|
@ -56,28 +56,28 @@ namespace {
|
|||
const float kDefaultScaleFactor = 1.0;
|
||||
|
||||
ui::MouseEvent UiMouseEventFromWebMouseEvent(blink::WebMouseEvent event) {
|
||||
ui::EventType type = ui::EventType::ET_UNKNOWN;
|
||||
ui::EventType type = ui::EventType::kUnknown;
|
||||
switch (event.GetType()) {
|
||||
case blink::WebInputEvent::Type::kMouseDown:
|
||||
type = ui::EventType::ET_MOUSE_PRESSED;
|
||||
type = ui::EventType::kMousePressed;
|
||||
break;
|
||||
case blink::WebInputEvent::Type::kMouseUp:
|
||||
type = ui::EventType::ET_MOUSE_RELEASED;
|
||||
type = ui::EventType::kMouseReleased;
|
||||
break;
|
||||
case blink::WebInputEvent::Type::kMouseMove:
|
||||
type = ui::EventType::ET_MOUSE_MOVED;
|
||||
type = ui::EventType::kMouseMoved;
|
||||
break;
|
||||
case blink::WebInputEvent::Type::kMouseEnter:
|
||||
type = ui::EventType::ET_MOUSE_ENTERED;
|
||||
type = ui::EventType::kMouseEntered;
|
||||
break;
|
||||
case blink::WebInputEvent::Type::kMouseLeave:
|
||||
type = ui::EventType::ET_MOUSE_EXITED;
|
||||
type = ui::EventType::kMouseExited;
|
||||
break;
|
||||
case blink::WebInputEvent::Type::kMouseWheel:
|
||||
type = ui::EventType::ET_MOUSEWHEEL;
|
||||
type = ui::EventType::kMousewheel;
|
||||
break;
|
||||
default:
|
||||
type = ui::EventType::ET_UNKNOWN;
|
||||
type = ui::EventType::kUnknown;
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
@ -324,23 +324,23 @@ void AutofillPopupView::OnMouseReleased(const ui::MouseEvent& event) {
|
|||
|
||||
void AutofillPopupView::OnGestureEvent(ui::GestureEvent* event) {
|
||||
switch (event->type()) {
|
||||
case ui::ET_GESTURE_TAP_DOWN:
|
||||
case ui::ET_GESTURE_SCROLL_BEGIN:
|
||||
case ui::ET_GESTURE_SCROLL_UPDATE:
|
||||
case ui::EventType::kGestureTapDown:
|
||||
case ui::EventType::kGestureScrollBegin:
|
||||
case ui::EventType::kGestureScrollUpdate:
|
||||
if (HitTestPoint(event->location()))
|
||||
SetSelection(event->location());
|
||||
else
|
||||
ClearSelection();
|
||||
break;
|
||||
case ui::ET_GESTURE_TAP:
|
||||
case ui::ET_GESTURE_SCROLL_END:
|
||||
case ui::EventType::kGestureTap:
|
||||
case ui::EventType::kGestureScrollEnd:
|
||||
if (HitTestPoint(event->location()))
|
||||
AcceptSelection(event->location());
|
||||
else
|
||||
ClearSelection();
|
||||
break;
|
||||
case ui::ET_GESTURE_TAP_CANCEL:
|
||||
case ui::ET_SCROLL_FLING_START:
|
||||
case ui::EventType::kGestureTapCancel:
|
||||
case ui::EventType::kScrollFlingStart:
|
||||
ClearSelection();
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue