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

Side by Side Diff: components/html_viewer/html_frame.cc

Issue 1245683004: Mandoline: Merge Surfaces and Views apps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Rob's comments Created 5 years, 4 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/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
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698