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.
5 #ifndef CHROME_BROWSER_UI_COCOA_HANDOFF_ACTIVE_URL_OBSERVER_DELEGATE_H_
6 #define CHROME_BROWSER_UI_COCOA_HANDOFF_ACTIVE_URL_OBSERVER_DELEGATE_H_
12 // The delegate for a HandoffActiveURLObserver.
13 class HandoffActiveURLObserverDelegate
{
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;
24 virtual ~HandoffActiveURLObserverDelegate(){};
27 #endif // CHROME_BROWSER_UI_COCOA_HANDOFF_ACTIVE_URL_OBSERVER_DELEGATE_H_