OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |