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 #ifndef MANDOLINE_UI_OMNIBOX_OMNIBOX_IMPL_H_ | 5 #ifndef MANDOLINE_UI_OMNIBOX_OMNIBOX_IMPL_H_ |
6 #define MANDOLINE_UI_OMNIBOX_OMNIBOX_IMPL_H_ | 6 #define MANDOLINE_UI_OMNIBOX_OMNIBOX_IMPL_H_ |
7 | 7 |
8 #include "components/view_manager/public/cpp/view_manager_delegate.h" | 8 #include "components/view_manager/public/cpp/view_manager_delegate.h" |
9 #include "mandoline/ui/browser/omnibox.mojom.h" | 9 #include "mandoline/ui/browser/omnibox.mojom.h" |
| 10 #include "mojo/application/public/cpp/application_delegate.h" |
| 11 #include "mojo/application/public/cpp/interface_factory.h" |
10 #include "mojo/common/weak_binding_set.h" | 12 #include "mojo/common/weak_binding_set.h" |
11 #include "third_party/mojo/src/mojo/public/cpp/application/application_delegate.
h" | |
12 #include "third_party/mojo/src/mojo/public/cpp/application/interface_factory.h" | |
13 #include "ui/views/controls/textfield/textfield_controller.h" | 13 #include "ui/views/controls/textfield/textfield_controller.h" |
14 #include "ui/views/layout/layout_manager.h" | 14 #include "ui/views/layout/layout_manager.h" |
15 | 15 |
16 namespace mojo { | 16 namespace mojo { |
17 class ViewManagerClientFactory; | 17 class ViewManagerClientFactory; |
18 } | 18 } |
19 | 19 |
20 namespace mandoline { | 20 namespace mandoline { |
21 | 21 |
22 class AuraInit; | 22 class AuraInit; |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 views::Textfield* edit_; | 68 views::Textfield* edit_; |
69 mojo::WeakBindingSet<Omnibox> bindings_; | 69 mojo::WeakBindingSet<Omnibox> bindings_; |
70 scoped_ptr<mojo::ViewManagerClientFactory> view_manager_client_factory_; | 70 scoped_ptr<mojo::ViewManagerClientFactory> view_manager_client_factory_; |
71 | 71 |
72 DISALLOW_COPY_AND_ASSIGN(OmniboxImpl); | 72 DISALLOW_COPY_AND_ASSIGN(OmniboxImpl); |
73 }; | 73 }; |
74 | 74 |
75 } // namespace mandoline | 75 } // namespace mandoline |
76 | 76 |
77 #endif // MANDOLINE_UI_OMNIBOX_OMNIBOX_IMPL_H_ | 77 #endif // MANDOLINE_UI_OMNIBOX_OMNIBOX_IMPL_H_ |
OLD | NEW |