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

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

Issue 9706012: Add abstractions that let embedders drive tests of WebContents. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove CONTENT_EXPORT on statically linked functions. Merge to head for commit. Created 8 years, 9 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 TabContents;
33 class TabContentsWrapper; 32 class TabContentsWrapper;
34 class TemplateURL; 33 class TemplateURL;
35 class TemplateURLService; 34 class TemplateURLService;
36 35
37 // InstantController maintains a TabContents that is intended to give a preview 36 // InstantController maintains a TabContents that is intended to give a preview
38 // of a URL. InstantController is owned by Browser. 37 // of a URL. InstantController is owned by Browser.
39 // 38 //
40 // At any time the TabContents maintained by InstantController may be destroyed 39 // At any time the TabContents maintained by InstantController may be destroyed
41 // by way of |DestroyPreviewContents|, which results in |HideInstant| being 40 // by way of |DestroyPreviewContents|, which results in |HideInstant| being
42 // 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
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 // The URL of the most recent match passed to |Update|. 260 // The URL of the most recent match passed to |Update|.
262 GURL last_url_; 261 GURL last_url_;
263 262
264 // The most recent user_text passed to |Update|. 263 // The most recent user_text passed to |Update|.
265 string16 last_user_text_; 264 string16 last_user_text_;
266 265
267 DISALLOW_COPY_AND_ASSIGN(InstantController); 266 DISALLOW_COPY_AND_ASSIGN(InstantController);
268 }; 267 };
269 268
270 #endif // CHROME_BROWSER_INSTANT_INSTANT_CONTROLLER_H_ 269 #endif // CHROME_BROWSER_INSTANT_INSTANT_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/geolocation/chrome_geolocation_permission_context_unittest.cc ('k') | chrome/browser/instant/instant_loader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698