Update C++ headers

This commit is contained in:
Corey Johnson 2012-08-30 09:11:01 -07:00
parent b4f617c657
commit 9c7c95f413
4 changed files with 12 additions and 15 deletions

View File

@ -1,5 +1,5 @@
#ifndef CEF_TESTS_CEFCLIENT_CLIENT_APP_H_
#define CEF_TESTS_CEFCLIENT_CLIENT_APP_H_
#ifndef ATOM_CEF_APP_H_
#define ATOM_CEF_APP_H_
#pragma once
#include "include/cef_app.h"
@ -11,7 +11,6 @@
class AtomCefApp : public CefApp {
#ifdef PROCESS_HELPER_APP
// CefApp methods
virtual CefRefPtr<CefRenderProcessHandler> GetRenderProcessHandler() OVERRIDE {
return CefRefPtr<CefRenderProcessHandler>(new AtomCefRenderProcessHandler);
}
@ -20,4 +19,4 @@ class AtomCefApp : public CefApp {
IMPLEMENT_REFCOUNTING(AtomCefApp);
};
#endif // CEF_TESTS_CEFCLIENT_CLIENT_APP_H_
#endif

View File

@ -1,7 +1,3 @@
// 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.
#include <sstream>
#include <iostream>
#include <assert.h>

View File

@ -1,9 +1,5 @@
// 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 CEF_TESTS_CEFCLIENT_CLIENT_HANDLER_H_
#define CEF_TESTS_CEFCLIENT_CLIENT_HANDLER_H_
#ifndef ATOM_CEF_CLIENT_H_
#define ATOM_CEF_CLIENT_H_
#pragma once
#include <set>
@ -114,4 +110,4 @@ class AtomCefClient : public CefClient,
IMPLEMENT_LOCKING(AtomCefClient);
};
#endif // CEF_TESTS_CEFCLIENT_CLIENT_HANDLER_H_
#endif

View File

@ -1,5 +1,11 @@
#ifndef ATOM_CEF_CLIENT_H_
#define ATOM_CEF_CLIENT_H_
#pragma once
#include "include/cef_v8.h"
// IPC data translation functions: translate a V8 array to a List, and vice versa
void TranslateList(CefRefPtr<CefV8Value> source, CefRefPtr<CefListValue> target);
void TranslateList(CefRefPtr<CefListValue> source, CefRefPtr<CefV8Value> target);
#endif