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

Side by Side Diff: mandoline/ui/omnibox/omnibox_application.cc

Issue 1344573002: Mandoline: Rename components/view_manager to components/mus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased 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/omnibox/DEPS ('k') | mandoline/ui/phone_ui/BUILD.gn » ('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 "mandoline/ui/omnibox/omnibox_application.h" 5 #include "mandoline/ui/omnibox/omnibox_application.h"
6 6
7 #include "base/strings/string16.h" 7 #include "base/strings/string16.h"
8 #include "base/strings/utf_string_conversions.h" 8 #include "base/strings/utf_string_conversions.h"
9 #include "components/mus/public/cpp/view_tree_connection.h"
10 #include "components/mus/public/cpp/view_tree_delegate.h"
9 #include "components/url_formatter/url_fixer.h" 11 #include "components/url_formatter/url_fixer.h"
10 #include "components/view_manager/public/cpp/view_tree_connection.h"
11 #include "components/view_manager/public/cpp/view_tree_delegate.h"
12 #include "mandoline/ui/aura/aura_init.h" 12 #include "mandoline/ui/aura/aura_init.h"
13 #include "mandoline/ui/aura/native_widget_view_manager.h" 13 #include "mandoline/ui/aura/native_widget_view_manager.h"
14 #include "mandoline/ui/desktop_ui/public/interfaces/view_embedder.mojom.h" 14 #include "mandoline/ui/desktop_ui/public/interfaces/view_embedder.mojom.h"
15 #include "mojo/application/public/cpp/application_impl.h" 15 #include "mojo/application/public/cpp/application_impl.h"
16 #include "mojo/common/common_type_converters.h" 16 #include "mojo/common/common_type_converters.h"
17 #include "mojo/converters/geometry/geometry_type_converters.h" 17 #include "mojo/converters/geometry/geometry_type_converters.h"
18 #include "ui/views/background.h" 18 #include "ui/views/background.h"
19 #include "ui/views/controls/textfield/textfield.h" 19 #include "ui/views/controls/textfield/textfield.h"
20 #include "ui/views/controls/textfield/textfield_controller.h" 20 #include "ui/views/controls/textfield/textfield_controller.h"
21 #include "ui/views/layout/layout_manager.h" 21 #include "ui/views/layout/layout_manager.h"
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 edit_->SelectAll(false); 216 edit_->SelectAll(false);
217 edit_->RequestFocus(); 217 edit_->RequestFocus();
218 } 218 }
219 219
220 void OmniboxImpl::HideWindow() { 220 void OmniboxImpl::HideWindow() {
221 DCHECK(root_); 221 DCHECK(root_);
222 root_->SetVisible(false); 222 root_->SetVisible(false);
223 } 223 }
224 224
225 } // namespace mandoline 225 } // namespace mandoline
OLDNEW
« no previous file with comments | « mandoline/ui/omnibox/DEPS ('k') | mandoline/ui/phone_ui/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698