mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Make CEF compliant with Google/Chromium style (issue #473).
- Add a new check_style tool based on Google's cpplint that can be used to verify compliance of pending changes and specific files/directories. - Update existing CEF source code to be compliant with the style requirements. git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@463 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@ -34,10 +34,10 @@
|
||||
// tools directory for more information.
|
||||
//
|
||||
|
||||
#ifndef _CEF_TASK_H
|
||||
#define _CEF_TASK_H
|
||||
#ifndef CEF_INCLUDE_CEF_TASK_H_
|
||||
#define CEF_INCLUDE_CEF_TASK_H_
|
||||
|
||||
#include "cef_base.h"
|
||||
#include "include/cef_base.h"
|
||||
|
||||
class CefTask;
|
||||
|
||||
@ -69,7 +69,7 @@ bool CefPostTask(CefThreadId threadId, CefRefPtr<CefTask> task);
|
||||
///
|
||||
/*--cef()--*/
|
||||
bool CefPostDelayedTask(CefThreadId threadId, CefRefPtr<CefTask> task,
|
||||
long delay_ms);
|
||||
int64 delay_ms);
|
||||
|
||||
|
||||
///
|
||||
@ -77,9 +77,8 @@ bool CefPostDelayedTask(CefThreadId threadId, CefRefPtr<CefTask> task,
|
||||
// be called on any thread.
|
||||
///
|
||||
/*--cef(source=client)--*/
|
||||
class CefTask : public virtual CefBase
|
||||
{
|
||||
public:
|
||||
class CefTask : public virtual CefBase {
|
||||
public:
|
||||
///
|
||||
// Method that will be executed. |threadId| is the thread executing the call.
|
||||
///
|
||||
@ -87,4 +86,4 @@ public:
|
||||
virtual void Execute(CefThreadId threadId) =0;
|
||||
};
|
||||
|
||||
#endif // _CEF_TASK_H
|
||||
#endif // CEF_INCLUDE_CEF_TASK_H_
|
||||
|
Reference in New Issue
Block a user