Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Side by Side Diff: content/renderer/render_view_impl.h

Issue 10450002: Transfer user agent override info between browser and renderer (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Default to not overriding in prerender config Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/public/renderer/document_state.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 633 matching lines...) Expand 10 before | Expand all | Expand 10 after
644 WebKit::WebFrame* frame, 644 WebKit::WebFrame* frame,
645 const WebKit::WebIntentServiceInfo& service); 645 const WebKit::WebIntentServiceInfo& service);
646 virtual void dispatchIntent(WebKit::WebFrame* frame, 646 virtual void dispatchIntent(WebKit::WebFrame* frame,
647 const WebKit::WebIntentRequest& intentRequest); 647 const WebKit::WebIntentRequest& intentRequest);
648 virtual void willOpenSocketStream( 648 virtual void willOpenSocketStream(
649 WebKit::WebSocketStreamHandle* handle); 649 WebKit::WebSocketStreamHandle* handle);
650 virtual bool willCheckAndDispatchMessageEvent( 650 virtual bool willCheckAndDispatchMessageEvent(
651 WebKit::WebFrame* source, 651 WebKit::WebFrame* source,
652 WebKit::WebSecurityOrigin targetOrigin, 652 WebKit::WebSecurityOrigin targetOrigin,
653 WebKit::WebDOMMessageEvent event) OVERRIDE; 653 WebKit::WebDOMMessageEvent event) OVERRIDE;
654 virtual WebKit::WebString userAgentOverride(
655 WebKit::WebFrame* frame,
656 const WebKit::WebURL& url) OVERRIDE;
654 657
655 // WebKit::WebPageSerializerClient implementation ---------------------------- 658 // WebKit::WebPageSerializerClient implementation ----------------------------
656 659
657 virtual void didSerializeDataForFrame( 660 virtual void didSerializeDataForFrame(
658 const WebKit::WebURL& frame_url, 661 const WebKit::WebURL& frame_url,
659 const WebKit::WebCString& data, 662 const WebKit::WebCString& data,
660 PageSerializationStatus status) OVERRIDE; 663 PageSerializationStatus status) OVERRIDE;
661 664
662 // content::RenderView implementation ---------------------------------------- 665 // content::RenderView implementation ----------------------------------------
663 666
(...skipping 768 matching lines...) Expand 10 before | Expand all | Expand 10 after
1432 // bunch of stuff, you should probably create a helper class and put your 1435 // bunch of stuff, you should probably create a helper class and put your
1433 // data and methods on that to avoid bloating RenderView more. You can 1436 // data and methods on that to avoid bloating RenderView more. You can
1434 // use the Observer interface to filter IPC messages and receive frame change 1437 // use the Observer interface to filter IPC messages and receive frame change
1435 // notifications. 1438 // notifications.
1436 // --------------------------------------------------------------------------- 1439 // ---------------------------------------------------------------------------
1437 1440
1438 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1441 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1439 }; 1442 };
1440 1443
1441 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1444 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « content/public/renderer/document_state.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698