Disable tab_switching.tough_energy_cases on Linux
[chromium-blink-merge.git] / mandoline / ui / browser / omnibox.mojom
blobb69b543ae6f7a0fad2b0530ba599ccf93696fde3
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
3 // found in the LICENSE file.
5 module mandoline;
7 // TODO(beng): Could this be generalized as a "Chooser" with a specific type??
9 // Interface implemented by the browser to respond to input from the omnibox
10 // app.
11 interface OmniboxClient {
12   OpenURL(string url);
15 // Interface implemented by an application providing a method for URL input.
16 interface Omnibox {
17   SetClient(OmniboxClient client);
19   ShowForURL(string url);