[chromium-style] override / virtual warnings
This commit is contained in:
parent
a635f078c6
commit
e6695cf2ec
62 changed files with 106 additions and 106 deletions
|
@ -23,7 +23,7 @@ class BrowserClient : public content::ContentBrowserClient {
|
|||
static void SetApplicationLocale(const std::string& locale);
|
||||
|
||||
BrowserClient();
|
||||
~BrowserClient();
|
||||
~BrowserClient() override;
|
||||
|
||||
BrowserMainParts* browser_main_parts() { return browser_main_parts_; }
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ namespace brightray {
|
|||
class BrowserMainParts : public content::BrowserMainParts {
|
||||
public:
|
||||
BrowserMainParts();
|
||||
~BrowserMainParts();
|
||||
~BrowserMainParts() override;
|
||||
|
||||
IOThread* io_thread() const { return io_thread_.get(); }
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ class DevToolsManagerDelegate : public content::DevToolsManagerDelegate {
|
|||
static void StartHttpHandler();
|
||||
|
||||
DevToolsManagerDelegate();
|
||||
virtual ~DevToolsManagerDelegate();
|
||||
~DevToolsManagerDelegate() override;
|
||||
|
||||
// DevToolsManagerDelegate implementation.
|
||||
void Inspect(content::DevToolsAgentHost* agent_host) override;
|
||||
|
|
|
@ -40,7 +40,7 @@ class InspectableWebContentsImpl
|
|||
static void RegisterPrefs(PrefRegistrySimple* pref_registry);
|
||||
|
||||
explicit InspectableWebContentsImpl(content::WebContents*);
|
||||
virtual ~InspectableWebContentsImpl();
|
||||
~InspectableWebContentsImpl() override;
|
||||
|
||||
InspectableWebContentsView* GetView() const override;
|
||||
content::WebContents* GetWebContents() const override;
|
||||
|
|
|
@ -15,7 +15,7 @@ class InspectableWebContentsViewMac : public InspectableWebContentsView {
|
|||
public:
|
||||
explicit InspectableWebContentsViewMac(
|
||||
InspectableWebContentsImpl* inspectable_web_contents_impl);
|
||||
virtual ~InspectableWebContentsViewMac();
|
||||
~InspectableWebContentsViewMac() override;
|
||||
|
||||
gfx::NativeView GetNativeView() const override;
|
||||
void ShowDevTools() override;
|
||||
|
|
|
@ -18,7 +18,7 @@ class LibnotifyNotification : public Notification {
|
|||
public:
|
||||
LibnotifyNotification(NotificationDelegate* delegate,
|
||||
NotificationPresenter* presenter);
|
||||
virtual ~LibnotifyNotification();
|
||||
~LibnotifyNotification() override;
|
||||
|
||||
static bool Initialize();
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ namespace brightray {
|
|||
class NotificationPresenterLinux : public NotificationPresenter {
|
||||
public:
|
||||
NotificationPresenterLinux();
|
||||
~NotificationPresenterLinux();
|
||||
~NotificationPresenterLinux() override;
|
||||
|
||||
private:
|
||||
Notification* CreateNotificationObject(
|
||||
|
|
|
@ -20,7 +20,7 @@ class CocoaNotification : public Notification {
|
|||
public:
|
||||
CocoaNotification(NotificationDelegate* delegate,
|
||||
NotificationPresenter* presenter);
|
||||
~CocoaNotification();
|
||||
~CocoaNotification() override;
|
||||
|
||||
// Notification:
|
||||
void Show(const NotificationOptions& options) override;
|
||||
|
|
|
@ -19,7 +19,7 @@ class NotificationPresenterMac : public NotificationPresenter {
|
|||
CocoaNotification* GetNotification(NSUserNotification* notif);
|
||||
|
||||
NotificationPresenterMac();
|
||||
~NotificationPresenterMac();
|
||||
~NotificationPresenterMac() override;
|
||||
|
||||
private:
|
||||
Notification* CreateNotificationObject(
|
||||
|
|
|
@ -70,7 +70,7 @@ class MediaCaptureDevicesDispatcher : public content::MediaObserver {
|
|||
friend struct base::DefaultSingletonTraits<MediaCaptureDevicesDispatcher>;
|
||||
|
||||
MediaCaptureDevicesDispatcher();
|
||||
virtual ~MediaCaptureDevicesDispatcher();
|
||||
~MediaCaptureDevicesDispatcher() override;
|
||||
|
||||
// Flag used by unittests to disable device enumeration.
|
||||
bool is_device_enumeration_disabled_;
|
||||
|
|
|
@ -15,7 +15,7 @@ namespace brightray {
|
|||
class NetworkDelegate : public net::NetworkDelegate {
|
||||
public:
|
||||
NetworkDelegate();
|
||||
virtual ~NetworkDelegate();
|
||||
~NetworkDelegate() override;
|
||||
|
||||
protected:
|
||||
int OnBeforeURLRequest(net::URLRequest* request,
|
||||
|
|
|
@ -73,7 +73,7 @@ class URLRequestContextGetter : public net::URLRequestContextGetter {
|
|||
scoped_refptr<base::SingleThreadTaskRunner> io_task_runner,
|
||||
content::ProtocolHandlerMap* protocol_handlers,
|
||||
content::URLRequestInterceptorScopedVector protocol_interceptors);
|
||||
virtual ~URLRequestContextGetter();
|
||||
~URLRequestContextGetter() override;
|
||||
|
||||
// net::CookieStore::CookieChangedCallback implementation.
|
||||
void OnCookieChanged(const net::CanonicalCookie& cookie,
|
||||
|
|
|
@ -30,7 +30,7 @@ class DevToolsWindowDelegate : public views::ClientView,
|
|||
if (shell->GetDelegate())
|
||||
icon_ = shell->GetDelegate()->GetDevToolsWindowIcon();
|
||||
}
|
||||
virtual ~DevToolsWindowDelegate() {}
|
||||
~DevToolsWindowDelegate() override {}
|
||||
|
||||
// views::WidgetDelegate:
|
||||
void DeleteDelegate() override { delete this; }
|
||||
|
|
|
@ -21,7 +21,7 @@ class InspectableWebContentsViewViews : public InspectableWebContentsView,
|
|||
public:
|
||||
explicit InspectableWebContentsViewViews(
|
||||
InspectableWebContentsImpl* inspectable_web_contents_impl);
|
||||
~InspectableWebContentsViewViews();
|
||||
~InspectableWebContentsViewViews() override;
|
||||
|
||||
// InspectableWebContentsView:
|
||||
views::View* GetView() override;
|
||||
|
|
|
@ -15,7 +15,7 @@ namespace brightray {
|
|||
class ViewsDelegate : public views::ViewsDelegate {
|
||||
public:
|
||||
ViewsDelegate();
|
||||
virtual ~ViewsDelegate();
|
||||
~ViewsDelegate() override;
|
||||
|
||||
protected:
|
||||
// views::ViewsDelegate:
|
||||
|
|
|
@ -23,7 +23,7 @@ class WebUIControllerFactory : public content::WebUIControllerFactory {
|
|||
static WebUIControllerFactory* GetInstance();
|
||||
|
||||
WebUIControllerFactory();
|
||||
virtual ~WebUIControllerFactory();
|
||||
~WebUIControllerFactory() override;
|
||||
|
||||
content::WebUI::TypeID GetWebUIType(content::BrowserContext* browser_context,
|
||||
const GURL& url) const override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue