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

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

Issue 10528002: TabContentsWrapper -> TabContents, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/instant/instant_controller.h ('k') | chrome/browser/instant/instant_loader.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_INSTANT_INSTANT_DELEGATE_H_
6 #define CHROME_BROWSER_INSTANT_INSTANT_DELEGATE_H_ 6 #define CHROME_BROWSER_INSTANT_INSTANT_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"
11 11
12 class TabContentsWrapper; 12 class TabContents;
13 typedef TabContents TabContentsWrapper;
13 14
14 namespace gfx { 15 namespace gfx {
15 class Rect; 16 class Rect;
16 } 17 }
17 18
18 // InstantController's delegate. Normally the Browser implements this. See 19 // InstantController's delegate. Normally the Browser implements this. See
19 // InstantController for details. 20 // InstantController for details.
20 class InstantDelegate { 21 class InstantDelegate {
21 public: 22 public:
22 // Invoked when the instant TabContentsWrapper should be shown. 23 // Invoked when the instant TabContentsWrapper should be shown.
(...skipping 18 matching lines...) Expand all
41 virtual void InstantPreviewFocused() = 0; 42 virtual void InstantPreviewFocused() = 0;
42 43
43 // Returns the tab contents over which the instant preview is overlaid. 44 // Returns the tab contents over which the instant preview is overlaid.
44 virtual TabContentsWrapper* GetInstantHostTabContents() const = 0; 45 virtual TabContentsWrapper* GetInstantHostTabContents() const = 0;
45 46
46 protected: 47 protected:
47 virtual ~InstantDelegate() {} 48 virtual ~InstantDelegate() {}
48 }; 49 };
49 50
50 #endif // CHROME_BROWSER_INSTANT_INSTANT_DELEGATE_H_ 51 #endif // CHROME_BROWSER_INSTANT_INSTANT_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/instant/instant_controller.h ('k') | chrome/browser/instant/instant_loader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698