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

Side by Side Diff: ui/aura/root_window.cc

Issue 9904004: Fix some gramattical errors in comments in ui/aura (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/aura/root_window.h" 5 #include "ui/aura/root_window.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 841 matching lines...) Expand 10 before | Expand all | Expand 10 after
852 void RootWindow::SynthesizeMouseMoveEvent() { 852 void RootWindow::SynthesizeMouseMoveEvent() {
853 if (!synthesize_mouse_move_) 853 if (!synthesize_mouse_move_)
854 return; 854 return;
855 synthesize_mouse_move_ = false; 855 synthesize_mouse_move_ = false;
856 #if !defined(OS_WIN) 856 #if !defined(OS_WIN)
857 // Temporarily disabled for windows. See crbug.com/112222. 857 // Temporarily disabled for windows. See crbug.com/112222.
858 gfx::Point orig_mouse_location = last_mouse_location_; 858 gfx::Point orig_mouse_location = last_mouse_location_;
859 layer()->transform().TransformPoint(orig_mouse_location); 859 layer()->transform().TransformPoint(orig_mouse_location);
860 860
861 // TODO(derat|oshima): Don't use mouse_button_flags_ as it's 861 // TODO(derat|oshima): Don't use mouse_button_flags_ as it's
862 // is currently broken. See/ crbug.com/107931. 862 // currently broken. See/ crbug.com/107931.
863 MouseEvent event(ui::ET_MOUSE_MOVED, 863 MouseEvent event(ui::ET_MOUSE_MOVED,
864 orig_mouse_location, 864 orig_mouse_location,
865 orig_mouse_location, 865 orig_mouse_location,
866 ui::EF_IS_SYNTHESIZED); 866 ui::EF_IS_SYNTHESIZED);
867 DispatchMouseEvent(&event); 867 DispatchMouseEvent(&event);
868 #endif 868 #endif
869 } 869 }
870 870
871 } // namespace aura 871 } // namespace aura
OLDNEW
« 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