| 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 780 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 791 HTTP_404, | 791 HTTP_404, |
| 792 CONNECTION_ERROR, | 792 CONNECTION_ERROR, |
| 793 }; | 793 }; |
| 794 | 794 |
| 795 static bool IsReload(const FrameMsg_Navigate_Params& params); | 795 static bool IsReload(const FrameMsg_Navigate_Params& params); |
| 796 | 796 |
| 797 static Referrer GetReferrerFromRequest( | 797 static Referrer GetReferrerFromRequest( |
| 798 blink::WebFrame* frame, | 798 blink::WebFrame* frame, |
| 799 const blink::WebURLRequest& request); | 799 const blink::WebURLRequest& request); |
| 800 | 800 |
| 801 static void NotifyTimezoneChange(blink::WebFrame* frame); | 801 static void NotifyTimezoneChange(); |
| 802 | 802 |
| 803 static WindowOpenDisposition NavigationPolicyToDisposition( | 803 static WindowOpenDisposition NavigationPolicyToDisposition( |
| 804 blink::WebNavigationPolicy policy); | 804 blink::WebNavigationPolicy policy); |
| 805 | 805 |
| 806 void UpdateTitle(blink::WebFrame* frame, const base::string16& title, | 806 void UpdateTitle(blink::WebFrame* frame, const base::string16& title, |
| 807 blink::WebTextDirection title_direction); | 807 blink::WebTextDirection title_direction); |
| 808 void UpdateSessionHistory(blink::WebFrame* frame); | 808 void UpdateSessionHistory(blink::WebFrame* frame); |
| 809 void SendUpdateState(const blink::WebHistoryItem& item); | 809 void SendUpdateState(const blink::WebHistoryItem& item); |
| 810 | 810 |
| 811 // Update current main frame's encoding and send it to browser window. | 811 // Update current main frame's encoding and send it to browser window. |
| (...skipping 626 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1438 // use the Observer interface to filter IPC messages and receive frame change | 1438 // use the Observer interface to filter IPC messages and receive frame change |
| 1439 // notifications. | 1439 // notifications. |
| 1440 // --------------------------------------------------------------------------- | 1440 // --------------------------------------------------------------------------- |
| 1441 | 1441 |
| 1442 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1442 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1443 }; | 1443 }; |
| 1444 | 1444 |
| 1445 } // namespace content | 1445 } // namespace content |
| 1446 | 1446 |
| 1447 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1447 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |