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

Unified Diff: ui/base/dragdrop/os_exchange_data_provider_aurax11.cc

Issue 666673005: Explicitly coerce PostDispatchAction to uint32_t in DispatchEvent() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ui_enums
Patch Set: sigh. Windows. Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/base/dragdrop/os_exchange_data_provider_aurax11.cc
diff --git a/ui/base/dragdrop/os_exchange_data_provider_aurax11.cc b/ui/base/dragdrop/os_exchange_data_provider_aurax11.cc
index 714069fecd9e52bde99ef0427ba837a02d5bfd7a..f8cfc15735411fe03f196916c4f8fd5f1baa42c6 100644
--- a/ui/base/dragdrop/os_exchange_data_provider_aurax11.cc
+++ b/ui/base/dragdrop/os_exchange_data_provider_aurax11.cc
@@ -518,11 +518,11 @@ uint32_t OSExchangeDataProviderAuraX11::DispatchEvent(
switch (xev->type) {
case SelectionRequest:
selection_owner_.OnSelectionRequest(*xev);
- return ui::POST_DISPATCH_STOP_PROPAGATION;
+ return ui::kPostDispatchStopPropagation;
default:
NOTIMPLEMENTED();
}
- return ui::POST_DISPATCH_NONE;
+ return ui::kPostDispatchNone;
}
bool OSExchangeDataProviderAuraX11::GetPlainTextURL(GURL* url) const {

Powered by Google App Engine
This is Rietveld 408576698