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

Side by Side Diff: mandoline/ui/desktop_ui/browser_window.h

Issue 1402213002: Moves mandoline/ui/aura to ui/views/mus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: disable presubmit Created 5 years, 2 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/desktop_ui/BUILD.gn ('k') | mandoline/ui/desktop_ui/browser_window.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 #ifndef MANDOLINE_UI_DESKTOP_UI_BROWSER_WINDOW_H_ 5 #ifndef MANDOLINE_UI_DESKTOP_UI_BROWSER_WINDOW_H_
6 #define MANDOLINE_UI_DESKTOP_UI_BROWSER_WINDOW_H_ 6 #define MANDOLINE_UI_DESKTOP_UI_BROWSER_WINDOW_H_
7 7
8 #include "components/mus/public/cpp/view_tree_connection.h" 8 #include "components/mus/public/cpp/view_tree_connection.h"
9 #include "components/mus/public/cpp/view_tree_delegate.h" 9 #include "components/mus/public/cpp/view_tree_delegate.h"
10 #include "components/mus/public/interfaces/view_tree_host.mojom.h" 10 #include "components/mus/public/interfaces/view_tree_host.mojom.h"
11 #include "components/web_view/public/cpp/web_view.h" 11 #include "components/web_view/public/cpp/web_view.h"
12 #include "components/web_view/public/interfaces/web_view.mojom.h" 12 #include "components/web_view/public/interfaces/web_view.mojom.h"
13 #include "mandoline/ui/aura/aura_init.h"
14 #include "mandoline/ui/desktop_ui/find_bar_delegate.h" 13 #include "mandoline/ui/desktop_ui/find_bar_delegate.h"
15 #include "mandoline/ui/desktop_ui/public/interfaces/omnibox.mojom.h" 14 #include "mandoline/ui/desktop_ui/public/interfaces/omnibox.mojom.h"
16 #include "mandoline/ui/desktop_ui/public/interfaces/view_embedder.mojom.h" 15 #include "mandoline/ui/desktop_ui/public/interfaces/view_embedder.mojom.h"
17 #include "mojo/application/public/cpp/interface_factory.h" 16 #include "mojo/application/public/cpp/interface_factory.h"
18 #include "mojo/common/weak_binding_set.h" 17 #include "mojo/common/weak_binding_set.h"
19 #include "ui/views/layout/layout_manager.h" 18 #include "ui/views/layout/layout_manager.h"
19 #include "ui/views/mus/aura_init.h"
20 #include "url/gurl.h" 20 #include "url/gurl.h"
21 21
22 namespace mojo { 22 namespace mojo {
23 class ApplicationConnection; 23 class ApplicationConnection;
24 class Shell; 24 class Shell;
25 class View; 25 class View;
26 } 26 }
27 27
28 namespace mandoline { 28 namespace mandoline {
29 29
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 void Layout(views::View* host) override; 90 void Layout(views::View* host) override;
91 91
92 // Overridden from FindBarDelegate: 92 // Overridden from FindBarDelegate:
93 void OnDoFind(const std::string& find) override; 93 void OnDoFind(const std::string& find) override;
94 void OnHideFindBar() override; 94 void OnHideFindBar() override;
95 95
96 void Init(mus::View* root); 96 void Init(mus::View* root);
97 void EmbedOmnibox(); 97 void EmbedOmnibox();
98 98
99 mojo::ApplicationImpl* app_; 99 mojo::ApplicationImpl* app_;
100 scoped_ptr<AuraInit> aura_init_; 100 scoped_ptr<views::AuraInit> aura_init_;
101 mojo::ViewTreeHostPtr host_; 101 mojo::ViewTreeHostPtr host_;
102 mojo::Binding<ViewTreeHostClient> host_client_binding_; 102 mojo::Binding<ViewTreeHostClient> host_client_binding_;
103 BrowserManager* manager_; 103 BrowserManager* manager_;
104 ToolbarView* toolbar_view_; 104 ToolbarView* toolbar_view_;
105 ProgressView* progress_bar_; 105 ProgressView* progress_bar_;
106 FindBarView* find_bar_view_; 106 FindBarView* find_bar_view_;
107 mus::View* root_; 107 mus::View* root_;
108 mus::View* content_; 108 mus::View* content_;
109 mus::View* omnibox_view_; 109 mus::View* omnibox_view_;
110 110
(...skipping 12 matching lines...) Expand all
123 123
124 OmniboxPtr omnibox_; 124 OmniboxPtr omnibox_;
125 scoped_ptr<mojo::ApplicationConnection> omnibox_connection_; 125 scoped_ptr<mojo::ApplicationConnection> omnibox_connection_;
126 126
127 DISALLOW_COPY_AND_ASSIGN(BrowserWindow); 127 DISALLOW_COPY_AND_ASSIGN(BrowserWindow);
128 }; 128 };
129 129
130 } // namespace mandoline 130 } // namespace mandoline
131 131
132 #endif // MANDOLINE_UI_DESKTOP_UI_BROWSER_WINDOW_H_ 132 #endif // MANDOLINE_UI_DESKTOP_UI_BROWSER_WINDOW_H_
OLDNEW
« no previous file with comments | « mandoline/ui/desktop_ui/BUILD.gn ('k') | mandoline/ui/desktop_ui/browser_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698