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

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

Issue 10107002: TabContents -> WebContentsImpl, part 18. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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. 48 // Invoked if the loader swaps to a different WebContents.
49 virtual void SwappedTabContents(InstantLoader* loader) = 0; 49 virtual void SwappedTabContents(InstantLoader* loader) = 0;
50 50
51 // Invoked when the webcontents created by the loader is focused. 51 // Invoked when the webcontents created by the loader is focused.
52 virtual void InstantLoaderContentsFocused() = 0; 52 virtual void InstantLoaderContentsFocused() = 0;
53 53
54 protected: 54 protected:
55 virtual ~InstantLoaderDelegate() {} 55 virtual ~InstantLoaderDelegate() {}
56 }; 56 };
57 57
58 #endif // CHROME_BROWSER_INSTANT_INSTANT_LOADER_DELEGATE_H_ 58 #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_unload_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698