Add new certificateProvider extension API.
[chromium-blink-merge.git] / chrome / browser / ui / omnibox / clipboard_utils.h
blob716be85f17a545e4080be5ea9b3750961b5e33d6
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 // This file defines helper functions for accessing the clipboard.
7 #ifndef CHROME_BROWSER_UI_OMNIBOX_CLIPBOARD_UTILS_H_
8 #define CHROME_BROWSER_UI_OMNIBOX_CLIPBOARD_UTILS_H_
10 #include "base/strings/string16.h"
12 // Returns the current clipboard contents as a string that can be pasted in.
13 // In addition to just getting CF_UNICODETEXT out, this can also extract URLs
14 // from bookmarks on the clipboard.
15 base::string16 GetClipboardText();
17 #endif // CHROME_BROWSER_UI_OMNIBOX_CLIPBOARD_UTILS_H_