Limit number of opened tabs in brower
[profile/tv/apps/web/browser.git] / services / SimpleUI / SimpleUI.h
index 5e87ddd..74c425a 100644 (file)
@@ -113,6 +113,7 @@ private:
     void tabClicked(const tizen_browser::basic_webengine::TabId& tabId);
     void closeTabsClicked(const tizen_browser::basic_webengine::TabId& tabId);
     void tabCreated();
+    bool checkIfCreate();
     void tabClosed(const tizen_browser::basic_webengine::TabId& id);
 
     std::vector<std::shared_ptr<tizen_browser::services::BookmarkItem> > getBookmarks(int folder_id = -1);
@@ -213,8 +214,8 @@ private:
     void settingsDeleteSelectedData(const std::string& str);
     void settingsResetMostVisited();
     void settingsResetBrowser();
-    void onDeleteSelectedDataButton(PopupButtons button, std::shared_ptr<PopupData> popupData);
-    void onDeleteMostVisitedButton(PopupButtons button, std::shared_ptr<PopupData> popupData);
+    void onDeleteSelectedDataButton(const std::string &dataText);
+    void onDeleteMostVisitedButton(std::shared_ptr<PopupData> popupData);
     void onResetBrowserButton(PopupButtons button, std::shared_ptr<PopupData> popupData);
     void tabLimitPopupButtonClicked(PopupButtons button, std::shared_ptr< PopupData > /*popupData*/);
     int tabsCount();