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

Side by Side Diff: chrome/browser/instant/instant_controller.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
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_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_INSTANT_INSTANT_CONTROLLER_H_
6 #define CHROME_BROWSER_INSTANT_INSTANT_CONTROLLER_H_ 6 #define CHROME_BROWSER_INSTANT_INSTANT_CONTROLLER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 11 matching lines...) Expand all
22 #include "googleurl/src/gurl.h" 22 #include "googleurl/src/gurl.h"
23 #include "ui/gfx/native_widget_types.h" 23 #include "ui/gfx/native_widget_types.h"
24 #include "ui/gfx/rect.h" 24 #include "ui/gfx/rect.h"
25 25
26 struct AutocompleteMatch; 26 struct AutocompleteMatch;
27 class InstantDelegate; 27 class InstantDelegate;
28 class InstantLoader; 28 class InstantLoader;
29 class InstantTest; 29 class InstantTest;
30 class PrefService; 30 class PrefService;
31 class Profile; 31 class Profile;
32 class TabContentsWrapper; 32 class TabContents;
33 typedef TabContents TabContentsWrapper;
33 class TemplateURL; 34 class TemplateURL;
34 35
35 // InstantController maintains a WebContents that is intended to give a preview 36 // InstantController maintains a WebContents that is intended to give a preview
36 // of a URL. InstantController is owned by Browser. 37 // of a URL. InstantController is owned by Browser.
37 // 38 //
38 // At any time the WebContents maintained by InstantController may be destroyed 39 // At any time the WebContents maintained by InstantController may be destroyed
39 // by way of |DestroyPreviewContents|, which results in |HideInstant| being 40 // by way of |DestroyPreviewContents|, which results in |HideInstant| being
40 // invoked on the delegate. Similarly the preview may be committed at any time 41 // invoked on the delegate. Similarly the preview may be committed at any time
41 // by invoking |CommitCurrentPreview|, which results in |CommitInstant| 42 // by invoking |CommitCurrentPreview|, which results in |CommitInstant|
42 // being invoked on the delegate. Also see |PrepareForCommit| below. 43 // being invoked on the delegate. Also see |PrepareForCommit| below.
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 // The most recent user_text passed to |Update|. 269 // The most recent user_text passed to |Update|.
269 string16 last_user_text_; 270 string16 last_user_text_;
270 271
271 // See the enum description above. 272 // See the enum description above.
272 const Mode mode_; 273 const Mode mode_;
273 274
274 DISALLOW_COPY_AND_ASSIGN(InstantController); 275 DISALLOW_COPY_AND_ASSIGN(InstantController);
275 }; 276 };
276 277
277 #endif // CHROME_BROWSER_INSTANT_INSTANT_CONTROLLER_H_ 278 #endif // CHROME_BROWSER_INSTANT_INSTANT_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/google/google_url_tracker_unittest.cc ('k') | chrome/browser/instant/instant_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698