Index: third_party/WebKit/Source/modules/ballista/NavigatorActions.cpp |
diff --git a/third_party/WebKit/Source/modules/ballista/NavigatorActions.cpp b/third_party/WebKit/Source/modules/ballista/NavigatorActions.cpp |
deleted file mode 100644 |
index d4faa8e4d1d7c91339d1d968369163fa733b5a84..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/Source/modules/ballista/NavigatorActions.cpp |
+++ /dev/null |
@@ -1,50 +0,0 @@ |
-// Copyright 2016 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 "modules/ballista/NavigatorActions.h" |
- |
-#include "config.h" |
-#include "core/frame/Navigator.h" |
-#include "modules/ballista/Actions.h" |
- |
-namespace blink { |
- |
-NavigatorActions& NavigatorActions::from(Navigator& navigator) |
-{ |
- NavigatorActions* supplement = static_cast<NavigatorActions*>(Supplement<Navigator>::from(navigator, supplementName())); |
- if (!supplement) { |
- supplement = new NavigatorActions(); |
- provideTo(navigator, supplementName(), supplement); |
- } |
- return *supplement; |
-} |
- |
-Actions* NavigatorActions::actions(Navigator& navigator) |
-{ |
- return NavigatorActions::from(navigator).actions(); |
-} |
- |
-Actions* NavigatorActions::actions() |
-{ |
- if (!m_actions) |
- m_actions = Actions::create(); |
- return m_actions.get(); |
-} |
- |
-DEFINE_TRACE(NavigatorActions) |
-{ |
- visitor->trace(m_actions); |
- Supplement<Navigator>::trace(visitor); |
-} |
- |
-NavigatorActions::NavigatorActions() |
-{ |
-} |
- |
-const char* NavigatorActions::supplementName() |
-{ |
- return "NavigatorActions"; |
-} |
- |
-} // namespace blink |