OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | |
sky
2014/11/04 21:06:31
style guide says no more (c).
michaelbai
2014/11/04 21:51:27
Done.
| |
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_FAVICON_FAVICON_TAB_HELPER_OBSERVER_H_ | |
6 #define CHROME_BROWSER_FAVICON_FAVICON_TAB_HELPER_OBSERVER_H_ | |
7 | |
8 namespace gfx { | |
9 class Image; | |
10 } | |
11 | |
12 // An observer implemented by classes which are interested in envent in | |
13 // FaviconTabHelper. | |
14 class FaviconTabHelperObserver { | |
15 public: | |
16 // Called when favicon |image| is retrieved from either web site or history | |
17 // backend. | |
18 virtual void OnFaviconAvailable(const gfx::Image& image) = 0; | |
19 | |
20 protected: | |
21 virtual ~FaviconTabHelperObserver(); | |
sky
2014/11/04 21:06:31
You can inline the destructor and nuke the .cc.
michaelbai
2014/11/04 21:51:27
Done.
| |
22 }; | |
23 | |
24 #endif // CHROME_BROWSER_FAVICON_FAVICON_TAB_HELPER_OBSERVER_H_ | |
OLD | NEW |