| 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 "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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 } | 109 } |
| 110 | 110 |
| 111 void PhoneBrowserApplicationDelegate::LoadingStateChanged(bool is_loading) { | 111 void PhoneBrowserApplicationDelegate::LoadingStateChanged(bool is_loading) { |
| 112 // ... | 112 // ... |
| 113 } | 113 } |
| 114 | 114 |
| 115 void PhoneBrowserApplicationDelegate::ProgressChanged(double progress) { | 115 void PhoneBrowserApplicationDelegate::ProgressChanged(double progress) { |
| 116 // ... | 116 // ... |
| 117 } | 117 } |
| 118 | 118 |
| 119 |
| 120 void PhoneBrowserApplicationDelegate::BackForwardChanged(bool back_enabled, |
| 121 bool forward_enabled) { |
| 122 // ... |
| 123 } |
| 124 |
| 119 void PhoneBrowserApplicationDelegate::TitleChanged(const mojo::String& title) { | 125 void PhoneBrowserApplicationDelegate::TitleChanged(const mojo::String& title) { |
| 120 // ... | 126 // ... |
| 121 } | 127 } |
| 122 | 128 |
| 123 //////////////////////////////////////////////////////////////////////////////// | 129 //////////////////////////////////////////////////////////////////////////////// |
| 124 // PhoneBrowserApplicationDelegate, | 130 // PhoneBrowserApplicationDelegate, |
| 125 // mojo::InterfaceFactory<LaunchHandler> implementation: | 131 // mojo::InterfaceFactory<LaunchHandler> implementation: |
| 126 | 132 |
| 127 void PhoneBrowserApplicationDelegate::Create( | 133 void PhoneBrowserApplicationDelegate::Create( |
| 128 mojo::ApplicationConnection* connection, | 134 mojo::ApplicationConnection* connection, |
| 129 mojo::InterfaceRequest<LaunchHandler> request) { | 135 mojo::InterfaceRequest<LaunchHandler> request) { |
| 130 launch_handler_bindings_.AddBinding(this, request.Pass()); | 136 launch_handler_bindings_.AddBinding(this, request.Pass()); |
| 131 } | 137 } |
| 132 | 138 |
| 133 } // namespace mandoline | 139 } // namespace mandoline |
| OLD | NEW |