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

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

Issue 444843002: Cache the current WebPreferences on RenderViewHostImpl (try #2). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix. Created 6 years, 4 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 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 virtual void RouteCloseEvent(RenderViewHost* rvh) OVERRIDE; 410 virtual void RouteCloseEvent(RenderViewHost* rvh) OVERRIDE;
411 virtual void RouteMessageEvent( 411 virtual void RouteMessageEvent(
412 RenderViewHost* rvh, 412 RenderViewHost* rvh,
413 const ViewMsg_PostMessage_Params& params) OVERRIDE; 413 const ViewMsg_PostMessage_Params& params) OVERRIDE;
414 virtual bool AddMessageToConsole(int32 level, 414 virtual bool AddMessageToConsole(int32 level,
415 const base::string16& message, 415 const base::string16& message,
416 int32 line_no, 416 int32 line_no,
417 const base::string16& source_id) OVERRIDE; 417 const base::string16& source_id) OVERRIDE;
418 virtual RendererPreferences GetRendererPrefs( 418 virtual RendererPreferences GetRendererPrefs(
419 BrowserContext* browser_context) const OVERRIDE; 419 BrowserContext* browser_context) const OVERRIDE;
420 virtual WebPreferences GetWebkitPrefs() OVERRIDE; 420 virtual WebPreferences ComputeWebkitPrefs() OVERRIDE;
421 virtual void OnUserGesture() OVERRIDE; 421 virtual void OnUserGesture() OVERRIDE;
422 virtual void OnIgnoredUIEvent() OVERRIDE; 422 virtual void OnIgnoredUIEvent() OVERRIDE;
423 virtual void RendererUnresponsive(RenderViewHost* render_view_host, 423 virtual void RendererUnresponsive(RenderViewHost* render_view_host,
424 bool is_during_beforeunload, 424 bool is_during_beforeunload,
425 bool is_during_unload) OVERRIDE; 425 bool is_during_unload) OVERRIDE;
426 virtual void RendererResponsive(RenderViewHost* render_view_host) OVERRIDE; 426 virtual void RendererResponsive(RenderViewHost* render_view_host) OVERRIDE;
427 virtual void LoadStateChanged(const GURL& url, 427 virtual void LoadStateChanged(const GURL& url,
428 const net::LoadStateWithParam& load_state, 428 const net::LoadStateWithParam& load_state,
429 uint64 upload_position, 429 uint64 upload_position,
430 uint64 upload_size) OVERRIDE; 430 uint64 upload_size) OVERRIDE;
(...skipping 763 matching lines...) Expand 10 before | Expand all | Expand 10 after
1194 // The accessibility mode for all frames. This is queried when each frame 1194 // The accessibility mode for all frames. This is queried when each frame
1195 // is created, and broadcast to all frames when it changes. 1195 // is created, and broadcast to all frames when it changes.
1196 AccessibilityMode accessibility_mode_; 1196 AccessibilityMode accessibility_mode_;
1197 1197
1198 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); 1198 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl);
1199 }; 1199 };
1200 1200
1201 } // namespace content 1201 } // namespace content
1202 1202
1203 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1203 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_view_host_impl.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698