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

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: Fixed bot issues (I hope) 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
« no previous file with comments | « components/html_viewer/html_document.cc ('k') | components/pdf_viewer/pdf_viewer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 582 matching lines...) Expand 10 before | Expand all | Expand 10 after
593 void HTMLFrame::didCancelCompositionOnSelectionChange() { 593 void HTMLFrame::didCancelCompositionOnSelectionChange() {
594 // TODO(penghuang): Update text input state. 594 // TODO(penghuang): Update text input state.
595 } 595 }
596 596
597 void HTMLFrame::didChangeContents() { 597 void HTMLFrame::didChangeContents() {
598 // TODO(penghuang): Update text input state. 598 // TODO(penghuang): Update text input state.
599 } 599 }
600 600
601 void HTMLFrame::initializeLayerTreeView() { 601 void HTMLFrame::initializeLayerTreeView() {
602 mojo::URLRequestPtr request(mojo::URLRequest::New()); 602 mojo::URLRequestPtr request(mojo::URLRequest::New());
603 request->url = mojo::String::From("mojo:surfaces_service"); 603 request->url = mojo::String::From("mojo:view_manager");
604 mojo::SurfacePtr surface; 604 mojo::SurfacePtr surface;
605 GetLocalRootApp()->ConnectToService(request.Pass(), &surface); 605 GetLocalRootApp()->ConnectToService(request.Pass(), &surface);
606 606
607 mojo::URLRequestPtr request2(mojo::URLRequest::New()); 607 mojo::URLRequestPtr request2(mojo::URLRequest::New());
608 request2->url = mojo::String::From("mojo:view_manager"); 608 request2->url = mojo::String::From("mojo:view_manager");
609 mojo::GpuPtr gpu_service; 609 mojo::GpuPtr gpu_service;
610 GetLocalRootApp()->ConnectToService(request2.Pass(), &gpu_service); 610 GetLocalRootApp()->ConnectToService(request2.Pass(), &gpu_service);
611 web_layer_tree_view_impl_.reset(new WebLayerTreeViewImpl( 611 web_layer_tree_view_impl_.reset(new WebLayerTreeViewImpl(
612 global_state()->compositor_thread(), 612 global_state()->compositor_thread(),
613 global_state()->gpu_memory_buffer_manager(), 613 global_state()->gpu_memory_buffer_manager(),
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
902 902
903 void HTMLFrame::reload(bool ignore_cache, bool is_client_redirect) { 903 void HTMLFrame::reload(bool ignore_cache, bool is_client_redirect) {
904 NOTIMPLEMENTED(); 904 NOTIMPLEMENTED();
905 } 905 }
906 906
907 void HTMLFrame::forwardInputEvent(const blink::WebInputEvent* event) { 907 void HTMLFrame::forwardInputEvent(const blink::WebInputEvent* event) {
908 NOTIMPLEMENTED(); 908 NOTIMPLEMENTED();
909 } 909 }
910 910
911 } // namespace mojo 911 } // namespace mojo
OLDNEW
« no previous file with comments | « components/html_viewer/html_document.cc ('k') | components/pdf_viewer/pdf_viewer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698