Make Navigator an interface.

InterstitialPageImpl has very different requirements for navigations than regular pages. As such, we need a different implementation of Navigator for it. This CL creates a specific version for interstitial pages and makes Navigator be an interface.

BUG=304341

Review URL: https://codereview.chromium.org/105923002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239194 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/content/browser/frame_host/navigator_impl.h b/content/browser/frame_host/navigator_impl.h
new file mode 100644
index 0000000..2bfc842e
--- /dev/null
+++ b/content/browser/frame_host/navigator_impl.h
@@ -0,0 +1,32 @@
+// Copyright 2013 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 CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_
+#define CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_
+
+#include "base/memory/ref_counted.h"
+#include "content/browser/frame_host/navigator.h"
+#include "content/common/content_export.h"
+
+namespace content {
+
+class NavigationControllerImpl;
+class NavigatorDelegate;
+
+// This class is an implementation of Navigator, responsible for managing
+// navigations in regular browser tabs.
+class CONTENT_EXPORT NavigatorImpl : public Navigator {
+ public:
+  NavigatorImpl(NavigationControllerImpl* navigation_controller,
+                NavigatorDelegate* delegate);
+
+ private:
+  virtual ~NavigatorImpl() {}
+
+  DISALLOW_COPY_AND_ASSIGN(NavigatorImpl);
+};
+
+}  // namespace content
+
+#endif  // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_