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

Side by Side Diff: chrome/browser/extensions/api/tab_capture/offscreen_tab.h

Issue 1980633002: Remove unused routing ID param from Did(Show|Destroy)FullscreenWidget. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
« no previous file with comments | « no previous file | chrome/browser/extensions/api/tab_capture/offscreen_tab.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_EXTENSIONS_API_TAB_CAPTURE_OFFSCREEN_TAB_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_TAB_CAPTURE_OFFSCREEN_TAB_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_TAB_CAPTURE_OFFSCREEN_TAB_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_TAB_CAPTURE_OFFSCREEN_TAB_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 const content::WebContents* contents) const final; 160 const content::WebContents* contents) const final;
161 void RequestMediaAccessPermission( 161 void RequestMediaAccessPermission(
162 content::WebContents* contents, 162 content::WebContents* contents,
163 const content::MediaStreamRequest& request, 163 const content::MediaStreamRequest& request,
164 const content::MediaResponseCallback& callback) final; 164 const content::MediaResponseCallback& callback) final;
165 bool CheckMediaAccessPermission(content::WebContents* contents, 165 bool CheckMediaAccessPermission(content::WebContents* contents,
166 const GURL& security_origin, 166 const GURL& security_origin,
167 content::MediaStreamType type) final; 167 content::MediaStreamType type) final;
168 168
169 // content::WebContentsObserver overrides 169 // content::WebContentsObserver overrides
170 void DidShowFullscreenWidget(int routing_id) final; 170 void DidShowFullscreenWidget() final;
171 171
172 private: 172 private:
173 bool in_fullscreen_mode() const { 173 bool in_fullscreen_mode() const {
174 return !non_fullscreen_size_.IsEmpty(); 174 return !non_fullscreen_size_.IsEmpty();
175 } 175 }
176 176
177 // Called by |capture_poll_timer_| to automatically destroy this OffscreenTab 177 // Called by |capture_poll_timer_| to automatically destroy this OffscreenTab
178 // when the capturer count returns to zero. 178 // when the capturer count returns to zero.
179 void DieIfContentCaptureEnded(); 179 void DieIfContentCaptureEnded();
180 180
(...skipping 29 matching lines...) Expand all
210 // This is false until after the Start() method is called, and capture of the 210 // This is false until after the Start() method is called, and capture of the
211 // |offscreen_tab_web_contents_| is first detected. 211 // |offscreen_tab_web_contents_| is first detected.
212 bool content_capture_was_detected_; 212 bool content_capture_was_detected_;
213 213
214 DISALLOW_COPY_AND_ASSIGN(OffscreenTab); 214 DISALLOW_COPY_AND_ASSIGN(OffscreenTab);
215 }; 215 };
216 216
217 } // namespace extensions 217 } // namespace extensions
218 218
219 #endif // CHROME_BROWSER_EXTENSIONS_API_TAB_CAPTURE_OFFSCREEN_TAB_H_ 219 #endif // CHROME_BROWSER_EXTENSIONS_API_TAB_CAPTURE_OFFSCREEN_TAB_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/api/tab_capture/offscreen_tab.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698