[M40] Replace OVERRIDE by override within impl/.
[platform/framework/web/chromium-efl.git] / tizen_src / impl / content_browser_client_efl.h
index 3e8de01..f36cd12 100644 (file)
@@ -1,21 +1,6 @@
-/*
-   Copyright (C) 2014 Samsung Electronics
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public License
-    along with this library; see the file COPYING.LIB.  If not, write to
-    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-    Boston, MA 02110-1301, USA.
-*/
+// Copyright 2014 Samsung Electronics. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
 
 #ifndef CONTENT_BROWSER_CLIENT_EFL
 #define CONTENT_BROWSER_CLIENT_EFL
@@ -41,59 +26,56 @@ class ContentBrowserClientEfl: public ContentBrowserClient {
   ContentBrowserClientEfl();
 
   virtual BrowserMainParts* CreateBrowserMainParts(
-      const MainFunctionParams& parameters) OVERRIDE;
-
-  virtual WebContentsView* OverrideCreateWebContentsView(
-      WebContents* web_contents,
-      RenderViewHostDelegateView** delegate_view) OVERRIDE;
+      const MainFunctionParams& parameters) override;
 
   virtual net::URLRequestContextGetter* CreateRequestContext(
       BrowserContext* browser_context,
       ProtocolHandlerMap* protocol_handlers,
-      URLRequestInterceptorScopedVector request_interceptors) OVERRIDE;
+      URLRequestInterceptorScopedVector request_interceptors) override;
 
-  virtual AccessTokenStore* CreateAccessTokenStore() OVERRIDE;
+  virtual AccessTokenStore* CreateAccessTokenStore() override;
 #if defined(OS_TIZEN)
-  virtual LocationProvider* OverrideSystemLocationProvider() OVERRIDE;
+  virtual LocationProvider* OverrideSystemLocationProvider() override;
 #endif
 
   // Allows the embedder to pass extra command line flags.
   // switches::kProcessType will already be set at this point.
   virtual void AppendExtraCommandLineSwitches(base::CommandLine* command_line,
-                                              int child_process_id) OVERRIDE;
+                                              int child_process_id) override;
 
-  virtual void ResourceDispatcherHostCreated() OVERRIDE;
+  virtual void ResourceDispatcherHostCreated() override;
 
   virtual void AllowCertificateError(int render_process_id,
                                      int render_frame_id,
                                      int cert_error,
                                      const net::SSLInfo& ssl_info,
                                      const GURL& request_url,
-                                     ResourceType::Type resource_type,
+                                     ResourceType resource_type,
                                      bool overridable,
                                      bool strict_enforcement,
+                                     bool expired_previous_decision,
                                      const base::Callback<void(bool)>& callback,
-                                     CertificateRequestResultType* result) OVERRIDE;
+                                     CertificateRequestResultType* result) override;
 
   // Asks permission to show desktop notifications.
   virtual void RequestDesktopNotificationPermission(const GURL& source_origin,
-                                                    int callback_context,
-                                                    int render_process_id,
-                                                    int render_view_id) OVERRIDE;
+      content::RenderFrameHost* render_frame_host,
+      const base::Callback<void(blink::WebNotificationPermission)>& callback) override;
 
   // Show a desktop notification.  If |worker| is true, the request came from an
   // HTML5 web worker, otherwise, it came from a renderer.
-  virtual void ShowDesktopNotification(const ShowDesktopNotificationHostMsgParams& params,
-                                       int render_process_id,
-                                       int render_view_id,
-                                       bool worker) OVERRIDE;
+  virtual void ShowDesktopNotification(
+      const content::ShowDesktopNotificationHostMsgParams& params,
+      content::RenderFrameHost* render_frame_host,
+      scoped_ptr<DesktopNotificationDelegate> delegate,
+      base::Closure* cancel_callback) override;
 
   virtual bool AllowGetCookie(const GURL& url,
                               const GURL& first_party,
                               const net::CookieList& cookie_list,
                               content::ResourceContext* context,
                               int render_process_id,
-                              int render_frame_id) OVERRIDE;
+                              int render_frame_id) override;
 
   virtual bool AllowSetCookie(const GURL& url,
                               const GURL& first_party,
@@ -101,9 +83,11 @@ class ContentBrowserClientEfl: public ContentBrowserClient {
                               content::ResourceContext* context,
                               int render_process_id,
                               int render_frame_id,
-                              net::CookieOptions* options) OVERRIDE;
+                              net::CookieOptions* options) override;
+
+  virtual void RenderProcessWillLaunch(content::RenderProcessHost* host) override;
 
-  virtual void RenderProcessWillLaunch(content::RenderProcessHost* host) OVERRIDE;
+  content::DevToolsManagerDelegate* GetDevToolsManagerDelegate() override;
 
  private:
   scoped_ptr<ResourceDispatcherHostDelegateEfl> resource_disp_host_del_efl_;