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

Side by Side Diff: chrome/browser/tab_contents/background_contents.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) 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_TAB_CONTENTS_BACKGROUND_CONTENTS_H_ 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_BACKGROUND_CONTENTS_H_
6 #define CHROME_BROWSER_TAB_CONTENTS_BACKGROUND_CONTENTS_H_ 6 #define CHROME_BROWSER_TAB_CONTENTS_BACKGROUND_CONTENTS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 virtual void CloseContents(content::WebContents* source) OVERRIDE; 58 virtual void CloseContents(content::WebContents* source) OVERRIDE;
59 virtual bool ShouldSuppressDialogs() OVERRIDE; 59 virtual bool ShouldSuppressDialogs() OVERRIDE;
60 virtual void DidNavigateMainFramePostCommit( 60 virtual void DidNavigateMainFramePostCommit(
61 content::WebContents* tab) OVERRIDE; 61 content::WebContents* tab) OVERRIDE;
62 virtual void AddNewContents(content::WebContents* source, 62 virtual void AddNewContents(content::WebContents* source,
63 content::WebContents* new_contents, 63 content::WebContents* new_contents,
64 WindowOpenDisposition disposition, 64 WindowOpenDisposition disposition,
65 const gfx::Rect& initial_pos, 65 const gfx::Rect& initial_pos,
66 bool user_gesture, 66 bool user_gesture,
67 bool* was_blocked) OVERRIDE; 67 bool* was_blocked) OVERRIDE;
68 virtual bool IsNeverVisible(content::WebContents* web_contents) OVERRIDE;
68 69
69 // content::WebContentsObserver implementation: 70 // content::WebContentsObserver implementation:
70 virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE; 71 virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE;
71 72
72 // content::NotificationObserver 73 // content::NotificationObserver
73 virtual void Observe(int type, 74 virtual void Observe(int type,
74 const content::NotificationSource& source, 75 const content::NotificationSource& source,
75 const content::NotificationDetails& details) OVERRIDE; 76 const content::NotificationDetails& details) OVERRIDE;
76 77
77 protected: 78 protected:
(...skipping 17 matching lines...) Expand all
95 BackgroundContents* contents; 96 BackgroundContents* contents;
96 97
97 // The name of the parent frame for these contents. 98 // The name of the parent frame for these contents.
98 const base::string16& frame_name; 99 const base::string16& frame_name;
99 100
100 // The ID of the parent application (if any). 101 // The ID of the parent application (if any).
101 const base::string16& application_id; 102 const base::string16& application_id;
102 }; 103 };
103 104
104 #endif // CHROME_BROWSER_TAB_CONTENTS_BACKGROUND_CONTENTS_H_ 105 #endif // CHROME_BROWSER_TAB_CONTENTS_BACKGROUND_CONTENTS_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/gpu_browsertest.cc ('k') | chrome/browser/tab_contents/background_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698