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

Side by Side Diff: content/public/browser/javascript_dialog_manager.h

Issue 18868005: content: Migrate from googleurl/ includes to url/ ones. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 (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 CONTENT_PUBLIC_BROWSER_JAVASCRIPT_DIALOG_MANAGER_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_JAVASCRIPT_DIALOG_MANAGER_H_
6 #define CONTENT_PUBLIC_BROWSER_JAVASCRIPT_DIALOG_MANAGER_H_ 6 #define CONTENT_PUBLIC_BROWSER_JAVASCRIPT_DIALOG_MANAGER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/strings/string16.h" 11 #include "base/strings/string16.h"
12 #include "content/common/content_export.h" 12 #include "content/common/content_export.h"
13 #include "content/public/common/javascript_message_type.h" 13 #include "content/public/common/javascript_message_type.h"
14 #include "googleurl/src/gurl.h"
15 #include "ui/gfx/native_widget_types.h" 14 #include "ui/gfx/native_widget_types.h"
15 #include "url/gurl.h"
16 16
17 namespace content { 17 namespace content {
18 18
19 class WebContents; 19 class WebContents;
20 20
21 // An interface consisting of methods that can be called to produce and manage 21 // An interface consisting of methods that can be called to produce and manage
22 // JavaScript dialogs. 22 // JavaScript dialogs.
23 class CONTENT_EXPORT JavaScriptDialogManager { 23 class CONTENT_EXPORT JavaScriptDialogManager {
24 public: 24 public:
25 typedef base::Callback<void(bool /* success */, 25 typedef base::Callback<void(bool /* success */,
(...skipping 29 matching lines...) Expand all
55 // Cancels all pending dialogs and resets any saved JavaScript dialog state 55 // Cancels all pending dialogs and resets any saved JavaScript dialog state
56 // for the given WebContents. 56 // for the given WebContents.
57 virtual void ResetJavaScriptState(WebContents* web_contents) = 0; 57 virtual void ResetJavaScriptState(WebContents* web_contents) = 0;
58 58
59 virtual ~JavaScriptDialogManager() {} 59 virtual ~JavaScriptDialogManager() {}
60 }; 60 };
61 61
62 } // namespace content 62 } // namespace content
63 63
64 #endif // CONTENT_PUBLIC_BROWSER_JAVASCRIPT_DIALOG_MANAGER_H_ 64 #endif // CONTENT_PUBLIC_BROWSER_JAVASCRIPT_DIALOG_MANAGER_H_
OLDNEW
« no previous file with comments | « content/public/browser/indexed_db_info.h ('k') | content/public/browser/load_from_memory_cache_details.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698