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 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
230 // created by the RenderViewHost. | 230 // created by the RenderViewHost. |
231 virtual FrameTree* GetFrameTree(); | 231 virtual FrameTree* GetFrameTree(); |
232 | 232 |
233 // Optional state storage for if the Virtual Keyboard has been requested by | 233 // Optional state storage for if the Virtual Keyboard has been requested by |
234 // this page or not. If it has, this can be used to suppress things like the | 234 // this page or not. If it has, this can be used to suppress things like the |
235 // link disambiguation dialog, which doesn't interact well with the virtual | 235 // link disambiguation dialog, which doesn't interact well with the virtual |
236 // keyboard. | 236 // keyboard. |
237 virtual void SetIsVirtualKeyboardRequested(bool requested) {} | 237 virtual void SetIsVirtualKeyboardRequested(bool requested) {} |
238 virtual bool IsVirtualKeyboardRequested(); | 238 virtual bool IsVirtualKeyboardRequested(); |
239 | 239 |
240 // Whether the user agent is overridden using the Android "Request Desktop | |
nasko
2016/03/18 21:05:25
nit: Technically the feature is of Chrome-on-Andro
aelias_OOO_until_Jul13
2016/03/18 22:49:18
Fixed.
| |
241 // Site" feature. | |
242 virtual bool IsOverridingUserAgent(); | |
243 | |
240 protected: | 244 protected: |
241 virtual ~RenderViewHostDelegate() {} | 245 virtual ~RenderViewHostDelegate() {} |
242 }; | 246 }; |
243 | 247 |
244 } // namespace content | 248 } // namespace content |
245 | 249 |
246 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 250 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
OLD | NEW |