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

Unified Diff: chrome/browser/google/google_url_tracker_navigation_helper.h

Issue 316203003: Componentize GoogleURLTracker(InfoBarDelegate,MapEntry,NavHelper) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nits Created 6 years, 6 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: chrome/browser/google/google_url_tracker_navigation_helper.h
diff --git a/chrome/browser/google/google_url_tracker_navigation_helper.h b/chrome/browser/google/google_url_tracker_navigation_helper.h
deleted file mode 100644
index 98b8b3a7bfe9d9b799e0f36bd3d796991e007da9..0000000000000000000000000000000000000000
--- a/chrome/browser/google/google_url_tracker_navigation_helper.h
+++ /dev/null
@@ -1,54 +0,0 @@
-// Copyright (c) 2012 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 CHROME_BROWSER_GOOGLE_GOOGLE_URL_TRACKER_NAVIGATION_HELPER_H_
-#define CHROME_BROWSER_GOOGLE_GOOGLE_URL_TRACKER_NAVIGATION_HELPER_H_
-
-#include "base/macros.h"
-#include "ui/base/window_open_disposition.h"
-
-class GoogleURLTracker;
-class GURL;
-
-// Interface via which GoogleURLTracker communicates with its driver.
-// TODO(blundell): Rename this class to GoogleURLTrackerDriver.
-// crbug.com/373221
-class GoogleURLTrackerNavigationHelper {
- public:
- explicit GoogleURLTrackerNavigationHelper(
- GoogleURLTracker* google_url_tracker);
- virtual ~GoogleURLTrackerNavigationHelper();
-
- // Enables or disables listening for navigation commits.
- // OnNavigationCommitted will be called for each navigation commit if
- // listening is enabled.
- virtual void SetListeningForNavigationCommit(bool listen) = 0;
-
- // Returns whether or not this object is currently listening for navigation
- // commits.
- virtual bool IsListeningForNavigationCommit() = 0;
-
- // Enables or disables listening for tab destruction. OnTabClosed will be
- // called on tab destruction if listening is enabled.
- virtual void SetListeningForTabDestruction(bool listen) = 0;
-
- // Returns whether or not this object is currently listening for tab
- // destruction.
- virtual bool IsListeningForTabDestruction() = 0;
-
- // Opens |url| with the given window disposition.
- virtual void OpenURL(GURL url,
- WindowOpenDisposition disposition,
- bool user_clicked_on_link) = 0;
-
- protected:
- GoogleURLTracker* google_url_tracker() { return google_url_tracker_; }
-
- private:
- GoogleURLTracker* google_url_tracker_;
-
- DISALLOW_COPY_AND_ASSIGN(GoogleURLTrackerNavigationHelper);
-};
-
-#endif // CHROME_BROWSER_GOOGLE_GOOGLE_URL_TRACKER_NAVIGATION_HELPER_H_
« no previous file with comments | « chrome/browser/google/google_url_tracker_map_entry.cc ('k') | chrome/browser/google/google_url_tracker_navigation_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698