| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H__ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H__ |
| 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H__ | 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H__ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 397 // Notifies the Renderer that we've either displayed or hidden the popup | 397 // Notifies the Renderer that we've either displayed or hidden the popup |
| 398 // notification. | 398 // notification. |
| 399 void PopupNotificationVisibilityChanged(bool visible); | 399 void PopupNotificationVisibilityChanged(bool visible); |
| 400 | 400 |
| 401 // Called by the AutofillManager when the list of suggestions is ready. | 401 // Called by the AutofillManager when the list of suggestions is ready. |
| 402 void AutofillSuggestionsReturned(const std::vector<std::wstring>& suggestions, | 402 void AutofillSuggestionsReturned(const std::vector<std::wstring>& suggestions, |
| 403 int64 node_id, | 403 int64 node_id, |
| 404 int request_id, | 404 int request_id, |
| 405 int default_suggestion_index); | 405 int default_suggestion_index); |
| 406 | 406 |
| 407 // Notifies the Renderer that a move or resize of its containing window has |
| 408 // started (this is used to hide the autocomplete popups if any). |
| 409 void WindowMoveOrResizeStarted(); |
| 410 |
| 407 // RenderWidgetHost public overrides. | 411 // RenderWidgetHost public overrides. |
| 408 virtual void Init(); | 412 virtual void Init(); |
| 409 virtual void Shutdown(); | 413 virtual void Shutdown(); |
| 410 virtual bool IsRenderView() { return true; } | 414 virtual bool IsRenderView() { return true; } |
| 411 virtual void OnMessageReceived(const IPC::Message& msg); | 415 virtual void OnMessageReceived(const IPC::Message& msg); |
| 412 virtual bool CanBlur() const; | 416 virtual bool CanBlur() const; |
| 413 virtual gfx::Rect GetRootWindowResizerRect() const; | 417 virtual gfx::Rect GetRootWindowResizerRect() const; |
| 414 | 418 |
| 415 protected: | 419 protected: |
| 416 // RenderWidgetHost protected overrides. | 420 // RenderWidgetHost protected overrides. |
| (...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 619 virtual ~RenderViewHostFactory() {} | 623 virtual ~RenderViewHostFactory() {} |
| 620 | 624 |
| 621 virtual RenderViewHost* CreateRenderViewHost( | 625 virtual RenderViewHost* CreateRenderViewHost( |
| 622 SiteInstance* instance, | 626 SiteInstance* instance, |
| 623 RenderViewHostDelegate* delegate, | 627 RenderViewHostDelegate* delegate, |
| 624 int routing_id, | 628 int routing_id, |
| 625 base::WaitableEvent* modal_dialog_event) = 0; | 629 base::WaitableEvent* modal_dialog_event) = 0; |
| 626 }; | 630 }; |
| 627 | 631 |
| 628 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H__ | 632 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H__ |
| OLD | NEW |