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

Unified Diff: components/open_from_clipboard/clipboard_recent_content_ios.h

Issue 2082513002: Add GetCurrentURL to ClipboardRecentContentIOS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | components/open_from_clipboard/clipboard_recent_content_ios.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/open_from_clipboard/clipboard_recent_content_ios.h
diff --git a/components/open_from_clipboard/clipboard_recent_content_ios.h b/components/open_from_clipboard/clipboard_recent_content_ios.h
index 3ea32831378106a993d56ed8323be3906f759a6c..524715abfbb7e28310c861695e18d71b43c974eb 100644
--- a/components/open_from_clipboard/clipboard_recent_content_ios.h
+++ b/components/open_from_clipboard/clipboard_recent_content_ios.h
@@ -37,11 +37,16 @@ class ClipboardRecentContentIOS : public ClipboardRecentContent {
// registered.
bool HasPasteboardChanged(base::TimeDelta uptime);
+ // Get the current URL in the clipboard. If the cache is out of date, updates
jif 2016/06/20 13:21:56 For consistency: s/Get/Gets/
Olivier 2016/06/20 14:51:55 Done, thanks
+ // it.
+ bool GetCurrentURLFromClipboard(GURL* url);
+
// Loads information from the user defaults about the latest pasteboard entry.
void LoadFromUserDefaults();
// ClipboardRecentContent implementation.
bool GetRecentURLFromClipboard(GURL* url) const override;
+
base::TimeDelta GetClipboardContentAge() const override;
void SuppressClipboardContent() override;
void RecentURLDisplayed() override;
« no previous file with comments | « no previous file | components/open_from_clipboard/clipboard_recent_content_ios.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698