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

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

Issue 233093006: Stop disabling force_compositing_mode for background RenderViews. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: background: codemoved Created 6 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) 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 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 const base::string16& message, 333 const base::string16& message,
334 const base::string16& default_prompt, 334 const base::string16& default_prompt,
335 const GURL& frame_url, 335 const GURL& frame_url,
336 JavaScriptMessageType type, 336 JavaScriptMessageType type,
337 IPC::Message* reply_msg) OVERRIDE; 337 IPC::Message* reply_msg) OVERRIDE;
338 virtual void RunBeforeUnloadConfirm(RenderFrameHost* rfh, 338 virtual void RunBeforeUnloadConfirm(RenderFrameHost* rfh,
339 const base::string16& message, 339 const base::string16& message,
340 bool is_reload, 340 bool is_reload,
341 IPC::Message* reply_msg) OVERRIDE; 341 IPC::Message* reply_msg) OVERRIDE;
342 virtual WebContents* GetAsWebContents() OVERRIDE; 342 virtual WebContents* GetAsWebContents() OVERRIDE;
343 virtual bool IsNeverVisible() OVERRIDE;
343 344
344 // RenderViewHostDelegate ---------------------------------------------------- 345 // RenderViewHostDelegate ----------------------------------------------------
345 virtual RenderViewHostDelegateView* GetDelegateView() OVERRIDE; 346 virtual RenderViewHostDelegateView* GetDelegateView() OVERRIDE;
346 virtual bool OnMessageReceived(RenderViewHost* render_view_host, 347 virtual bool OnMessageReceived(RenderViewHost* render_view_host,
347 const IPC::Message& message) OVERRIDE; 348 const IPC::Message& message) OVERRIDE;
348 // RenderFrameHostDelegate has the same method, so list it there because this 349 // RenderFrameHostDelegate has the same method, so list it there because this
349 // interface is going away. 350 // interface is going away.
350 // virtual WebContents* GetAsWebContents() OVERRIDE; 351 // virtual WebContents* GetAsWebContents() OVERRIDE;
351 virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE; 352 virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE;
352 virtual void RenderViewCreated(RenderViewHost* render_view_host) OVERRIDE; 353 virtual void RenderViewCreated(RenderViewHost* render_view_host) OVERRIDE;
(...skipping 734 matching lines...) Expand 10 before | Expand all | Expand 10 after
1087 1088
1088 // Whether the last JavaScript dialog shown was suppressed. Used for testing. 1089 // Whether the last JavaScript dialog shown was suppressed. Used for testing.
1089 bool last_dialog_suppressed_; 1090 bool last_dialog_suppressed_;
1090 1091
1091 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); 1092 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl);
1092 }; 1093 };
1093 1094
1094 } // namespace content 1095 } // namespace content
1095 1096
1096 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1097 #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