#include "base/callback.h"
#include "base/strings/string16.h"
#include "content/common/content_export.h"
+#include "content/public/browser/invalidate_type.h"
#include "content/public/browser/navigation_type.h"
#include "content/public/common/media_stream_request.h"
#include "content/public/common/page_transition_types.h"
// Called to inform the delegate that the WebContents's navigation state
// changed. The |changed_flags| indicates the parts of the navigation state
- // that have been updated, and is any combination of the
- // |WebContents::InvalidateTypes| bits.
+ // that have been updated.
virtual void NavigationStateChanged(const WebContents* source,
- unsigned changed_flags) {}
+ InvalidateTypes changed_flags) {}
// Called to inform the delegate that the WebContent's visible SSL state (as
// defined by SSLStatus) changed.
const GURL& url,
bool user_gesture) {}
+ // Unregister the registered handler for URL requests with the given scheme.
+ // |user_gesture| is true if the registration is made in the context of a user
+ // gesture.
+ virtual void UnregisterProtocolHandler(WebContents* web_contents,
+ const std::string& protocol,
+ const GURL& url,
+ bool user_gesture) {}
+
// Result of string search in the page. This includes the number of matches
// found and the selection rect (in screen coordinates) for the string found.
// If |final_update| is false, it indicates that more results follow.