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

Side by Side Diff: extensions/browser/extension_host.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
« no previous file with comments | « content/renderer/render_widget_unittest.cc ('k') | extensions/browser/extension_host.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 EXTENSIONS_BROWSER_EXTENSION_HOST_H_ 5 #ifndef EXTENSIONS_BROWSER_EXTENSION_HOST_H_
6 #define EXTENSIONS_BROWSER_EXTENSION_HOST_H_ 6 #define EXTENSIONS_BROWSER_EXTENSION_HOST_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 content::WebContents* new_contents, 94 content::WebContents* new_contents,
95 WindowOpenDisposition disposition, 95 WindowOpenDisposition disposition,
96 const gfx::Rect& initial_pos, 96 const gfx::Rect& initial_pos,
97 bool user_gesture, 97 bool user_gesture,
98 bool* was_blocked) OVERRIDE; 98 bool* was_blocked) OVERRIDE;
99 virtual void CloseContents(content::WebContents* contents) OVERRIDE; 99 virtual void CloseContents(content::WebContents* contents) OVERRIDE;
100 virtual void RequestMediaAccessPermission( 100 virtual void RequestMediaAccessPermission(
101 content::WebContents* web_contents, 101 content::WebContents* web_contents,
102 const content::MediaStreamRequest& request, 102 const content::MediaStreamRequest& request,
103 const content::MediaResponseCallback& callback) OVERRIDE; 103 const content::MediaResponseCallback& callback) OVERRIDE;
104 virtual bool IsNeverVisible(content::WebContents* web_contents) OVERRIDE;
104 105
105 // content::NotificationObserver 106 // content::NotificationObserver
106 virtual void Observe(int type, 107 virtual void Observe(int type,
107 const content::NotificationSource& source, 108 const content::NotificationSource& source,
108 const content::NotificationDetails& details) OVERRIDE; 109 const content::NotificationDetails& details) OVERRIDE;
109 110
110 protected: 111 protected:
111 content::NotificationRegistrar* registrar() { return &registrar_; } 112 content::NotificationRegistrar* registrar() { return &registrar_; }
112 113
113 // Called after the extension page finishes loading but before the 114 // Called after the extension page finishes loading but before the
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 177
177 // Used to measure how long it's been since the host was created. 178 // Used to measure how long it's been since the host was created.
178 base::ElapsedTimer since_created_; 179 base::ElapsedTimer since_created_;
179 180
180 DISALLOW_COPY_AND_ASSIGN(ExtensionHost); 181 DISALLOW_COPY_AND_ASSIGN(ExtensionHost);
181 }; 182 };
182 183
183 } // namespace extensions 184 } // namespace extensions
184 185
185 #endif // EXTENSIONS_BROWSER_EXTENSION_HOST_H_ 186 #endif // EXTENSIONS_BROWSER_EXTENSION_HOST_H_
OLDNEW
« no previous file with comments | « content/renderer/render_widget_unittest.cc ('k') | extensions/browser/extension_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698