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

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

Issue 6880073: Plumb direction of document title through IPC layer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 8 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 108
109 // RenderViewHostDelegate implementation. 109 // RenderViewHostDelegate implementation.
110 virtual RenderViewHostDelegate::View* GetViewDelegate(); 110 virtual RenderViewHostDelegate::View* GetViewDelegate();
111 virtual const GURL& GetURL() const; 111 virtual const GURL& GetURL() const;
112 virtual ViewType::Type GetRenderViewType() const; 112 virtual ViewType::Type GetRenderViewType() const;
113 virtual int GetBrowserWindowID() const; 113 virtual int GetBrowserWindowID() const;
114 virtual void DidNavigate(RenderViewHost* render_view_host, 114 virtual void DidNavigate(RenderViewHost* render_view_host,
115 const ViewHostMsg_FrameNavigate_Params& params); 115 const ViewHostMsg_FrameNavigate_Params& params);
116 virtual void UpdateTitle(RenderViewHost* render_view_host, 116 virtual void UpdateTitle(RenderViewHost* render_view_host,
117 int32 page_id, 117 int32 page_id,
118 const std::wstring& title); 118 const string16& title,
119 WebKit::WebTextDirection title_direction) OVERRIDE;
119 virtual WebPreferences GetWebkitPrefs(); 120 virtual WebPreferences GetWebkitPrefs();
120 virtual void RunJavaScriptMessage(const std::wstring& message, 121 virtual void RunJavaScriptMessage(const std::wstring& message,
121 const std::wstring& default_prompt, 122 const std::wstring& default_prompt,
122 const GURL& frame_url, 123 const GURL& frame_url,
123 const int flags, 124 const int flags,
124 IPC::Message* reply_msg, 125 IPC::Message* reply_msg,
125 bool* did_suppress_message); 126 bool* did_suppress_message);
126 virtual void Close(RenderViewHost* render_view_host); 127 virtual void Close(RenderViewHost* render_view_host);
127 virtual void DidStopLoading(); 128 virtual void DidStopLoading();
128 virtual RendererPreferences GetRendererPrefs(Profile* profile) const; 129 virtual RendererPreferences GetRendererPrefs(Profile* profile) const;
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 // Maximum amount of private memory that may be used per PrerenderContents, 277 // Maximum amount of private memory that may be used per PrerenderContents,
277 // in MB. 278 // in MB.
278 static const int kMaxPrerenderPrivateMB = 100; 279 static const int kMaxPrerenderPrivateMB = 100;
279 280
280 DISALLOW_COPY_AND_ASSIGN(PrerenderContents); 281 DISALLOW_COPY_AND_ASSIGN(PrerenderContents);
281 }; 282 };
282 283
283 } // prerender 284 } // prerender
284 285
285 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_ 286 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_
OLDNEW
« no previous file with comments | « chrome/browser/notifications/balloon_host.h ('k') | chrome/browser/prerender/prerender_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698