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

Side by Side Diff: chrome/browser/instant/instant_loader.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_LOADER_H_ 5 #ifndef CHROME_BROWSER_INSTANT_INSTANT_LOADER_H_
6 #define CHROME_BROWSER_INSTANT_INSTANT_LOADER_H_ 6 #define CHROME_BROWSER_INSTANT_INSTANT_LOADER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "base/string16.h" 14 #include "base/string16.h"
15 #include "base/timer.h" 15 #include "base/timer.h"
16 #include "chrome/browser/instant/instant_commit_type.h" 16 #include "chrome/browser/instant/instant_commit_type.h"
17 #include "chrome/browser/search_engines/template_url_id.h" 17 #include "chrome/browser/search_engines/template_url_id.h"
18 #include "chrome/common/instant_types.h" 18 #include "chrome/common/instant_types.h"
19 #include "content/public/browser/notification_observer.h" 19 #include "content/public/browser/notification_observer.h"
20 #include "content/public/browser/notification_registrar.h" 20 #include "content/public/browser/notification_registrar.h"
21 #include "content/public/common/page_transition_types.h" 21 #include "content/public/common/page_transition_types.h"
22 #include "googleurl/src/gurl.h" 22 #include "googleurl/src/gurl.h"
23 #include "ui/gfx/rect.h" 23 #include "ui/gfx/rect.h"
24 24
25 class InstantLoaderDelegate; 25 class InstantLoaderDelegate;
26 class InstantLoaderManagerTest; 26 class InstantLoaderManagerTest;
27 class TabContents;
28 class TabContentsWrapper; 27 class TabContentsWrapper;
29 class TemplateURL; 28 class TemplateURL;
30 29
31 namespace content { 30 namespace content {
32 class SessionStorageNamespace; 31 class SessionStorageNamespace;
33 } 32 }
34 33
35 // InstantLoader does the loading of a particular URL for InstantController. 34 // InstantLoader does the loading of a particular URL for InstantController.
36 // InstantLoader notifies its delegate, which is typically InstantController, of 35 // InstantLoader notifies its delegate, which is typically InstantController, of
37 // all interesting events. 36 // all interesting events.
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 std::string group_; 256 std::string group_;
258 257
259 // The session storage namespace identifier of the original tab contents that 258 // The session storage namespace identifier of the original tab contents that
260 // the preview_contents_ was based upon. 259 // the preview_contents_ was based upon.
261 scoped_refptr<content::SessionStorageNamespace> session_storage_namespace_; 260 scoped_refptr<content::SessionStorageNamespace> session_storage_namespace_;
262 261
263 DISALLOW_COPY_AND_ASSIGN(InstantLoader); 262 DISALLOW_COPY_AND_ASSIGN(InstantLoader);
264 }; 263 };
265 264
266 #endif // CHROME_BROWSER_INSTANT_INSTANT_LOADER_H_ 265 #endif // CHROME_BROWSER_INSTANT_INSTANT_LOADER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698