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

Unified Diff: components/app_modal_dialogs/views/javascript_app_modal_dialog_views.h

Issue 735473002: Rename app_modal_dialogs dir to app_modal (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: rebase Created 6 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 side-by-side diff with in-line comments
Download patch
Index: components/app_modal_dialogs/views/javascript_app_modal_dialog_views.h
diff --git a/components/app_modal_dialogs/views/javascript_app_modal_dialog_views.h b/components/app_modal_dialogs/views/javascript_app_modal_dialog_views.h
deleted file mode 100644
index 456e55c26d3b47633388adaae7aea66bd350e3c5..0000000000000000000000000000000000000000
--- a/components/app_modal_dialogs/views/javascript_app_modal_dialog_views.h
+++ /dev/null
@@ -1,59 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef COMPONENTS_APP_MODAL_DIALOGS_VIEWS_JAVASCRIPT_APP_MODAL_DIALOG_VIEWS_H_
-#define COMPONENTS_APP_MODAL_DIALOGS_VIEWS_JAVASCRIPT_APP_MODAL_DIALOG_VIEWS_H_
-
-#include "base/memory/scoped_ptr.h"
-#include "components/app_modal_dialogs/native_app_modal_dialog.h"
-#include "ui/views/window/dialog_delegate.h"
-
-class JavaScriptAppModalDialog;
-
-namespace views {
-class MessageBoxView;
-}
-
-class JavaScriptAppModalDialogViews : public NativeAppModalDialog,
- public views::DialogDelegate {
- public:
- explicit JavaScriptAppModalDialogViews(JavaScriptAppModalDialog* parent);
- ~JavaScriptAppModalDialogViews() override;
-
- // Overridden from NativeAppModalDialog:
- int GetAppModalDialogButtons() const override;
- void ShowAppModalDialog() override;
- void ActivateAppModalDialog() override;
- void CloseAppModalDialog() override;
- void AcceptAppModalDialog() override;
- void CancelAppModalDialog() override;
-
- // Overridden from views::DialogDelegate:
- int GetDefaultDialogButton() const override;
- int GetDialogButtons() const override;
- base::string16 GetWindowTitle() const override;
- void DeleteDelegate() override;
- bool Cancel() override;
- bool Accept() override;
- base::string16 GetDialogButtonLabel(ui::DialogButton button) const override;
-
- // Overridden from views::WidgetDelegate:
- ui::ModalType GetModalType() const override;
- views::View* GetContentsView() override;
- views::View* GetInitiallyFocusedView() override;
- void OnClosed() override;
- views::Widget* GetWidget() override;
- const views::Widget* GetWidget() const override;
-
- private:
- // A pointer to the AppModalDialog that owns us.
- scoped_ptr<JavaScriptAppModalDialog> parent_;
-
- // The message box view whose commands we handle.
- views::MessageBoxView* message_box_view_;
-
- DISALLOW_COPY_AND_ASSIGN(JavaScriptAppModalDialogViews);
-};
-
-#endif // COMPONENTS_APP_MODAL_DIALOGS_VIEWS_JAVASCRIPT_APP_MODAL_DIALOG_VIEWS_H_
« no previous file with comments | « components/app_modal_dialogs/views/DEPS ('k') | components/app_modal_dialogs/views/javascript_app_modal_dialog_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698