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:
Marshall Greenblatt
2012-01-09 23:46:23 +00:00
parent 9cc61f448b
commit 1073577d03
558 changed files with 9002 additions and 10977 deletions

View File

@@ -2,6 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "libcef/browser_devtools_client.h"
#include "libcef/browser_devtools_agent.h"
#include "libcef/browser_devtools_callargs.h"
#include "libcef/browser_impl.h"
#include "libcef/cef_context.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebDevToolsAgent.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebDevToolsFrontend.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h"
@@ -9,15 +15,9 @@
#include "third_party/WebKit/Source/WebKit/chromium/public/WebScriptSource.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h"
#undef LOG
#include "browser_devtools_agent.h"
#include "browser_devtools_callargs.h"
#include "browser_devtools_client.h"
#include "browser_impl.h"
#include "cef_context.h"
#include "base/bind.h"
#include "base/command_line.h"
#include "base/logging.h"
#include "base/message_loop.h"
using WebKit::WebDevToolsAgent;
@@ -27,7 +27,7 @@ using WebKit::WebString;
using WebKit::WebView;
BrowserDevToolsClient::BrowserDevToolsClient(CefBrowserImpl* browser,
BrowserDevToolsAgent *agent)
BrowserDevToolsAgent* agent)
: ALLOW_THIS_IN_INITIALIZER_LIST(weak_factory_(this)),
browser_(browser),
dev_tools_agent_(agent),