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

Side by Side Diff: ui/web_dialogs/web_dialog_web_contents_delegate.h

Issue 2473003002: content: Cleanup class/struct forward declarations (Closed)
Patch Set: Another missing forward declaration Created 4 years, 1 month 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 | « content/utility/utility_thread_impl.h ('k') | no next file » | 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 UI_WEB_DIALOGS_WEB_DIALOG_WEB_CONTENTS_DELEGATE_H_ 5 #ifndef UI_WEB_DIALOGS_WEB_DIALOG_WEB_CONTENTS_DELEGATE_H_
6 #define UI_WEB_DIALOGS_WEB_DIALOG_WEB_CONTENTS_DELEGATE_H_ 6 #define UI_WEB_DIALOGS_WEB_DIALOG_WEB_CONTENTS_DELEGATE_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "content/public/browser/web_contents_delegate.h" 10 #include "content/public/browser/web_contents_delegate.h"
11 #include "ui/web_dialogs/web_dialogs_export.h" 11 #include "ui/web_dialogs/web_dialogs_export.h"
12 12
13 namespace content {
14 class BrowserContext;
15 }
16
13 namespace ui { 17 namespace ui {
14 18
15 // This class implements (and mostly ignores) most of 19 // This class implements (and mostly ignores) most of
16 // content::WebContentsDelegate for use in a Web dialog. Subclasses need only 20 // content::WebContentsDelegate for use in a Web dialog. Subclasses need only
17 // override a few methods instead of the everything from 21 // override a few methods instead of the everything from
18 // content::WebContentsDelegate; this way, implementations on all platforms 22 // content::WebContentsDelegate; this way, implementations on all platforms
19 // behave consistently. 23 // behave consistently.
20 class WEB_DIALOGS_EXPORT WebDialogWebContentsDelegate 24 class WEB_DIALOGS_EXPORT WebDialogWebContentsDelegate
21 : public content::WebContentsDelegate { 25 : public content::WebContentsDelegate {
22 public: 26 public:
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 content::BrowserContext* browser_context_; 76 content::BrowserContext* browser_context_;
73 77
74 std::unique_ptr<WebContentsHandler> handler_; 78 std::unique_ptr<WebContentsHandler> handler_;
75 79
76 DISALLOW_COPY_AND_ASSIGN(WebDialogWebContentsDelegate); 80 DISALLOW_COPY_AND_ASSIGN(WebDialogWebContentsDelegate);
77 }; 81 };
78 82
79 } // namespace ui 83 } // namespace ui
80 84
81 #endif // UI_WEB_DIALOGS_WEB_DIALOG_WEB_CONTENTS_DELEGATE_H_ 85 #endif // UI_WEB_DIALOGS_WEB_DIALOG_WEB_CONTENTS_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/utility/utility_thread_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698