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

Unified Diff: chrome/browser/instant/instant_loader_delegate.h

Issue 11262015: Remove unused / unnecessary stuff from Instant. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove SuggestedTextView entirely Created 8 years, 2 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 | « chrome/browser/instant/instant_loader.cc ('k') | chrome/browser/instant/instant_model.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/instant/instant_loader_delegate.h
diff --git a/chrome/browser/instant/instant_loader_delegate.h b/chrome/browser/instant/instant_loader_delegate.h
deleted file mode 100644
index 313043bef2b5d72ffe0d1c1a78956023d70fd09e..0000000000000000000000000000000000000000
--- a/chrome/browser/instant/instant_loader_delegate.h
+++ /dev/null
@@ -1,52 +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_INSTANT_INSTANT_LOADER_DELEGATE_H_
-#define CHROME_BROWSER_INSTANT_INSTANT_LOADER_DELEGATE_H_
-
-#include <vector>
-
-#include "chrome/common/instant_types.h"
-
-class InstantLoader;
-
-// InstantLoader calls these methods on its delegate (InstantController)
-// to notify it of interesting events happening on the Instant preview.
-class InstantLoaderDelegate {
- public:
- // Invoked when the loader has suggested text.
- virtual void SetSuggestions(
- InstantLoader* loader,
- const std::vector<InstantSuggestion>& suggestions) = 0;
-
- // Commit the preview.
- virtual void CommitInstantLoader(InstantLoader* loader) = 0;
-
- // Request that the preview be shown.
- virtual void ShowInstantPreview(InstantLoader* loader,
- InstantShownReason reason,
- int height,
- InstantSizeUnits units) = 0;
-
- // Notification that the first page load (of the Instant URL) completed.
- virtual void InstantLoaderPreviewLoaded(InstantLoader* loader) = 0;
-
- // Notification when the loader has determined whether or not the page
- // supports the Instant API.
- virtual void InstantSupportDetermined(InstantLoader* loader,
- bool supports_instant) = 0;
-
- // Notification that the loader swapped a different TabContents into the
- // preview, usually because a prerendered page was navigated to.
- virtual void SwappedTabContents(InstantLoader* loader) = 0;
-
- // Notification that the preview gained focus, usually due to the user
- // clicking on it.
- virtual void InstantLoaderContentsFocused(InstantLoader* loader) = 0;
-
- protected:
- virtual ~InstantLoaderDelegate() {}
-};
-
-#endif // CHROME_BROWSER_INSTANT_INSTANT_LOADER_DELEGATE_H_
« no previous file with comments | « chrome/browser/instant/instant_loader.cc ('k') | chrome/browser/instant/instant_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698