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

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

Issue 296003004: Remove unnecessary logging message (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 6 years, 7 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
« 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/window_tree_host_x11.h" 5 #include "ui/aura/window_tree_host_x11.h"
6 6
7 #include <strings.h> 7 #include <strings.h>
8 #include <X11/cursorfont.h> 8 #include <X11/cursorfont.h>
9 #include <X11/extensions/XInput2.h> 9 #include <X11/extensions/XInput2.h>
10 #include <X11/extensions/Xrandr.h> 10 #include <X11/extensions/Xrandr.h>
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 204
205 private: 205 private:
206 // ui::PlatformEventObserver: 206 // ui::PlatformEventObserver:
207 virtual void WillProcessEvent(const ui::PlatformEvent& event) OVERRIDE { 207 virtual void WillProcessEvent(const ui::PlatformEvent& event) OVERRIDE {
208 #if defined(USE_XI2_MT) 208 #if defined(USE_XI2_MT)
209 if (event->type == GenericEvent && 209 if (event->type == GenericEvent &&
210 (event->xgeneric.evtype == XI_TouchBegin || 210 (event->xgeneric.evtype == XI_TouchBegin ||
211 event->xgeneric.evtype == XI_TouchUpdate || 211 event->xgeneric.evtype == XI_TouchUpdate ||
212 event->xgeneric.evtype == XI_TouchEnd)) { 212 event->xgeneric.evtype == XI_TouchEnd)) {
213 XIDeviceEvent* xievent = static_cast<XIDeviceEvent*>(event->xcookie.data); 213 XIDeviceEvent* xievent = static_cast<XIDeviceEvent*>(event->xcookie.data);
214 LOG(ERROR) << "Raw " << xievent->event_x << " " << xievent->event_y
215 << " " << xievent->root_x << " " << xievent->root_y;
216 xievent->event = xievent->root; 214 xievent->event = xievent->root;
217 xievent->event_x = xievent->root_x; 215 xievent->event_x = xievent->root_x;
218 xievent->event_y = xievent->root_y; 216 xievent->event_y = xievent->root_y;
219 } 217 }
220 #endif // defined(USE_XI2_MT) 218 #endif // defined(USE_XI2_MT)
221 } 219 }
222 220
223 virtual void DidProcessEvent(const ui::PlatformEvent& event) OVERRIDE {} 221 virtual void DidProcessEvent(const ui::PlatformEvent& event) OVERRIDE {}
224 222
225 // The difference in screen's native resolution pixels between 223 // The difference in screen's native resolution pixels between
(...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after
723 } 721 }
724 722
725 namespace test { 723 namespace test {
726 724
727 void SetUseOverrideRedirectWindowByDefault(bool override_redirect) { 725 void SetUseOverrideRedirectWindowByDefault(bool override_redirect) {
728 default_override_redirect = override_redirect; 726 default_override_redirect = override_redirect;
729 } 727 }
730 728
731 } // namespace test 729 } // namespace test
732 } // namespace aura 730 } // 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