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

Side by Side Diff: mojo/services/public/cpp/view_manager/lib/view_manager_client_impl.cc

Issue 644793002: Renames window_manager.mojom to window_manager2.mojom (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: really fix gn Created 6 years, 2 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "mojo/services/public/cpp/view_manager/lib/view_manager_client_impl.h" 5 #include "mojo/services/public/cpp/view_manager/lib/view_manager_client_impl.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "base/stl_util.h" 10 #include "base/stl_util.h"
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 if (window_manager_delegate_) 359 if (window_manager_delegate_)
360 window_manager_delegate_->Embed(url, service_provider.Pass()); 360 window_manager_delegate_->Embed(url, service_provider.Pass());
361 } 361 }
362 362
363 void ViewManagerClientImpl::DispatchOnViewInputEvent(EventPtr event) { 363 void ViewManagerClientImpl::DispatchOnViewInputEvent(EventPtr event) {
364 if (window_manager_delegate_) 364 if (window_manager_delegate_)
365 window_manager_delegate_->DispatchEvent(event.Pass()); 365 window_manager_delegate_->DispatchEvent(event.Pass());
366 } 366 }
367 367
368 //////////////////////////////////////////////////////////////////////////////// 368 ////////////////////////////////////////////////////////////////////////////////
369 // ViewManagerClientImpl, WindowManagerClient implementation: 369 // ViewManagerClientImpl, WindowManagerClient2 implementation:
370 370
371 void ViewManagerClientImpl::OnWindowManagerReady() {} 371 void ViewManagerClientImpl::OnWindowManagerReady() {}
372 372
373 void ViewManagerClientImpl::OnCaptureChanged(Id old_capture_view_id, 373 void ViewManagerClientImpl::OnCaptureChanged(Id old_capture_view_id,
374 Id new_capture_view_id) {} 374 Id new_capture_view_id) {}
375 375
376 void ViewManagerClientImpl::OnFocusChanged(Id old_focused_view_id, 376 void ViewManagerClientImpl::OnFocusChanged(Id old_focused_view_id,
377 Id new_focused_view_id) { 377 Id new_focused_view_id) {
378 View* focused = GetViewById(new_focused_view_id); 378 View* focused = GetViewById(new_focused_view_id);
379 View* blurred = GetViewById(old_focused_view_id); 379 View* blurred = GetViewById(old_focused_view_id);
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 base::Unretained(this)); 416 base::Unretained(this));
417 } 417 }
418 418
419 base::Callback<void(ErrorCode)> 419 base::Callback<void(ErrorCode)>
420 ViewManagerClientImpl::ActionCompletedCallbackWithErrorCode() { 420 ViewManagerClientImpl::ActionCompletedCallbackWithErrorCode() {
421 return base::Bind(&ViewManagerClientImpl::OnActionCompletedWithErrorCode, 421 return base::Bind(&ViewManagerClientImpl::OnActionCompletedWithErrorCode,
422 base::Unretained(this)); 422 base::Unretained(this));
423 } 423 }
424 424
425 } // namespace mojo 425 } // namespace mojo
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698