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

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

Issue 2639893002: Clean up unneeded JavaScript dialog parameter. (Closed)
Patch Set: rebase Created 3 years, 11 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
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 #include "android_webview/browser/aw_javascript_dialog_manager.h" 5 #include "android_webview/browser/aw_javascript_dialog_manager.h"
6 6
7 #include "android_webview/browser/aw_contents_client_bridge_base.h" 7 #include "android_webview/browser/aw_contents_client_bridge_base.h"
8 #include "content/public/browser/javascript_dialog_manager.h" 8 #include "content/public/browser/javascript_dialog_manager.h"
9 #include "content/public/browser/web_contents.h" 9 #include "content/public/browser/web_contents.h"
10 10
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 callback.Run(false, base::string16()); 46 callback.Run(false, base::string16());
47 return; 47 return;
48 } 48 }
49 49
50 bridge->RunBeforeUnloadDialog(web_contents->GetURL(), 50 bridge->RunBeforeUnloadDialog(web_contents->GetURL(),
51 callback); 51 callback);
52 } 52 }
53 53
54 void AwJavaScriptDialogManager::CancelDialogs( 54 void AwJavaScriptDialogManager::CancelDialogs(
55 content::WebContents* web_contents, 55 content::WebContents* web_contents,
56 bool suppress_callbacks,
57 bool reset_state) {} 56 bool reset_state) {}
58 57
59 } // namespace android_webview 58 } // namespace android_webview
OLDNEW
« no previous file with comments | « android_webview/browser/aw_javascript_dialog_manager.h ('k') | chrome/browser/extensions/content_script_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698