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 <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
409 virtual void ShowContextMenu(const ContextMenuParams& params, | 409 virtual void ShowContextMenu(const ContextMenuParams& params, |
410 ContextMenuSourceType type) {} | 410 ContextMenuSourceType type) {} |
411 | 411 |
412 // The render view has requested access to media devices listed in | 412 // The render view has requested access to media devices listed in |
413 // |request|, and the client should grant or deny that permission by | 413 // |request|, and the client should grant or deny that permission by |
414 // calling |callback|. | 414 // calling |callback|. |
415 virtual void RequestMediaAccessPermission( | 415 virtual void RequestMediaAccessPermission( |
416 const MediaStreamRequest* request, | 416 const MediaStreamRequest* request, |
417 const MediaResponseCallback& callback) {} | 417 const MediaResponseCallback& callback) {} |
418 | 418 |
| 419 // The render view wants to interactively autocomplete part of a form. |
| 420 virtual void RequestAutocomplete() {} |
| 421 |
419 #if defined(OS_ANDROID) | 422 #if defined(OS_ANDROID) |
420 virtual void AttachLayer(WebKit::WebLayer* layer) {} | 423 virtual void AttachLayer(WebKit::WebLayer* layer) {} |
421 virtual void RemoveLayer(WebKit::WebLayer* layer) {} | 424 virtual void RemoveLayer(WebKit::WebLayer* layer) {} |
422 #endif | 425 #endif |
423 | 426 |
424 protected: | 427 protected: |
425 virtual ~RenderViewHostDelegate() {} | 428 virtual ~RenderViewHostDelegate() {} |
426 }; | 429 }; |
427 | 430 |
428 } // namespace content | 431 } // namespace content |
429 | 432 |
430 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ | 433 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ |
OLD | NEW |