diff options
Diffstat (limited to 'libcef/browser/navigation_entry_impl.h')
-rw-r--r-- | libcef/browser/navigation_entry_impl.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/libcef/browser/navigation_entry_impl.h b/libcef/browser/navigation_entry_impl.h new file mode 100644 index 00000000..98e89f39 --- /dev/null +++ b/libcef/browser/navigation_entry_impl.h @@ -0,0 +1,38 @@ +// 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; +} + +// CefNavigationEntry implementation +class CefNavigationEntryImpl + : public CefValueBase<CefNavigationEntry, content::NavigationEntry> { + public: + explicit CefNavigationEntryImpl(content::NavigationEntry* value); + + CefNavigationEntryImpl(const CefNavigationEntryImpl&) = delete; + CefNavigationEntryImpl& operator=(const CefNavigationEntryImpl&) = delete; + + // CefNavigationEntry methods. + bool IsValid() override; + CefString GetURL() override; + CefString GetDisplayURL() override; + CefString GetOriginalURL() override; + CefString GetTitle() override; + TransitionType GetTransitionType() override; + bool HasPostData() override; + CefBaseTime GetCompletionTime() override; + int GetHttpStatusCode() override; + CefRefPtr<CefSSLStatus> GetSSLStatus() override; +}; + +#endif // CEF_LIBCEF_BROWSER_NAVIGATION_ENTRY_IMPL_H_ |