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_RENDERER_RENDER_VIEW_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
7 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
(...skipping 565 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
576 | 576 |
577 // Old WebFrameClient implementations ---------------------------------------- | 577 // Old WebFrameClient implementations ---------------------------------------- |
578 | 578 |
579 // RenderViewImpl used to be a WebFrameClient, but now RenderFrameImpl is the | 579 // RenderViewImpl used to be a WebFrameClient, but now RenderFrameImpl is the |
580 // WebFrameClient. However, many implementations of WebFrameClient methods | 580 // WebFrameClient. However, many implementations of WebFrameClient methods |
581 // still live here and are called from RenderFrameImpl. These implementations | 581 // still live here and are called from RenderFrameImpl. These implementations |
582 // are to be moved to RenderFrameImpl <http://crbug.com/361761>. | 582 // are to be moved to RenderFrameImpl <http://crbug.com/361761>. |
583 | 583 |
584 void didCreateDataSource(blink::WebLocalFrame* frame, | 584 void didCreateDataSource(blink::WebLocalFrame* frame, |
585 blink::WebDataSource* datasource); | 585 blink::WebDataSource* datasource); |
586 void didClearWindowObject(blink::WebLocalFrame* frame); | |
587 void didChangeIcon(blink::WebLocalFrame*, blink::WebIconURL::Type); | 586 void didChangeIcon(blink::WebLocalFrame*, blink::WebIconURL::Type); |
588 void didUpdateCurrentHistoryItem(blink::WebLocalFrame* frame); | 587 void didUpdateCurrentHistoryItem(blink::WebLocalFrame* frame); |
589 void didChangeScrollOffset(blink::WebLocalFrame* frame); | 588 void didChangeScrollOffset(blink::WebLocalFrame* frame); |
590 | 589 |
591 static bool IsReload(FrameMsg_Navigate_Type::Value navigation_type); | 590 static bool IsReload(FrameMsg_Navigate_Type::Value navigation_type); |
592 | 591 |
593 static Referrer GetReferrerFromRequest( | 592 static Referrer GetReferrerFromRequest( |
594 blink::WebFrame* frame, | 593 blink::WebFrame* frame, |
595 const blink::WebURLRequest& request); | 594 const blink::WebURLRequest& request); |
596 | 595 |
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1046 // use the Observer interface to filter IPC messages and receive frame change | 1045 // use the Observer interface to filter IPC messages and receive frame change |
1047 // notifications. | 1046 // notifications. |
1048 // --------------------------------------------------------------------------- | 1047 // --------------------------------------------------------------------------- |
1049 | 1048 |
1050 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1049 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1051 }; | 1050 }; |
1052 | 1051 |
1053 } // namespace content | 1052 } // namespace content |
1054 | 1053 |
1055 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1054 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |