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

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

Issue 2394653002: Disable download for overlay panel content (Closed)
Patch Set: rebase Created 4 years, 1 month 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 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 // keyboard. 234 // keyboard.
235 virtual void SetIsVirtualKeyboardRequested(bool requested) {} 235 virtual void SetIsVirtualKeyboardRequested(bool requested) {}
236 virtual bool IsVirtualKeyboardRequested(); 236 virtual bool IsVirtualKeyboardRequested();
237 237
238 // Whether the user agent is overridden using the Chrome for Android "Request 238 // Whether the user agent is overridden using the Chrome for Android "Request
239 // Desktop Site" feature. 239 // Desktop Site" feature.
240 virtual bool IsOverridingUserAgent(); 240 virtual bool IsOverridingUserAgent();
241 241
242 virtual bool IsJavaScriptDialogShowing() const; 242 virtual bool IsJavaScriptDialogShowing() const;
243 243
244 // Whether download UI should be hidden.
245 virtual bool HideDownloadUI() const;
246
244 protected: 247 protected:
245 virtual ~RenderViewHostDelegate() {} 248 virtual ~RenderViewHostDelegate() {}
246 }; 249 };
247 250
248 } // namespace content 251 } // namespace content
249 252
250 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 253 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/android/bottombar/overlay_panel_content.cc ('k') | content/browser/renderer_host/render_view_host_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698