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

Side by Side Diff: content/browser/renderer_host/render_view_host_delegate.h

Issue 2692903002: Don't show media controls when there is a persistent video. (Closed)
Patch Set: cleanup and tests Created 3 years, 10 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
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_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 178
179 // Whether the user agent is overridden using the Chrome for Android "Request 179 // Whether the user agent is overridden using the Chrome for Android "Request
180 // Desktop Site" feature. 180 // Desktop Site" feature.
181 virtual bool IsOverridingUserAgent(); 181 virtual bool IsOverridingUserAgent();
182 182
183 virtual bool IsJavaScriptDialogShowing() const; 183 virtual bool IsJavaScriptDialogShowing() const;
184 184
185 // Whether download UI should be hidden. 185 // Whether download UI should be hidden.
186 virtual bool HideDownloadUI() const; 186 virtual bool HideDownloadUI() const;
187 187
188 // Returns whether the WebContonts as a persisent video.
whywhat 2017/02/13 19:28:49 nit: s/WebContonts/WebContents; s/persisent/persis
mlamouri (slow - plz ping) 2017/02/14 11:19:46 Done.
189 virtual bool HasPersistentVideo() const;
190
188 protected: 191 protected:
189 virtual ~RenderViewHostDelegate() {} 192 virtual ~RenderViewHostDelegate() {}
190 }; 193 };
191 194
192 } // namespace content 195 } // namespace content
193 196
194 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 197 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698