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

Side by Side Diff: components/mus/ws/window_tree_host_impl.cc

Issue 1645503004: [exp] ash: sysui for mash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ash-in-mus
Patch Set: . Created 4 years, 10 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "components/mus/ws/window_tree_host_impl.h" 5 #include "components/mus/ws/window_tree_host_impl.h"
6 6
7 #include "base/debug/debugger.h" 7 #include "base/debug/debugger.h"
8 #include "base/strings/utf_string_conversions.h" 8 #include "base/strings/utf_string_conversions.h"
9 #include "components/mus/common/types.h" 9 #include "components/mus/common/types.h"
10 #include "components/mus/public/interfaces/input_event_constants.mojom.h" 10 #include "components/mus/public/interfaces/input_event_constants.mojom.h"
(...skipping 466 matching lines...) Expand 10 before | Expand all | Expand 10 after
477 void WindowTreeHostImpl::DispatchInputEventToWindow(ServerWindow* target, 477 void WindowTreeHostImpl::DispatchInputEventToWindow(ServerWindow* target,
478 bool in_nonclient_area, 478 bool in_nonclient_area,
479 mojom::EventPtr event) { 479 mojom::EventPtr event) {
480 if (event_ack_timer_.IsRunning()) { 480 if (event_ack_timer_.IsRunning()) {
481 scoped_ptr<ProcessedEventTarget> processed_event_target( 481 scoped_ptr<ProcessedEventTarget> processed_event_target(
482 new ProcessedEventTarget(target, in_nonclient_area)); 482 new ProcessedEventTarget(target, in_nonclient_area));
483 QueueEvent(std::move(event), std::move(processed_event_target)); 483 QueueEvent(std::move(event), std::move(processed_event_target));
484 return; 484 return;
485 } 485 }
486 486
487 if (event->action == mojom::EventType::POINTER_DOWN) {
488 LOG(ERROR) << "**** " << root_window()->GetDebugWindowHierarchy()
489 << " == " << target->id().connection_id << ","
490 << target->id().window_id;
491 }
487 DispatchInputEventToWindowImpl(target, in_nonclient_area, std::move(event)); 492 DispatchInputEventToWindowImpl(target, in_nonclient_area, std::move(event));
488 } 493 }
489 494
490 void WindowTreeHostImpl::OnWindowDestroyed(ServerWindow* window) { 495 void WindowTreeHostImpl::OnWindowDestroyed(ServerWindow* window) {
491 windows_needing_frame_destruction_.erase(window); 496 windows_needing_frame_destruction_.erase(window);
492 window->RemoveObserver(this); 497 window->RemoveObserver(this);
493 } 498 }
494 499
495 } // namespace ws 500 } // namespace ws
496 } // namespace mus 501 } // namespace mus
OLDNEW
« no previous file with comments | « ash/system/web_notification/ash_popup_alignment_delegate.h ('k') | mash/browser_driver/browser_driver_application_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698