mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-01-10 17:23:26 +01:00
fd5ededb27
- cefclient: Remove locking from ClientHandlerShared that was only required for the Windows implementation (issue #1500). - Add CefDeleteOnThread helper for deleting ref-counted types on a named CEF thread. git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@2001 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
28 lines
868 B
C++
28 lines
868 B
C++
// Copyright (c) 2015 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_TESTS_CEFCLIENT_CLIENT_HANDLER_STD_H_
|
|
#define CEF_TESTS_CEFCLIENT_CLIENT_HANDLER_STD_H_
|
|
|
|
#include "cefclient/client_handler_single.h"
|
|
|
|
namespace client {
|
|
|
|
// Client handler implementation for windowed browsers. There will only ever be
|
|
// one browser per handler instance.
|
|
class ClientHandlerStd : public ClientHandlerSingle {
|
|
public:
|
|
ClientHandlerStd(Delegate* delegate,
|
|
const std::string& startup_url);
|
|
|
|
private:
|
|
// Include the default reference counting implementation.
|
|
IMPLEMENT_REFCOUNTING(ClientHandlerStd);
|
|
DISALLOW_COPY_AND_ASSIGN(ClientHandlerStd);
|
|
};
|
|
|
|
} // namespace client
|
|
|
|
#endif // CEF_TESTS_CEFCLIENT_CLIENT_HANDLER_STD_H_
|