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

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

Issue 6735004: Move extension messages to their own file and add a RenderViewObserver to start moving the extens... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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) 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 virtual RenderViewHostDelegate::View* GetViewDelegate(); 108 virtual RenderViewHostDelegate::View* GetViewDelegate();
109 virtual const GURL& GetURL() const; 109 virtual const GURL& GetURL() const;
110 virtual ViewType::Type GetRenderViewType() const; 110 virtual ViewType::Type GetRenderViewType() const;
111 virtual int GetBrowserWindowID() const; 111 virtual int GetBrowserWindowID() const;
112 virtual void DidNavigate(RenderViewHost* render_view_host, 112 virtual void DidNavigate(RenderViewHost* render_view_host,
113 const ViewHostMsg_FrameNavigate_Params& params); 113 const ViewHostMsg_FrameNavigate_Params& params);
114 virtual void UpdateTitle(RenderViewHost* render_view_host, 114 virtual void UpdateTitle(RenderViewHost* render_view_host,
115 int32 page_id, 115 int32 page_id,
116 const std::wstring& title); 116 const std::wstring& title);
117 virtual WebPreferences GetWebkitPrefs(); 117 virtual WebPreferences GetWebkitPrefs();
118 virtual void ProcessWebUIMessage(const ViewHostMsg_DomMessage_Params& params); 118 virtual void ProcessWebUIMessage(
119 const ExtensionHostMsg_DomMessage_Params& params);
119 virtual void RunJavaScriptMessage(const std::wstring& message, 120 virtual void RunJavaScriptMessage(const std::wstring& message,
120 const std::wstring& default_prompt, 121 const std::wstring& default_prompt,
121 const GURL& frame_url, 122 const GURL& frame_url,
122 const int flags, 123 const int flags,
123 IPC::Message* reply_msg, 124 IPC::Message* reply_msg,
124 bool* did_suppress_message); 125 bool* did_suppress_message);
125 virtual void Close(RenderViewHost* render_view_host); 126 virtual void Close(RenderViewHost* render_view_host);
126 virtual void DidStopLoading(); 127 virtual void DidStopLoading();
127 virtual RendererPreferences GetRendererPrefs(Profile* profile) const; 128 virtual RendererPreferences GetRendererPrefs(Profile* profile) const;
128 129
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 // Maximum amount of private memory that may be used per PrerenderContents, 279 // Maximum amount of private memory that may be used per PrerenderContents,
279 // in MB. 280 // in MB.
280 static const int kMaxPrerenderPrivateMB = 100; 281 static const int kMaxPrerenderPrivateMB = 100;
281 282
282 DISALLOW_COPY_AND_ASSIGN(PrerenderContents); 283 DISALLOW_COPY_AND_ASSIGN(PrerenderContents);
283 }; 284 };
284 285
285 } // prerender 286 } // prerender
286 287
287 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_ 288 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_
OLDNEW
« no previous file with comments | « chrome/browser/notifications/balloon_host.cc ('k') | chrome/browser/prerender/prerender_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698