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

Unified Diff: athena/extensions/athena_javascript_native_dialog_factory.cc

Issue 863033002: Delete athena/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « athena/extensions/athena_javascript_native_dialog_factory.h ('k') | athena/extensions/chrome/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/extensions/athena_javascript_native_dialog_factory.cc
diff --git a/athena/extensions/athena_javascript_native_dialog_factory.cc b/athena/extensions/athena_javascript_native_dialog_factory.cc
deleted file mode 100644
index 39c349b7ea0767c607ac1e32d1927d2678c4c1d7..0000000000000000000000000000000000000000
--- a/athena/extensions/athena_javascript_native_dialog_factory.cc
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright 2014 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.
-
-#include "athena/extensions/athena_javascript_native_dialog_factory.h"
-
-#include "base/memory/scoped_ptr.h"
-#include "components/app_modal/javascript_dialog_manager.h"
-#include "components/app_modal/javascript_native_dialog_factory.h"
-#include "components/app_modal/views/javascript_app_modal_dialog_views.h"
-#include "components/constrained_window/constrained_window_views.h"
-
-class JavaScriptAppModalDialog;
-class NativeAppModalDialog;
-
-namespace athena {
-namespace {
-
-class AthenaJavaScriptNativeDialogFactory
- : public app_modal::JavaScriptNativeDialogFactory {
- public:
- AthenaJavaScriptNativeDialogFactory() {}
- ~AthenaJavaScriptNativeDialogFactory() override {}
-
- private:
- // app_modal::JavScriptNativeDialogFactory:
- app_modal::NativeAppModalDialog* CreateNativeJavaScriptDialog(
- app_modal::JavaScriptAppModalDialog* dialog,
- gfx::NativeWindow parent_window) override{
- app_modal::JavaScriptAppModalDialogViews* d =
- new app_modal::JavaScriptAppModalDialogViews(dialog);
- constrained_window::CreateBrowserModalDialogViews(d, parent_window);
- return d;
- }
-
- DISALLOW_COPY_AND_ASSIGN(AthenaJavaScriptNativeDialogFactory);
-};
-
-} // namespace
-
-void InstallJavaScriptNativeDialogFactory() {
- app_modal::JavaScriptDialogManager::GetInstance()->
- SetNativeDialogFactory(
- make_scoped_ptr(new AthenaJavaScriptNativeDialogFactory));
-}
-
-} // namespace athena
« no previous file with comments | « athena/extensions/athena_javascript_native_dialog_factory.h ('k') | athena/extensions/chrome/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698