1 // Copyright (c) 2014 The Chromium Embedded Framework Authors. All rights 2 // reserved. Use of this source code is governed by a BSD-style license that 3 // can be found in the LICENSE file. 4 5 #ifndef CEF_LIBCEF_BROWSER_NAVIGATION_ENTRY_IMPL_H_ 6 #define CEF_LIBCEF_BROWSER_NAVIGATION_ENTRY_IMPL_H_ 7 #pragma once 8 9 #include "include/cef_navigation_entry.h" 10 #include "libcef/common/value_base.h" 11 12 namespace content { 13 class NavigationEntry; 14 } 15 16 // CefNavigationEntry implementation 17 class CefNavigationEntryImpl 18 : public CefValueBase<CefNavigationEntry, content::NavigationEntry> { 19 public: 20 explicit CefNavigationEntryImpl(content::NavigationEntry* value); 21 22 CefNavigationEntryImpl(const CefNavigationEntryImpl&) = delete; 23 CefNavigationEntryImpl& operator=(const CefNavigationEntryImpl&) = delete; 24 25 // CefNavigationEntry methods. 26 bool IsValid() override; 27 CefString GetURL() override; 28 CefString GetDisplayURL() override; 29 CefString GetOriginalURL() override; 30 CefString GetTitle() override; 31 TransitionType GetTransitionType() override; 32 bool HasPostData() override; 33 CefTime GetCompletionTime() override; 34 int GetHttpStatusCode() override; 35 CefRefPtr<CefSSLStatus> GetSSLStatus() override; 36 }; 37 38 #endif // CEF_LIBCEF_BROWSER_NAVIGATION_ENTRY_IMPL_H_ 39