Fix cpplint errors in inspectable_web_contents_impl.h
This commit is contained in:
parent
0805b414e9
commit
877a1f0371
1 changed files with 20 additions and 13 deletions
|
@ -8,6 +8,8 @@
|
|||
|
||||
#include "browser/inspectable_web_contents.h"
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "content/public/browser/devtools_frontend_host_delegate.h"
|
||||
#include "content/public/browser/web_contents_delegate.h"
|
||||
#include "content/public/browser/web_contents_observer.h"
|
||||
|
@ -29,9 +31,9 @@ class InspectableWebContentsImpl :
|
|||
content::WebContentsObserver,
|
||||
content::WebContentsDelegate {
|
||||
public:
|
||||
static void RegisterPrefs(PrefRegistrySimple*);
|
||||
static void RegisterPrefs(PrefRegistrySimple* pref_registry);
|
||||
|
||||
InspectableWebContentsImpl(content::WebContents*);
|
||||
explicit InspectableWebContentsImpl(content::WebContents*);
|
||||
virtual ~InspectableWebContentsImpl();
|
||||
|
||||
virtual InspectableWebContentsView* GetView() const OVERRIDE;
|
||||
|
@ -39,7 +41,9 @@ public:
|
|||
|
||||
virtual void ShowDevTools() OVERRIDE;
|
||||
|
||||
content::WebContents* devtools_web_contents() { return devtools_web_contents_.get(); }
|
||||
content::WebContents* devtools_web_contents() {
|
||||
return devtools_web_contents_.get();
|
||||
}
|
||||
|
||||
private:
|
||||
void UpdateFrontendDockSide();
|
||||
|
@ -60,7 +64,8 @@ private:
|
|||
virtual void RequestFileSystems() OVERRIDE;
|
||||
virtual void AddFileSystem() OVERRIDE;
|
||||
virtual void RemoveFileSystem(const std::string& file_system_path) OVERRIDE;
|
||||
virtual void IndexPath(int request_id, const std::string& file_system_path) OVERRIDE;
|
||||
virtual void IndexPath(int request_id,
|
||||
const std::string& file_system_path) OVERRIDE;
|
||||
virtual void StopIndexing(int request_id) OVERRIDE;
|
||||
virtual void SearchInPath(int request_id,
|
||||
const std::string& file_system_path,
|
||||
|
@ -69,7 +74,8 @@ private:
|
|||
|
||||
// content::WebContentsObserver
|
||||
|
||||
virtual void AboutToNavigateRenderView(content::RenderViewHost* render_view_host) OVERRIDE;
|
||||
virtual void AboutToNavigateRenderView(
|
||||
content::RenderViewHost* render_view_host) OVERRIDE;
|
||||
virtual void DidFinishLoad(int64 frame_id,
|
||||
const GURL& validated_url,
|
||||
bool is_main_frame,
|
||||
|
@ -78,7 +84,8 @@ private:
|
|||
|
||||
// content::WebContentsDelegate
|
||||
|
||||
virtual void HandleKeyboardEvent(content::WebContents*, const content::NativeWebKeyboardEvent&) OVERRIDE;
|
||||
virtual void HandleKeyboardEvent(
|
||||
content::WebContents*, const content::NativeWebKeyboardEvent&) OVERRIDE;
|
||||
|
||||
scoped_ptr<content::WebContents> web_contents_;
|
||||
scoped_ptr<content::DevToolsClientHost> frontend_host_;
|
||||
|
|
Loading…
Reference in a new issue