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

Side by Side Diff: chrome/browser/guestview/webview/javascript_dialog_helper.h

Issue 257823005: [Sheriff] Revert "Revert "Revert 266297 "1. Handle the case of empty embedder_extension_id...""" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_JAVASCRIPT_DIALOG_HELPER_H_ 5 #ifndef CHROME_BROWSER_GUESTVIEW_WEBVIEW_JAVASCRIPT_DIALOG_HELPER_H_
6 #define CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_JAVASCRIPT_DIALOG_HELPER_H_ 6 #define CHROME_BROWSER_GUESTVIEW_WEBVIEW_JAVASCRIPT_DIALOG_HELPER_H_
7 7
8 #include "content/public/browser/javascript_dialog_manager.h" 8 #include "content/public/browser/javascript_dialog_manager.h"
9 9
10 class WebViewGuest; 10 class WebViewGuest;
11 11
12 class JavaScriptDialogHelper : public content::JavaScriptDialogManager { 12 class JavaScriptDialogHelper : public content::JavaScriptDialogManager {
13 public: 13 public:
14 explicit JavaScriptDialogHelper(WebViewGuest* guest); 14 explicit JavaScriptDialogHelper(WebViewGuest* guest);
15 virtual ~JavaScriptDialogHelper(); 15 virtual ~JavaScriptDialogHelper();
16 16
(...skipping 26 matching lines...) Expand all
43 const DialogClosedCallback& callback, 43 const DialogClosedCallback& callback,
44 bool allow, 44 bool allow,
45 const std::string& user_input); 45 const std::string& user_input);
46 46
47 // Pointer to the webview that is being helped. 47 // Pointer to the webview that is being helped.
48 WebViewGuest* const webview_guest_; 48 WebViewGuest* const webview_guest_;
49 49
50 DISALLOW_COPY_AND_ASSIGN(JavaScriptDialogHelper); 50 DISALLOW_COPY_AND_ASSIGN(JavaScriptDialogHelper);
51 }; 51 };
52 52
53 #endif // CHROME_BROWSER_GUEST_VIEW_WEB_VIEW_JAVASCRIPT_DIALOG_HELPER_H_ 53 #endif // CHROME_BROWSER_GUESTVIEW_WEBVIEW_JAVASCRIPT_DIALOG_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698