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

Side by Side Diff: components/app_modal/views/javascript_app_modal_dialog_views.h

Issue 2511973004: components: Cleanup class/struct fwd declarations (Closed)
Patch Set: Rebase on top of current master branch Created 4 years 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 #ifndef COMPONENTS_APP_MODAL_VIEWS_JAVASCRIPT_APP_MODAL_DIALOG_VIEWS_H_ 5 #ifndef COMPONENTS_APP_MODAL_VIEWS_JAVASCRIPT_APP_MODAL_DIALOG_VIEWS_H_
6 #define COMPONENTS_APP_MODAL_VIEWS_JAVASCRIPT_APP_MODAL_DIALOG_VIEWS_H_ 6 #define COMPONENTS_APP_MODAL_VIEWS_JAVASCRIPT_APP_MODAL_DIALOG_VIEWS_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "components/app_modal/native_app_modal_dialog.h" 11 #include "components/app_modal/native_app_modal_dialog.h"
12 #include "ui/views/window/dialog_delegate.h" 12 #include "ui/views/window/dialog_delegate.h"
13 13
14 class JavaScriptAppModalDialog;
15
16 namespace views { 14 namespace views {
17 class MessageBoxView; 15 class MessageBoxView;
18 } 16 }
19 17
20 namespace app_modal { 18 namespace app_modal {
21 19
20 class JavaScriptAppModalDialog;
21
22 class JavaScriptAppModalDialogViews : public NativeAppModalDialog, 22 class JavaScriptAppModalDialogViews : public NativeAppModalDialog,
23 public views::DialogDelegate { 23 public views::DialogDelegate {
24 public: 24 public:
25 explicit JavaScriptAppModalDialogViews(JavaScriptAppModalDialog* parent); 25 explicit JavaScriptAppModalDialogViews(JavaScriptAppModalDialog* parent);
26 ~JavaScriptAppModalDialogViews() override; 26 ~JavaScriptAppModalDialogViews() override;
27 27
28 // Overridden from NativeAppModalDialog: 28 // Overridden from NativeAppModalDialog:
29 int GetAppModalDialogButtons() const override; 29 int GetAppModalDialogButtons() const override;
30 void ShowAppModalDialog() override; 30 void ShowAppModalDialog() override;
31 void ActivateAppModalDialog() override; 31 void ActivateAppModalDialog() override;
(...skipping 25 matching lines...) Expand all
57 57
58 // The message box view whose commands we handle. 58 // The message box view whose commands we handle.
59 views::MessageBoxView* message_box_view_; 59 views::MessageBoxView* message_box_view_;
60 60
61 DISALLOW_COPY_AND_ASSIGN(JavaScriptAppModalDialogViews); 61 DISALLOW_COPY_AND_ASSIGN(JavaScriptAppModalDialogViews);
62 }; 62 };
63 63
64 } // namespace app_modal 64 } // namespace app_modal
65 65
66 #endif // COMPONENTS_APP_MODAL_VIEWS_JAVASCRIPT_APP_MODAL_DIALOG_VIEWS_H_ 66 #endif // COMPONENTS_APP_MODAL_VIEWS_JAVASCRIPT_APP_MODAL_DIALOG_VIEWS_H_
OLDNEW
« no previous file with comments | « components/app_modal/native_app_modal_dialog.h ('k') | components/arc/arc_bridge_service_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698