Check USB device path access when prompting users to select a device.
[chromium-blink-merge.git] / chrome / browser / ui / cocoa / handoff_active_url_observer_delegate.h
blobd0d0fffca1206cb44801436acc53a6eee792e5c5
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_
8 namespace content {
9 class WebContents;
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;
23 protected:
24 virtual ~HandoffActiveURLObserverDelegate(){};
27 #endif // CHROME_BROWSER_UI_COCOA_HANDOFF_ACTIVE_URL_OBSERVER_DELEGATE_H_