2014-11-24 20:23:26 +01:00
|
|
|
// Copyright (c) 2014 The Chromium Embedded Framework Authors. All rights
|
|
|
|
// reserved. Use of this source code is governed by a BSD-style license that
|
|
|
|
// can be found in the LICENSE file.
|
|
|
|
|
|
|
|
#ifndef CEF_LIBCEF_BROWSER_NAVIGATION_ENTRY_IMPL_H_
|
|
|
|
#define CEF_LIBCEF_BROWSER_NAVIGATION_ENTRY_IMPL_H_
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "include/cef_navigation_entry.h"
|
|
|
|
#include "libcef/common/value_base.h"
|
|
|
|
|
|
|
|
namespace content {
|
|
|
|
class NavigationEntry;
|
|
|
|
}
|
|
|
|
|
2015-06-06 00:06:48 +02:00
|
|
|
// CefNavigationEntry implementation
|
2014-11-24 20:23:26 +01:00
|
|
|
class CefNavigationEntryImpl
|
|
|
|
: public CefValueBase<CefNavigationEntry, content::NavigationEntry> {
|
|
|
|
public:
|
|
|
|
explicit CefNavigationEntryImpl(content::NavigationEntry* value);
|
|
|
|
|
2021-12-06 21:40:25 +01:00
|
|
|
CefNavigationEntryImpl(const CefNavigationEntryImpl&) = delete;
|
|
|
|
CefNavigationEntryImpl& operator=(const CefNavigationEntryImpl&) = delete;
|
|
|
|
|
2014-11-24 20:23:26 +01:00
|
|
|
// CefNavigationEntry methods.
|
|
|
|
bool IsValid() override;
|
|
|
|
CefString GetURL() override;
|
|
|
|
CefString GetDisplayURL() override;
|
|
|
|
CefString GetOriginalURL() override;
|
|
|
|
CefString GetTitle() override;
|
|
|
|
TransitionType GetTransitionType() override;
|
|
|
|
bool HasPostData() override;
|
2022-05-31 22:28:43 +02:00
|
|
|
CefBaseTime GetCompletionTime() override;
|
2014-11-24 20:23:26 +01:00
|
|
|
int GetHttpStatusCode() override;
|
2016-09-02 12:01:33 +02:00
|
|
|
CefRefPtr<CefSSLStatus> GetSSLStatus() override;
|
2014-11-24 20:23:26 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // CEF_LIBCEF_BROWSER_NAVIGATION_ENTRY_IMPL_H_
|