Fix cpplint errors in browser_client.h
This commit is contained in:
parent
80dab9d862
commit
74661c342f
1 changed files with 15 additions and 11 deletions
|
@ -14,7 +14,7 @@ class BrowserMainParts;
|
||||||
class NotificationPresenter;
|
class NotificationPresenter;
|
||||||
|
|
||||||
class BrowserClient : public content::ContentBrowserClient {
|
class BrowserClient : public content::ContentBrowserClient {
|
||||||
public:
|
public:
|
||||||
static BrowserClient* Get();
|
static BrowserClient* Get();
|
||||||
|
|
||||||
BrowserClient();
|
BrowserClient();
|
||||||
|
@ -24,17 +24,21 @@ public:
|
||||||
BrowserMainParts* browser_main_parts() { return browser_main_parts_; }
|
BrowserMainParts* browser_main_parts() { return browser_main_parts_; }
|
||||||
NotificationPresenter* notification_presenter();
|
NotificationPresenter* notification_presenter();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
// Subclasses should override this to provide their own BrowserMainParts implementation. The
|
// Subclasses should override this to provide their own BrowserMainParts
|
||||||
// lifetime of the returned instance is managed by the caller.
|
// implementation. The lifetime of the returned instance is managed by the
|
||||||
virtual BrowserMainParts* OverrideCreateBrowserMainParts(const content::MainFunctionParams&);
|
// caller.
|
||||||
|
virtual BrowserMainParts* OverrideCreateBrowserMainParts(
|
||||||
|
const content::MainFunctionParams&);
|
||||||
|
|
||||||
// Subclasses that override this (e.g., to provide their own protocol handlers) should call this
|
// Subclasses that override this (e.g., to provide their own protocol
|
||||||
// implementation after doing their own work.
|
// handlers) should call this implementation after doing their own work.
|
||||||
virtual net::URLRequestContextGetter* CreateRequestContext(content::BrowserContext*, content::ProtocolHandlerMap*) OVERRIDE;
|
virtual net::URLRequestContextGetter* CreateRequestContext(
|
||||||
|
content::BrowserContext*, content::ProtocolHandlerMap*) OVERRIDE;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
virtual content::BrowserMainParts* CreateBrowserMainParts(const content::MainFunctionParams&) OVERRIDE;
|
virtual content::BrowserMainParts* CreateBrowserMainParts(
|
||||||
|
const content::MainFunctionParams&) OVERRIDE;
|
||||||
virtual void ShowDesktopNotification(
|
virtual void ShowDesktopNotification(
|
||||||
const content::ShowDesktopNotificationHostMsgParams&,
|
const content::ShowDesktopNotificationHostMsgParams&,
|
||||||
int render_process_id,
|
int render_process_id,
|
||||||
|
@ -52,6 +56,6 @@ private:
|
||||||
DISALLOW_COPY_AND_ASSIGN(BrowserClient);
|
DISALLOW_COPY_AND_ASSIGN(BrowserClient);
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
} // namespace brightray
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue