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

Side by Side Diff: chrome/browser/ui/cocoa/handoff_active_url_observer_delegate.h

Issue 799583002: Revert "mac: Allow Chrome to hand off its active URL to other devices." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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
« no previous file with comments | « chrome/browser/ui/cocoa/handoff_active_url_observer.cc ('k') | chrome/chrome_browser_ui.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2014 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 CHROME_BROWSER_UI_COCOA_HANDOFF_ACTIVE_URL_OBSERVER_DELEGATE_H_
6 #define CHROME_BROWSER_UI_COCOA_HANDOFF_ACTIVE_URL_OBSERVER_DELEGATE_H_
7
8 namespace content {
9 class WebContents;
10 }
11
12 // The delegate for a HandoffActiveURLObserver.
13 class HandoffActiveURLObserverDelegate {
14 public:
15 // Called when:
16 // 1. The most recently focused browser changes.
17 // 2. The active tab of the browser changes.
18 // 3. After a navigation of the web contents of the active tab.
19 // |web_contents| is the WebContents whose VisibleURL is considered the
20 // "Active URL" of Chrome.
21 virtual void HandoffActiveURLChanged(content::WebContents* web_contents) = 0;
22
23 protected:
24 virtual ~HandoffActiveURLObserverDelegate(){};
25 };
26
27 #endif // CHROME_BROWSER_UI_COCOA_HANDOFF_ACTIVE_URL_OBSERVER_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/handoff_active_url_observer.cc ('k') | chrome/chrome_browser_ui.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698