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

Side by Side Diff: ui/views/mus/platform_window_mus.cc

Issue 1543173002: Switch to standard integer types in ui/views/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 "ui/views/mus/platform_window_mus.h" 5 #include "ui/views/mus/platform_window_mus.h"
6 6
7 #include "build/build_config.h"
7 #include "components/mus/public/cpp/property_type_converters.h" 8 #include "components/mus/public/cpp/property_type_converters.h"
8 #include "components/mus/public/cpp/window_property.h" 9 #include "components/mus/public/cpp/window_property.h"
9 #include "components/mus/public/interfaces/window_manager.mojom.h" 10 #include "components/mus/public/interfaces/window_manager.mojom.h"
10 #include "mojo/converters/input_events/input_events_type_converters.h" 11 #include "mojo/converters/input_events/input_events_type_converters.h"
11 #include "ui/platform_window/platform_window_delegate.h" 12 #include "ui/platform_window/platform_window_delegate.h"
12 #include "ui/views/mus/window_manager_connection.h" 13 #include "ui/views/mus/window_manager_connection.h"
13 14
14 namespace views { 15 namespace views {
15 16
16 namespace { 17 namespace {
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 210
210 void PlatformWindowMus::OnWindowInputEvent( 211 void PlatformWindowMus::OnWindowInputEvent(
211 mus::Window* view, 212 mus::Window* view,
212 mus::mojom::EventPtr event, 213 mus::mojom::EventPtr event,
213 scoped_ptr<base::Closure>* ack_callback) { 214 scoped_ptr<base::Closure>* ack_callback) {
214 scoped_ptr<ui::Event> ui_event(event.To<scoped_ptr<ui::Event>>()); 215 scoped_ptr<ui::Event> ui_event(event.To<scoped_ptr<ui::Event>>());
215 delegate_->DispatchEvent(ui_event.get()); 216 delegate_->DispatchEvent(ui_event.get());
216 } 217 }
217 218
218 } // namespace views 219 } // namespace views
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698