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

Side by Side Diff: mandoline/ui/phone_ui/phone_browser_application_delegate.cc

Issue 1343773003: Revert of mandoline: Add back/forward support and UI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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 | « mandoline/ui/phone_ui/phone_browser_application_delegate.h ('k') | no next file » | 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 "mandoline/ui/phone_ui/phone_browser_application_delegate.h" 5 #include "mandoline/ui/phone_ui/phone_browser_application_delegate.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "components/view_manager/public/cpp/view.h" 8 #include "components/view_manager/public/cpp/view.h"
9 #include "components/view_manager/public/cpp/view_tree_connection.h" 9 #include "components/view_manager/public/cpp/view_tree_connection.h"
10 #include "components/view_manager/public/cpp/view_tree_host_factory.h" 10 #include "components/view_manager/public/cpp/view_tree_host_factory.h"
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 } 108 }
109 109
110 void PhoneBrowserApplicationDelegate::LoadingStateChanged(bool is_loading) { 110 void PhoneBrowserApplicationDelegate::LoadingStateChanged(bool is_loading) {
111 // ... 111 // ...
112 } 112 }
113 113
114 void PhoneBrowserApplicationDelegate::ProgressChanged(double progress) { 114 void PhoneBrowserApplicationDelegate::ProgressChanged(double progress) {
115 // ... 115 // ...
116 } 116 }
117 117
118
119 void PhoneBrowserApplicationDelegate::BackForwardChanged(
120 web_view::mojom::ButtonState back_button,
121 web_view::mojom::ButtonState forward_button) {
122 // ...
123 }
124
125 void PhoneBrowserApplicationDelegate::TitleChanged(const mojo::String& title) { 118 void PhoneBrowserApplicationDelegate::TitleChanged(const mojo::String& title) {
126 // ... 119 // ...
127 } 120 }
128 121
129 //////////////////////////////////////////////////////////////////////////////// 122 ////////////////////////////////////////////////////////////////////////////////
130 // PhoneBrowserApplicationDelegate, 123 // PhoneBrowserApplicationDelegate,
131 // mojo::InterfaceFactory<LaunchHandler> implementation: 124 // mojo::InterfaceFactory<LaunchHandler> implementation:
132 125
133 void PhoneBrowserApplicationDelegate::Create( 126 void PhoneBrowserApplicationDelegate::Create(
134 mojo::ApplicationConnection* connection, 127 mojo::ApplicationConnection* connection,
135 mojo::InterfaceRequest<LaunchHandler> request) { 128 mojo::InterfaceRequest<LaunchHandler> request) {
136 launch_handler_bindings_.AddBinding(this, request.Pass()); 129 launch_handler_bindings_.AddBinding(this, request.Pass());
137 } 130 }
138 131
139 } // namespace mandoline 132 } // namespace mandoline
OLDNEW
« no previous file with comments | « mandoline/ui/phone_ui/phone_browser_application_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698