Does CEF3 provides API for Bookmark (Favorite) implement?

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Does CEF3 provides API for Bookmark (Favorite) implement?

Postby georgechen » Mon Apr 16, 2012 8:42 am

I would like to implement Bookmark (My Favorite) function in my CEF based browser.
Does CEF3 provides API for Bookmark (Favorite) implementation?
If I should make it from scratch, where is the good point to start ?
georgechen
Mentor
 
Posts: 50
Joined: Mon Feb 13, 2012 4:32 pm

Re: Does CEF3 provides API for Bookmark (Favorite) implement?

Postby magreenblatt » Mon Apr 16, 2012 8:57 am

Bookmarks are a user interface feature that will not be provided by CEF. You can implement them in your application using whatever approach you like.
magreenblatt
Site Admin
 
Posts: 10832
Joined: Fri May 29, 2009 6:57 pm

Re: Does CEF3 provides API for Bookmark (Favorite) implement

Postby ryadav03 » Thu May 13, 2021 8:11 am

Hello CEF community
I have a question for my CEF based browser , is it possbile to implement Bookmark feature in it ?
ryadav03
Newbie
 
Posts: 3
Joined: Thu May 13, 2021 4:31 am

Re: Does CEF3 provides API for Bookmark (Favorite) implement

Postby HarmlessDave » Thu May 13, 2021 11:08 am

ryadav03 wrote:Hello CEF community
I have a question for my CEF based browser , is it possbile to implement Bookmark feature in it ?


Yes, if you do it all yourself. You can get the current page URL by tracking navigation events or from { CefRefPtr<CefFrame> frame = browser->GetMainFrame(); std::string strURL = frame->GetURL(); } . You'll need to create the user interface and persistent storage for the lists of bookmarks.
HarmlessDave
Expert
 
Posts: 308
Joined: Fri Jul 11, 2014 2:02 pm

Re: Does CEF3 provides API for Bookmark (Favorite) implement

Postby ryadav03 » Thu May 13, 2021 11:36 pm

Thanks for your reply @HarmlessDave.
Some more queries we have related to bookmark feature @magreenblatt:
1. If we raise a PR related to bookmark feature, will it be accepted in CEF forum ?
2. We can introduce a command line argument option to toggle between feature,
bookmark feature will work only with below command line option --enable-bookmark ?
ryadav03
Newbie
 
Posts: 3
Joined: Thu May 13, 2021 4:31 am

Re: Does CEF3 provides API for Bookmark (Favorite) implement

Postby magreenblatt » Fri May 14, 2021 8:55 am

No, it would not be accepted. Note that the new/experimental Chrome runtime mode does support bookmarks. See https://bitbucket.org/chromiumembedded/ ... -callbacks
magreenblatt
Site Admin
 
Posts: 10832
Joined: Fri May 29, 2009 6:57 pm

Re: Does CEF3 provides API for Bookmark (Favorite) implement

Postby ryadav03 » Fri May 14, 2021 11:57 am

Thanks @magreenblatt
ryadav03
Newbie
 
Posts: 3
Joined: Thu May 13, 2021 4:31 am


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 18 guests