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

Unified Diff: ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc

Issue 399023002: Fix Spelling of DesktopDragDropClientAuraX11::X11DragContext::MaskOperation() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc
diff --git a/ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc b/ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc
index 7cbcd5eb64839ccbd8f49670efd776fb9ba2110b..acd5660ef6144c41629cd6621255c499e456b830 100644
--- a/ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc
+++ b/ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc
@@ -126,7 +126,7 @@ class DesktopDragDropClientAuraX11::X11DragContext
private:
// Masks the X11 atom |xdnd_operation|'s views representation onto
// |drag_operation|.
- void MaskOpeartion(::Atom xdnd_operation, int* drag_operation) const;
+ void MaskOperation(::Atom xdnd_operation, int* drag_operation) const;
// ui::PlatformEventDispatcher:
virtual bool CanDispatchEvent(const ui::PlatformEvent& event) OVERRIDE;
@@ -306,15 +306,15 @@ int DesktopDragDropClientAuraX11::X11DragContext::GetDragOperation() const {
int drag_operation = ui::DragDropTypes::DRAG_NONE;
for (std::vector<Atom>::const_iterator it = actions_.begin();
it != actions_.end(); ++it) {
- MaskOpeartion(*it, &drag_operation);
+ MaskOperation(*it, &drag_operation);
}
- MaskOpeartion(suggested_action_, &drag_operation);
+ MaskOperation(suggested_action_, &drag_operation);
return drag_operation;
}
-void DesktopDragDropClientAuraX11::X11DragContext::MaskOpeartion(
+void DesktopDragDropClientAuraX11::X11DragContext::MaskOperation(
::Atom xdnd_operation,
int* drag_operation) const {
if (xdnd_operation == atom_cache_->GetAtom(kXdndActionCopy))
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698