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

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: WebContentsDelegate 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 IsWebContentsNeverVisible(content::WebContents* web_contents)
69 OVERRIDE;
jam 2014/04/14 22:43:01 nit: don't start a line with OVERRIDE. see recent
danakj 2014/04/14 22:47:30 Yup. Will fix.
68 70
69 // content::WebContentsObserver implementation: 71 // content::WebContentsObserver implementation:
70 virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE; 72 virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE;
71 73
72 // content::NotificationObserver 74 // content::NotificationObserver
73 virtual void Observe(int type, 75 virtual void Observe(int type,
74 const content::NotificationSource& source, 76 const content::NotificationSource& source,
75 const content::NotificationDetails& details) OVERRIDE; 77 const content::NotificationDetails& details) OVERRIDE;
76 78
77 protected: 79 protected:
(...skipping 17 matching lines...) Expand all
95 BackgroundContents* contents; 97 BackgroundContents* contents;
96 98
97 // The name of the parent frame for these contents. 99 // The name of the parent frame for these contents.
98 const base::string16& frame_name; 100 const base::string16& frame_name;
99 101
100 // The ID of the parent application (if any). 102 // The ID of the parent application (if any).
101 const base::string16& application_id; 103 const base::string16& application_id;
102 }; 104 };
103 105
104 #endif // CHROME_BROWSER_TAB_CONTENTS_BACKGROUND_CONTENTS_H_ 106 #endif // CHROME_BROWSER_TAB_CONTENTS_BACKGROUND_CONTENTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698