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

Unified Diff: blimp/client/public/contents/blimp_navigation_controller.h

Issue 2624903006: Remove all blimp client code. (Closed)
Patch Set: Update buildbot configuration Created 3 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 | « blimp/client/public/contents/blimp_contents_view.h ('k') | blimp/client/public/resources/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/client/public/contents/blimp_navigation_controller.h
diff --git a/blimp/client/public/contents/blimp_navigation_controller.h b/blimp/client/public/contents/blimp_navigation_controller.h
deleted file mode 100644
index 8ca99b04df2606501d137fcd70f763ff3ac42447..0000000000000000000000000000000000000000
--- a/blimp/client/public/contents/blimp_navigation_controller.h
+++ /dev/null
@@ -1,52 +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_PUBLIC_CONTENTS_BLIMP_NAVIGATION_CONTROLLER_H_
-#define BLIMP_CLIENT_PUBLIC_CONTENTS_BLIMP_NAVIGATION_CONTROLLER_H_
-
-#include "base/macros.h"
-#include "url/gurl.h"
-
-namespace blimp {
-namespace client {
-
-// The BlimpNavigationController maintains the back-forward list for a
-// BlimpContents and manages all navigation within that list.
-//
-// Each BlimpNavigationController belongs to one BlimpContents, and each
-// BlimpContents has exactly one BlimpNavigationController.
-class BlimpNavigationController {
- public:
- virtual ~BlimpNavigationController() = default;
-
- // Calls to LoadURL informs the engine that it should start navigating to the
- // provided |url|.
- virtual void LoadURL(const GURL& url) = 0;
-
- // Reloads the current entry.
- virtual void Reload() = 0;
-
- // Navigation relative to the "current entry".
- virtual bool CanGoBack() const = 0;
- virtual bool CanGoForward() const = 0;
- virtual void GoBack() = 0;
- virtual void GoForward() = 0;
-
- // Retrieves the URL of the currently selected item in the navigation list.
- virtual const GURL& GetURL() = 0;
-
- // Gets the current page title.
- virtual const std::string& GetTitle() = 0;
-
- protected:
- BlimpNavigationController() {}
-
- private:
- DISALLOW_COPY_AND_ASSIGN(BlimpNavigationController);
-};
-
-} // namespace client
-} // namespace blimp
-
-#endif // BLIMP_CLIENT_PUBLIC_CONTENTS_BLIMP_NAVIGATION_CONTROLLER_H_
« no previous file with comments | « blimp/client/public/contents/blimp_contents_view.h ('k') | blimp/client/public/resources/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698