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

Side by Side Diff: chrome/browser/ui/webui/omnibox/omnibox_ui_handler.h

Issue 1410053006: Move third_party/mojo/src/mojo/public to mojo/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 1 month 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 | « chrome/browser/ui/webui/omnibox/BUILD.gn ('k') | chrome/browser/usb/usb_tab_helper.h » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CHROME_BROWSER_UI_WEBUI_OMNIBOX_OMNIBOX_UI_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OMNIBOX_OMNIBOX_UI_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_OMNIBOX_OMNIBOX_UI_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OMNIBOX_OMNIBOX_UI_HANDLER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "base/time/time.h" 11 #include "base/time/time.h"
12 #include "chrome/browser/ui/webui/mojo_web_ui_handler.h" 12 #include "chrome/browser/ui/webui/mojo_web_ui_handler.h"
13 #include "chrome/browser/ui/webui/omnibox/omnibox.mojom.h" 13 #include "chrome/browser/ui/webui/omnibox/omnibox.mojom.h"
14 #include "components/omnibox/browser/autocomplete_controller_delegate.h" 14 #include "components/omnibox/browser/autocomplete_controller_delegate.h"
15 #include "components/omnibox/browser/autocomplete_input.h" 15 #include "components/omnibox/browser/autocomplete_input.h"
16 #include "components/omnibox/browser/autocomplete_match.h" 16 #include "components/omnibox/browser/autocomplete_match.h"
17 #include "third_party/mojo/src/mojo/public/cpp/bindings/strong_binding.h" 17 #include "mojo/public/cpp/bindings/strong_binding.h"
18 18
19 class AutocompleteController; 19 class AutocompleteController;
20 class Profile; 20 class Profile;
21 21
22 // Implementation of OmniboxUIHandlerMojo. StartOmniboxQuery() calls to a 22 // Implementation of OmniboxUIHandlerMojo. StartOmniboxQuery() calls to a
23 // private AutocompleteController. It also listens for updates from the 23 // private AutocompleteController. It also listens for updates from the
24 // AutocompleteController to OnResultChanged() and passes those results to 24 // AutocompleteController to OnResultChanged() and passes those results to
25 // the OmniboxPage. 25 // the OmniboxPage.
26 class OmniboxUIHandler : public AutocompleteControllerDelegate, 26 class OmniboxUIHandler : public AutocompleteControllerDelegate,
27 public OmniboxUIHandlerMojo, 27 public OmniboxUIHandlerMojo,
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 70
71 // The Profile* handed to us in our constructor. 71 // The Profile* handed to us in our constructor.
72 Profile* profile_; 72 Profile* profile_;
73 73
74 mojo::StrongBinding<OmniboxUIHandlerMojo> binding_; 74 mojo::StrongBinding<OmniboxUIHandlerMojo> binding_;
75 75
76 DISALLOW_COPY_AND_ASSIGN(OmniboxUIHandler); 76 DISALLOW_COPY_AND_ASSIGN(OmniboxUIHandler);
77 }; 77 };
78 78
79 #endif // CHROME_BROWSER_UI_WEBUI_OMNIBOX_OMNIBOX_UI_HANDLER_H_ 79 #endif // CHROME_BROWSER_UI_WEBUI_OMNIBOX_OMNIBOX_UI_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/omnibox/BUILD.gn ('k') | chrome/browser/usb/usb_tab_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698