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

Side by Side Diff: chrome/browser/instant/instant_loader_delegate.h

Issue 7034043: Prerender/Instant interopability. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_INSTANT_INSTANT_LOADER_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_INSTANT_INSTANT_LOADER_DELEGATE_H_
6 #define CHROME_BROWSER_INSTANT_INSTANT_LOADER_DELEGATE_H_ 6 #define CHROME_BROWSER_INSTANT_INSTANT_LOADER_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/string16.h" 9 #include "base/string16.h"
10 #include "chrome/common/instant_types.h" 10 #include "chrome/common/instant_types.h"
(...skipping 27 matching lines...) Expand all
38 // Invoked when the the loader should be committed. 38 // Invoked when the the loader should be committed.
39 virtual void CommitInstantLoader(InstantLoader* loader) = 0; 39 virtual void CommitInstantLoader(InstantLoader* loader) = 0;
40 40
41 // Invoked if the loader was created with the intention that the site supports 41 // Invoked if the loader was created with the intention that the site supports
42 // instant, but it turned out the site doesn't support instant. 42 // instant, but it turned out the site doesn't support instant.
43 virtual void InstantLoaderDoesntSupportInstant(InstantLoader* loader) = 0; 43 virtual void InstantLoaderDoesntSupportInstant(InstantLoader* loader) = 0;
44 44
45 // Adds the specified url to the set of urls instant won't prefetch for. 45 // Adds the specified url to the set of urls instant won't prefetch for.
46 virtual void AddToBlacklist(InstantLoader* loader, const GURL& url) = 0; 46 virtual void AddToBlacklist(InstantLoader* loader, const GURL& url) = 0;
47 47
48 // Invoked if the loader swaps to a different TabContents.
49 virtual void SwappedTabContents(InstantLoader* loader) = 0;
50
48 protected: 51 protected:
49 virtual ~InstantLoaderDelegate() {} 52 virtual ~InstantLoaderDelegate() {}
50 }; 53 };
51 54
52 #endif // CHROME_BROWSER_INSTANT_INSTANT_LOADER_DELEGATE_H_ 55 #endif // CHROME_BROWSER_INSTANT_INSTANT_LOADER_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/instant/instant_loader.cc ('k') | chrome/browser/instant/instant_loader_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698