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 #ifndef COMPONENTS_OPEN_FROM_CLIPBOARD_CLIPBOARD_URL_PROVIDER_H_
6 #define COMPONENTS_OPEN_FROM_CLIPBOARD_CLIPBOARD_URL_PROVIDER_H_
8 #include "components/omnibox/autocomplete_provider.h"
10 class ClipboardRecentContent
;
12 // Autocomplete provider offering content based on the clipboard's content.
13 class ClipboardURLProvider
: public AutocompleteProvider
{
15 ClipboardURLProvider(ClipboardRecentContent
* clipboard_recent_content
);
16 void Start(const AutocompleteInput
& input
,
18 bool called_due_to_focus
) override
;
21 ~ClipboardURLProvider() override
;
22 ClipboardRecentContent
* clipboard_recent_content_
;
24 DISALLOW_COPY_AND_ASSIGN(ClipboardURLProvider
);
27 #endif // COMPONENTS_OPEN_FROM_CLIPBOARD_CLIPBOARD_URL_PROVIDER_H_