OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2012 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_METRO_PINNED_STATE_OBSERVER_H_ |
| 6 #define CHROME_BROWSER_UI_METRO_PINNED_STATE_OBSERVER_H_ |
| 7 |
| 8 namespace content { |
| 9 class WebContents; |
| 10 } |
| 11 |
| 12 // Objects implement this interface to get notified about changes in the |
| 13 // metro pinned state. |
| 14 class MetroPinnedStateObserver { |
| 15 public: |
| 16 // Notification that the pinned state of the current URL changed. |
| 17 virtual void MetroPinnedStateChanged(content::WebContents* source, |
| 18 bool is_pinned) = 0; |
| 19 |
| 20 protected: |
| 21 virtual ~MetroPinnedStateObserver() {} |
| 22 }; |
| 23 |
| 24 #endif // CHROME_BROWSER_UI_METRO_PINNED_STATE_OBSERVER_H_ |
OLD | NEW |