1 // Copyright 2014 Samsung Electronics. 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 ewk_favicon_database_private_h
6 #define ewk_favicon_database_private_h
8 #include "eweb_context.h"
12 struct EwkFaviconDatabase {
14 explicit EwkFaviconDatabase(EWebContext* eweb_context)
15 : eweb_context_(eweb_context) {}
17 Evas_Object* GetIcon(const char* page_url, Evas* evas) const {
18 return eweb_context_->AddFaviconObject(page_url, evas);
22 EWebContext* eweb_context_;
24 #endif // ewk_favicon_database_private_h