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

Side by Side Diff: content/browser/web_contents/web_contents_impl.h

Issue 373323003: Cache the current WebPreferences on RenderViewHostImpl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix. Created 6 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) 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 CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 virtual void RouteCloseEvent(RenderViewHost* rvh) OVERRIDE; 383 virtual void RouteCloseEvent(RenderViewHost* rvh) OVERRIDE;
384 virtual void RouteMessageEvent( 384 virtual void RouteMessageEvent(
385 RenderViewHost* rvh, 385 RenderViewHost* rvh,
386 const ViewMsg_PostMessage_Params& params) OVERRIDE; 386 const ViewMsg_PostMessage_Params& params) OVERRIDE;
387 virtual bool AddMessageToConsole(int32 level, 387 virtual bool AddMessageToConsole(int32 level,
388 const base::string16& message, 388 const base::string16& message,
389 int32 line_no, 389 int32 line_no,
390 const base::string16& source_id) OVERRIDE; 390 const base::string16& source_id) OVERRIDE;
391 virtual RendererPreferences GetRendererPrefs( 391 virtual RendererPreferences GetRendererPrefs(
392 BrowserContext* browser_context) const OVERRIDE; 392 BrowserContext* browser_context) const OVERRIDE;
393 virtual WebPreferences GetWebkitPrefs() OVERRIDE; 393 virtual WebPreferences ComputeWebkitPrefs() OVERRIDE;
394 virtual void OnUserGesture() OVERRIDE; 394 virtual void OnUserGesture() OVERRIDE;
395 virtual void OnIgnoredUIEvent() OVERRIDE; 395 virtual void OnIgnoredUIEvent() OVERRIDE;
396 virtual void RendererUnresponsive(RenderViewHost* render_view_host, 396 virtual void RendererUnresponsive(RenderViewHost* render_view_host,
397 bool is_during_beforeunload, 397 bool is_during_beforeunload,
398 bool is_during_unload) OVERRIDE; 398 bool is_during_unload) OVERRIDE;
399 virtual void RendererResponsive(RenderViewHost* render_view_host) OVERRIDE; 399 virtual void RendererResponsive(RenderViewHost* render_view_host) OVERRIDE;
400 virtual void LoadStateChanged(const GURL& url, 400 virtual void LoadStateChanged(const GURL& url,
401 const net::LoadStateWithParam& load_state, 401 const net::LoadStateWithParam& load_state,
402 uint64 upload_position, 402 uint64 upload_position,
403 uint64 upload_size) OVERRIDE; 403 uint64 upload_size) OVERRIDE;
(...skipping 749 matching lines...) Expand 10 before | Expand all | Expand 10 after
1153 1153
1154 scoped_ptr<ScreenOrientationDispatcherHost> 1154 scoped_ptr<ScreenOrientationDispatcherHost>
1155 screen_orientation_dispatcher_host_; 1155 screen_orientation_dispatcher_host_;
1156 1156
1157 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); 1157 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl);
1158 }; 1158 };
1159 1159
1160 } // namespace content 1160 } // namespace content
1161 1161
1162 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1162 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698