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

Side by Side Diff: chrome/browser/tab_contents/tab_contents.h

Issue 6288007: Prerendering for redirects -- part 2.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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 | « no previous file | chrome/browser/tab_contents/tab_contents.cc » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_TAB_CONTENTS_TAB_CONTENTS_H_ 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 1071 matching lines...) Expand 10 before | Expand all | Expand 10 after
1082 const Extension* GetExtensionContaining(const GURL& url); 1082 const Extension* GetExtensionContaining(const GURL& url);
1083 1083
1084 // Resets app_icon_ and if |extension| is non-null creates a new 1084 // Resets app_icon_ and if |extension| is non-null creates a new
1085 // ImageLoadingTracker to load the extension's image. 1085 // ImageLoadingTracker to load the extension's image.
1086 void UpdateExtensionAppIcon(const Extension* extension); 1086 void UpdateExtensionAppIcon(const Extension* extension);
1087 1087
1088 // ImageLoadingTracker::Observer. 1088 // ImageLoadingTracker::Observer.
1089 virtual void OnImageLoaded(SkBitmap* image, ExtensionResource resource, 1089 virtual void OnImageLoaded(SkBitmap* image, ExtensionResource resource,
1090 int index); 1090 int index);
1091 1091
1092 // Checks with the PrerenderManager if the specified URL has been preloaded,
1093 // and if so, swap the RenderViewHost with the preload into this TabContents
1094 // object.
1095 bool MaybeUsePreloadedPage(const GURL& url);
1096
1092 // Data for core operation --------------------------------------------------- 1097 // Data for core operation ---------------------------------------------------
1093 1098
1094 // Delegate for notifying our owner about stuff. Not owned by us. 1099 // Delegate for notifying our owner about stuff. Not owned by us.
1095 TabContentsDelegate* delegate_; 1100 TabContentsDelegate* delegate_;
1096 1101
1097 // Handles the back/forward list and loading. 1102 // Handles the back/forward list and loading.
1098 NavigationController controller_; 1103 NavigationController controller_;
1099 1104
1100 // The corresponding view. 1105 // The corresponding view.
1101 scoped_ptr<TabContentsView> view_; 1106 scoped_ptr<TabContentsView> view_;
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
1343 // (full-page plugins for now only) permissions. 1348 // (full-page plugins for now only) permissions.
1344 int content_restrictions_; 1349 int content_restrictions_;
1345 1350
1346 // All the IPC message filters for this render view. 1351 // All the IPC message filters for this render view.
1347 std::vector<IPC::Channel::Listener*> message_filters_; 1352 std::vector<IPC::Channel::Listener*> message_filters_;
1348 1353
1349 DISALLOW_COPY_AND_ASSIGN(TabContents); 1354 DISALLOW_COPY_AND_ASSIGN(TabContents);
1350 }; 1355 };
1351 1356
1352 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 1357 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/tab_contents/tab_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698