Commit 5b5cf9cf authored by pkotwicz@chromium.org's avatar pkotwicz@chromium.org

Fix Spelling of DesktopDragDropClientAuraX11::X11DragContext::MaskOperation()

BUG=None
TEST=Peter is happy
TBR=erg

Review URL: https://codereview.chromium.org/399023002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@283714 0039d316-1c4b-4281-b951-d872f2087c98
parent 4beec40b
...@@ -126,7 +126,7 @@ class DesktopDragDropClientAuraX11::X11DragContext ...@@ -126,7 +126,7 @@ class DesktopDragDropClientAuraX11::X11DragContext
private: private:
// Masks the X11 atom |xdnd_operation|'s views representation onto // Masks the X11 atom |xdnd_operation|'s views representation onto
// |drag_operation|. // |drag_operation|.
void MaskOpeartion(::Atom xdnd_operation, int* drag_operation) const; void MaskOperation(::Atom xdnd_operation, int* drag_operation) const;
// ui::PlatformEventDispatcher: // ui::PlatformEventDispatcher:
virtual bool CanDispatchEvent(const ui::PlatformEvent& event) OVERRIDE; virtual bool CanDispatchEvent(const ui::PlatformEvent& event) OVERRIDE;
...@@ -306,15 +306,15 @@ int DesktopDragDropClientAuraX11::X11DragContext::GetDragOperation() const { ...@@ -306,15 +306,15 @@ int DesktopDragDropClientAuraX11::X11DragContext::GetDragOperation() const {
int drag_operation = ui::DragDropTypes::DRAG_NONE; int drag_operation = ui::DragDropTypes::DRAG_NONE;
for (std::vector<Atom>::const_iterator it = actions_.begin(); for (std::vector<Atom>::const_iterator it = actions_.begin();
it != actions_.end(); ++it) { 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; return drag_operation;
} }
void DesktopDragDropClientAuraX11::X11DragContext::MaskOpeartion( void DesktopDragDropClientAuraX11::X11DragContext::MaskOperation(
::Atom xdnd_operation, ::Atom xdnd_operation,
int* drag_operation) const { int* drag_operation) const {
if (xdnd_operation == atom_cache_->GetAtom(kXdndActionCopy)) if (xdnd_operation == atom_cache_->GetAtom(kXdndActionCopy))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment