mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
- Add CefWebURLRequest implementation (issue #51).
- Default new CefRequest objects to the "GET" method. - Send URL and title change notifications for CefFrame::LoadString(). - Disable the RequestTest.HistoryNav test which requires WebKit patches. git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@184 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
33
libcef/response_impl.h
Normal file
33
libcef/response_impl.h
Normal file
@@ -0,0 +1,33 @@
|
||||
// Copyright (c) 2011 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 _RESPONSE_IMPL_H
|
||||
#define _RESPONSE_IMPL_H
|
||||
|
||||
#include "include/cef.h"
|
||||
|
||||
namespace WebKit {
|
||||
class WebURLResponse;
|
||||
};
|
||||
|
||||
// Implementation of CefResponse.
|
||||
class CefResponseImpl : public CefThreadSafeBase<CefResponse>
|
||||
{
|
||||
public:
|
||||
CefResponseImpl(const WebKit::WebURLResponse& response);
|
||||
~CefResponseImpl() {}
|
||||
|
||||
// CefResponse API
|
||||
virtual int GetStatus();
|
||||
virtual CefString GetStatusText();
|
||||
virtual CefString GetHeader(const CefString& name);
|
||||
virtual void GetHeaderMap(HeaderMap& headerMap);
|
||||
|
||||
protected:
|
||||
int status_code_;
|
||||
CefString status_text_;
|
||||
HeaderMap header_map_;
|
||||
};
|
||||
|
||||
#endif // _RESPONSE_IMPL_H
|
Reference in New Issue
Block a user