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

Unified Diff: blimp/client/core/blimp_navigation_controller_impl.h

Issue 2166563003: Split //blimp/client/core to relevant parts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move-assignment-source
Patch Set: Created 4 years, 5 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
Index: blimp/client/core/blimp_navigation_controller_impl.h
diff --git a/blimp/client/core/blimp_navigation_controller_impl.h b/blimp/client/core/blimp_navigation_controller_impl.h
deleted file mode 100644
index 90c42e06e88d18bacb2c8b5e7c42dc8efabe9a81..0000000000000000000000000000000000000000
--- a/blimp/client/core/blimp_navigation_controller_impl.h
+++ /dev/null
@@ -1,54 +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.
-
-#ifndef BLIMP_CLIENT_CORE_BLIMP_NAVIGATION_CONTROLLER_IMPL_H_
-#define BLIMP_CLIENT_CORE_BLIMP_NAVIGATION_CONTROLLER_IMPL_H_
-
-#include "base/macros.h"
-#include "base/memory/weak_ptr.h"
-#include "blimp/client/public/blimp_navigation_controller.h"
-#include "url/gurl.h"
-
-namespace blimp {
-namespace client {
-
-class BlimpContentsObserver;
-class BlimpNavigationControllerDelegate;
-
-// BlimpContentsImpl is the implementation of the core class in
-// //blimp/client/core, the BlimpContents.
-// The BlimpNavigationControllerImpl is the implementation part of
-// BlimpNavigationController. It maintains the back-forward list for a
-// BlimpContentsImpl and manages all navigation within that list.
-class BlimpNavigationControllerImpl : public BlimpNavigationController {
- public:
- explicit BlimpNavigationControllerImpl(
- BlimpNavigationControllerDelegate* delegate);
- ~BlimpNavigationControllerImpl() override;
-
- // BlimpNavigationController implementation.
- void LoadURL(const GURL& url) override;
- const GURL& GetURL() override;
-
- private:
- void NotifyDelegateURLLoaded(const GURL& url);
-
- // The delegate contains functionality required for the navigation controller
- // to function correctly. It is also invoked on relevant state changes of the
- // navigation controller.
- BlimpNavigationControllerDelegate* delegate_;
-
- // The currently active URL.
- GURL current_url_;
-
- // TODO(shaktisahu): Remove this after integration with NavigationFeature.
- base::WeakPtrFactory<BlimpNavigationControllerImpl> weak_ptr_factory_;
-
- DISALLOW_COPY_AND_ASSIGN(BlimpNavigationControllerImpl);
-};
-
-} // namespace client
-} // namespace blimp
-
-#endif // BLIMP_CLIENT_CORE_BLIMP_NAVIGATION_CONTROLLER_IMPL_H_
« no previous file with comments | « blimp/client/core/blimp_navigation_controller_delegate.h ('k') | blimp/client/core/blimp_navigation_controller_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698