Chromium Code Reviews| OLD | NEW |
|---|---|
| 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/html_viewer/html_frame.h" | 5 #include "components/html_viewer/html_frame.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <limits> | 8 #include <limits> |
| 9 | 9 |
| 10 #include "base/bind.h" | 10 #include "base/bind.h" |
| (...skipping 562 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 573 void HTMLFrame::didCancelCompositionOnSelectionChange() { | 573 void HTMLFrame::didCancelCompositionOnSelectionChange() { |
| 574 // TODO(penghuang): Update text input state. | 574 // TODO(penghuang): Update text input state. |
| 575 } | 575 } |
| 576 | 576 |
| 577 void HTMLFrame::didChangeContents() { | 577 void HTMLFrame::didChangeContents() { |
| 578 // TODO(penghuang): Update text input state. | 578 // TODO(penghuang): Update text input state. |
| 579 } | 579 } |
| 580 | 580 |
| 581 void HTMLFrame::initializeLayerTreeView() { | 581 void HTMLFrame::initializeLayerTreeView() { |
| 582 mojo::URLRequestPtr request(mojo::URLRequest::New()); | 582 mojo::URLRequestPtr request(mojo::URLRequest::New()); |
| 583 request->url = mojo::String::From("mojo:surfaces_service"); | 583 request->url = mojo::String::From("mojo:view_manager"); |
|
rjkroege
2015/08/06 22:39:11
where does the cc::impl allocate mojo::<new thing
Fady Samuel
2015/08/07 01:15:21
You are probably referring to OutputSurfaceMojo ht
| |
| 584 mojo::SurfacePtr surface; | 584 mojo::SurfacePtr surface; |
| 585 GetLocalRootApp()->ConnectToService(request.Pass(), &surface); | 585 GetLocalRootApp()->ConnectToService(request.Pass(), &surface); |
| 586 | 586 |
| 587 mojo::URLRequestPtr request2(mojo::URLRequest::New()); | 587 mojo::URLRequestPtr request2(mojo::URLRequest::New()); |
| 588 request2->url = mojo::String::From("mojo:view_manager"); | 588 request2->url = mojo::String::From("mojo:view_manager"); |
| 589 mojo::GpuPtr gpu_service; | 589 mojo::GpuPtr gpu_service; |
| 590 GetLocalRootApp()->ConnectToService(request2.Pass(), &gpu_service); | 590 GetLocalRootApp()->ConnectToService(request2.Pass(), &gpu_service); |
| 591 web_layer_tree_view_impl_.reset(new WebLayerTreeViewImpl( | 591 web_layer_tree_view_impl_.reset(new WebLayerTreeViewImpl( |
| 592 global_state()->compositor_thread(), | 592 global_state()->compositor_thread(), |
| 593 global_state()->gpu_memory_buffer_manager(), | 593 global_state()->gpu_memory_buffer_manager(), |
| (...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 843 | 843 |
| 844 void HTMLFrame::reload(bool ignore_cache, bool is_client_redirect) { | 844 void HTMLFrame::reload(bool ignore_cache, bool is_client_redirect) { |
| 845 NOTIMPLEMENTED(); | 845 NOTIMPLEMENTED(); |
| 846 } | 846 } |
| 847 | 847 |
| 848 void HTMLFrame::forwardInputEvent(const blink::WebInputEvent* event) { | 848 void HTMLFrame::forwardInputEvent(const blink::WebInputEvent* event) { |
| 849 NOTIMPLEMENTED(); | 849 NOTIMPLEMENTED(); |
| 850 } | 850 } |
| 851 | 851 |
| 852 } // namespace mojo | 852 } // namespace mojo |
| OLD | NEW |