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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <deque> | 9 #include <deque> |
10 #include <map> | 10 #include <map> |
(...skipping 626 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
637 WebKit::WebFrame* frame, | 637 WebKit::WebFrame* frame, |
638 const WebKit::WebIntentServiceInfo& service); | 638 const WebKit::WebIntentServiceInfo& service); |
639 virtual void dispatchIntent(WebKit::WebFrame* frame, | 639 virtual void dispatchIntent(WebKit::WebFrame* frame, |
640 const WebKit::WebIntentRequest& intentRequest); | 640 const WebKit::WebIntentRequest& intentRequest); |
641 virtual void willOpenSocketStream( | 641 virtual void willOpenSocketStream( |
642 WebKit::WebSocketStreamHandle* handle); | 642 WebKit::WebSocketStreamHandle* handle); |
643 virtual bool willCheckAndDispatchMessageEvent( | 643 virtual bool willCheckAndDispatchMessageEvent( |
644 WebKit::WebFrame* source, | 644 WebKit::WebFrame* source, |
645 WebKit::WebSecurityOrigin targetOrigin, | 645 WebKit::WebSecurityOrigin targetOrigin, |
646 WebKit::WebDOMMessageEvent event) OVERRIDE; | 646 WebKit::WebDOMMessageEvent event) OVERRIDE; |
| 647 virtual WebKit::WebString userAgentOverride( |
| 648 WebKit::WebFrame* frame, |
| 649 const WebKit::WebURL& url) OVERRIDE; |
647 | 650 |
648 // WebKit::WebPageSerializerClient implementation ---------------------------- | 651 // WebKit::WebPageSerializerClient implementation ---------------------------- |
649 | 652 |
650 virtual void didSerializeDataForFrame( | 653 virtual void didSerializeDataForFrame( |
651 const WebKit::WebURL& frame_url, | 654 const WebKit::WebURL& frame_url, |
652 const WebKit::WebCString& data, | 655 const WebKit::WebCString& data, |
653 PageSerializationStatus status) OVERRIDE; | 656 PageSerializationStatus status) OVERRIDE; |
654 | 657 |
655 // content::RenderView implementation ---------------------------------------- | 658 // content::RenderView implementation ---------------------------------------- |
656 | 659 |
(...skipping 774 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1431 // bunch of stuff, you should probably create a helper class and put your | 1434 // bunch of stuff, you should probably create a helper class and put your |
1432 // data and methods on that to avoid bloating RenderView more. You can | 1435 // data and methods on that to avoid bloating RenderView more. You can |
1433 // use the Observer interface to filter IPC messages and receive frame change | 1436 // use the Observer interface to filter IPC messages and receive frame change |
1434 // notifications. | 1437 // notifications. |
1435 // --------------------------------------------------------------------------- | 1438 // --------------------------------------------------------------------------- |
1436 | 1439 |
1437 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1440 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1438 }; | 1441 }; |
1439 | 1442 |
1440 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1443 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |