| 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 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 // this page or not. If it has, this can be used to suppress things like the | 233 // this page or not. If it has, this can be used to suppress things like the |
| 234 // link disambiguation dialog, which doesn't interact well with the virtual | 234 // link disambiguation dialog, which doesn't interact well with the virtual |
| 235 // keyboard. | 235 // keyboard. |
| 236 virtual void SetIsVirtualKeyboardRequested(bool requested) {} | 236 virtual void SetIsVirtualKeyboardRequested(bool requested) {} |
| 237 virtual bool IsVirtualKeyboardRequested(); | 237 virtual bool IsVirtualKeyboardRequested(); |
| 238 | 238 |
| 239 // Whether the user agent is overridden using the Chrome for Android "Request | 239 // Whether the user agent is overridden using the Chrome for Android "Request |
| 240 // Desktop Site" feature. | 240 // Desktop Site" feature. |
| 241 virtual bool IsOverridingUserAgent(); | 241 virtual bool IsOverridingUserAgent(); |
| 242 | 242 |
| 243 virtual bool IsJavaScriptDialogShowing() const; |
| 244 |
| 243 protected: | 245 protected: |
| 244 virtual ~RenderViewHostDelegate() {} | 246 virtual ~RenderViewHostDelegate() {} |
| 245 }; | 247 }; |
| 246 | 248 |
| 247 } // namespace content | 249 } // namespace content |
| 248 | 250 |
| 249 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 251 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
| OLD | NEW |