mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-01 03:47:05 +01:00
39 lines
1.1 KiB
C
39 lines
1.1 KiB
C
|
// 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;
|
||
|
}
|
||
|
|
||
|
// CefDownloadItem implementation
|
||
|
class CefNavigationEntryImpl
|
||
|
: public CefValueBase<CefNavigationEntry, content::NavigationEntry> {
|
||
|
public:
|
||
|
explicit CefNavigationEntryImpl(content::NavigationEntry* value);
|
||
|
|
||
|
// CefNavigationEntry methods.
|
||
|
bool IsValid() override;
|
||
|
CefString GetURL() override;
|
||
|
CefString GetDisplayURL() override;
|
||
|
CefString GetOriginalURL() override;
|
||
|
CefString GetTitle() override;
|
||
|
TransitionType GetTransitionType() override;
|
||
|
bool HasPostData() override;
|
||
|
CefString GetFrameName() override;
|
||
|
CefTime GetCompletionTime() override;
|
||
|
int GetHttpStatusCode() override;
|
||
|
|
||
|
private:
|
||
|
DISALLOW_COPY_AND_ASSIGN(CefNavigationEntryImpl);
|
||
|
};
|
||
|
|
||
|
#endif // CEF_LIBCEF_BROWSER_NAVIGATION_ENTRY_IMPL_H_
|