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

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

Issue 2394653002: Disable download for overlay panel content (Closed)
Patch Set: rebase Created 4 years, 2 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 #include "content/browser/renderer_host/render_view_host_delegate.h" 5 #include "content/browser/renderer_host/render_view_host_delegate.h"
6 6
7 #include "content/public/common/web_preferences.h" 7 #include "content/public/common/web_preferences.h"
8 #include "url/gurl.h" 8 #include "url/gurl.h"
9 9
10 namespace content { 10 namespace content {
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 } 49 }
50 50
51 bool RenderViewHostDelegate::IsOverridingUserAgent() { 51 bool RenderViewHostDelegate::IsOverridingUserAgent() {
52 return false; 52 return false;
53 } 53 }
54 54
55 bool RenderViewHostDelegate::IsJavaScriptDialogShowing() const { 55 bool RenderViewHostDelegate::IsJavaScriptDialogShowing() const {
56 return false; 56 return false;
57 } 57 }
58 58
59 bool RenderViewHostDelegate::HideDownloadUI() const {
60 return false;
61 }
62
59 } // namespace content 63 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_view_host_delegate.h ('k') | content/browser/renderer_host/render_view_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698