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_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
460 virtual bool IsFullscreen() const OVERRIDE; | 460 virtual bool IsFullscreen() const OVERRIDE; |
461 virtual void OnFocus() OVERRIDE; | 461 virtual void OnFocus() OVERRIDE; |
462 virtual void OnBlur() OVERRIDE; | 462 virtual void OnBlur() OVERRIDE; |
463 | 463 |
464 // IPC message handlers. | 464 // IPC message handlers. |
465 void OnShowView(int route_id, | 465 void OnShowView(int route_id, |
466 WindowOpenDisposition disposition, | 466 WindowOpenDisposition disposition, |
467 const gfx::Rect& initial_pos, | 467 const gfx::Rect& initial_pos, |
468 bool user_gesture); | 468 bool user_gesture); |
469 void OnShowWidget(int route_id, const gfx::Rect& initial_pos); | 469 void OnShowWidget(int route_id, const gfx::Rect& initial_pos); |
| 470 void OnDidProgrammaticallyScroll(const gfx::Point& scroll_point); |
470 void OnShowFullscreenWidget(int route_id); | 471 void OnShowFullscreenWidget(int route_id); |
471 void OnRunModal(int opener_id, IPC::Message* reply_msg); | 472 void OnRunModal(int opener_id, IPC::Message* reply_msg); |
472 void OnRenderViewReady(); | 473 void OnRenderViewReady(); |
473 void OnRenderViewGone(int status, int error_code); | 474 void OnRenderViewGone(int status, int error_code); |
474 void OnDidStartProvisionalLoadForFrame(int64 frame_id, | 475 void OnDidStartProvisionalLoadForFrame(int64 frame_id, |
475 int64 parent_frame_id, | 476 int64 parent_frame_id, |
476 bool main_frame, | 477 bool main_frame, |
477 const GURL& url); | 478 const GURL& url); |
478 void OnDidRedirectProvisionalLoad(int32 page_id, | 479 void OnDidRedirectProvisionalLoad(int32 page_id, |
479 const GURL& source_url, | 480 const GURL& source_url, |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
695 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); | 696 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); |
696 }; | 697 }; |
697 | 698 |
698 #if defined(COMPILER_MSVC) | 699 #if defined(COMPILER_MSVC) |
699 #pragma warning(pop) | 700 #pragma warning(pop) |
700 #endif | 701 #endif |
701 | 702 |
702 } // namespace content | 703 } // namespace content |
703 | 704 |
704 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 705 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
OLD | NEW |