2 * Copyright (c) 2015 Samsung Electronics Co., Ltd.
4 * Licensed under the Apache License, Version 2.0 (the License);
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an AS IS BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 #ifndef URLHISTORYLIST_H_
18 #define URLHISTORYLIST_H_
23 #include "services/HistoryService/HistoryItem.h"
27 namespace tizen_browser
32 class WidgetListManager;
33 typedef shared_ptr<WidgetListManager> WidgetListManagerPtr;
40 * Manages list of url matches (URL from history). Manages top layout, creates
41 * widget displaying url items.
47 virtual ~UrlHistoryList();
49 void createLayout(Evas_Object* parentLayout);
50 Evas_Object *getLayout();
53 * \brief entered url is edited (edited before acceptation)
55 void onURLEntryEdit(const string& editedUrl,
56 shared_ptr<services::HistoryItemVector> matchedEntries);
61 Evas_Object* m_layout;
64 services::WidgetListManagerPtr m_widgetListManager;
68 } /* namespace base_ui */
69 } /* namespace tizen_browser */
71 #endif /* URLHISTORYLIST_H_ */