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

Side by Side Diff: chrome/browser/prerender/prerender_contents.h

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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) 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_PRERENDER_PRERENDER_CONTENTS_H_ 5 #ifndef CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_
6 #define CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_ 6 #define CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 const GURL& frame_url, 125 const GURL& frame_url,
126 const int flags, 126 const int flags,
127 bool* did_suppress_message, 127 bool* did_suppress_message,
128 string16* prompt_field); 128 string16* prompt_field);
129 virtual void OnRenderViewGone(int status, int exit_code); 129 virtual void OnRenderViewGone(int status, int exit_code);
130 130
131 // TabContentsObserver implementation. 131 // TabContentsObserver implementation.
132 virtual void DidStopLoading() OVERRIDE; 132 virtual void DidStopLoading() OVERRIDE;
133 133
134 // NotificationObserver 134 // NotificationObserver
135 virtual void Observe(NotificationType type, 135 virtual void Observe(int type,
136 const NotificationSource& source, 136 const NotificationSource& source,
137 const NotificationDetails& details) OVERRIDE; 137 const NotificationDetails& details) OVERRIDE;
138 138
139 // DownloadTabHelperDelegate implementation. 139 // DownloadTabHelperDelegate implementation.
140 virtual bool CanDownload(int request_id) OVERRIDE; 140 virtual bool CanDownload(int request_id) OVERRIDE;
141 virtual void OnStartDownload(DownloadItem* download, 141 virtual void OnStartDownload(DownloadItem* download,
142 TabContentsWrapper* tab) OVERRIDE; 142 TabContentsWrapper* tab) OVERRIDE;
143 143
144 // Adds an alias URL, for one of the many redirections. If the URL can not 144 // Adds an alias URL, for one of the many redirections. If the URL can not
145 // be prerendered - for example, it's an ftp URL - |this| will be destroyed 145 // be prerendered - for example, it's an ftp URL - |this| will be destroyed
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 284
285 // Offset by which to offset prerendered pages 285 // Offset by which to offset prerendered pages
286 static const int32 kPrerenderPageIdOffset = 10; 286 static const int32 kPrerenderPageIdOffset = 10;
287 287
288 DISALLOW_COPY_AND_ASSIGN(PrerenderContents); 288 DISALLOW_COPY_AND_ASSIGN(PrerenderContents);
289 }; 289 };
290 290
291 } // namespace prerender 291 } // namespace prerender
292 292
293 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_ 293 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_
OLDNEW
« no previous file with comments | « chrome/browser/prerender/prerender_browsertest.cc ('k') | chrome/browser/prerender/prerender_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698