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

Side by Side Diff: components/open_from_clipboard/clipboard_url_provider.h

Issue 930323003: Upstream iOS' Open from Clipboard component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 2014 => 2015 Created 5 years, 10 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
OLDNEW
(Empty)
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.
4
5 #ifndef COMPONENTS_OPEN_FROM_CLIPBOARD_CLIPBOARD_URL_PROVIDER_H_
6 #define COMPONENTS_OPEN_FROM_CLIPBOARD_CLIPBOARD_URL_PROVIDER_H_
7
8 #include "components/omnibox/autocomplete_provider.h"
9
10 class ClipboardRecentContent;
11
12 // Autocomplete provider offering content based on the clipboard's content.
13 class ClipboardURLProvider : public AutocompleteProvider {
14 public:
15 ClipboardURLProvider(ClipboardRecentContent* clipboard_recent_content);
16 void Start(const AutocompleteInput& input,
17 bool minimal_changes,
18 bool called_due_to_focus) override;
19
20 private:
21 ~ClipboardURLProvider() override;
22 ClipboardRecentContent* clipboard_recent_content_;
23
24 DISALLOW_COPY_AND_ASSIGN(ClipboardURLProvider);
25 };
26
27 #endif // COMPONENTS_OPEN_FROM_CLIPBOARD_CLIPBOARD_URL_PROVIDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698