Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1275)

Side by Side Diff: android_webview/browser/aw_javascript_dialog_manager.h

Issue 623833003: replace OVERRIDE and FINAL with override and final in android_webview/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « android_webview/browser/aw_gl_surface.h ('k') | android_webview/browser/aw_login_delegate.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ANDROID_WEBVIEW_BROWSER_AW_JAVASCRIPT_DIALOG_MANAGER_H_ 5 #ifndef ANDROID_WEBVIEW_BROWSER_AW_JAVASCRIPT_DIALOG_MANAGER_H_
6 #define ANDROID_WEBVIEW_BROWSER_AW_JAVASCRIPT_DIALOG_MANAGER_H_ 6 #define ANDROID_WEBVIEW_BROWSER_AW_JAVASCRIPT_DIALOG_MANAGER_H_
7 7
8 #include "content/public/browser/javascript_dialog_manager.h" 8 #include "content/public/browser/javascript_dialog_manager.h"
9 9
10 namespace android_webview { 10 namespace android_webview {
11 11
12 class AwJavaScriptDialogManager : public content::JavaScriptDialogManager { 12 class AwJavaScriptDialogManager : public content::JavaScriptDialogManager {
13 public: 13 public:
14 explicit AwJavaScriptDialogManager(); 14 explicit AwJavaScriptDialogManager();
15 virtual ~AwJavaScriptDialogManager(); 15 virtual ~AwJavaScriptDialogManager();
16 16
17 // Overridden from content::JavaScriptDialogManager: 17 // Overridden from content::JavaScriptDialogManager:
18 virtual void RunJavaScriptDialog( 18 virtual void RunJavaScriptDialog(
19 content::WebContents* web_contents, 19 content::WebContents* web_contents,
20 const GURL& origin_url, 20 const GURL& origin_url,
21 const std::string& accept_lang, 21 const std::string& accept_lang,
22 content::JavaScriptMessageType message_type, 22 content::JavaScriptMessageType message_type,
23 const base::string16& message_text, 23 const base::string16& message_text,
24 const base::string16& default_prompt_text, 24 const base::string16& default_prompt_text,
25 const DialogClosedCallback& callback, 25 const DialogClosedCallback& callback,
26 bool* did_suppress_message) OVERRIDE; 26 bool* did_suppress_message) override;
27 virtual void RunBeforeUnloadDialog( 27 virtual void RunBeforeUnloadDialog(
28 content::WebContents* web_contents, 28 content::WebContents* web_contents,
29 const base::string16& message_text, 29 const base::string16& message_text,
30 bool is_reload, 30 bool is_reload,
31 const DialogClosedCallback& callback) OVERRIDE; 31 const DialogClosedCallback& callback) override;
32 virtual void CancelActiveAndPendingDialogs( 32 virtual void CancelActiveAndPendingDialogs(
33 content::WebContents* web_contents) OVERRIDE; 33 content::WebContents* web_contents) override;
34 virtual void WebContentsDestroyed( 34 virtual void WebContentsDestroyed(
35 content::WebContents* web_contents) OVERRIDE; 35 content::WebContents* web_contents) override;
36 36
37 private: 37 private:
38 DISALLOW_COPY_AND_ASSIGN(AwJavaScriptDialogManager); 38 DISALLOW_COPY_AND_ASSIGN(AwJavaScriptDialogManager);
39 }; 39 };
40 40
41 } // namespace android_webview 41 } // namespace android_webview
42 42
43 #endif // ANDROID_WEBVIEW_BROWSER_AW_JAVASCRIPT_DIALOG_MANAGER_H_ 43 #endif // ANDROID_WEBVIEW_BROWSER_AW_JAVASCRIPT_DIALOG_MANAGER_H_
OLDNEW
« no previous file with comments | « android_webview/browser/aw_gl_surface.h ('k') | android_webview/browser/aw_login_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698