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

Side by Side Diff: content/browser/web_contents/web_contents_impl.h

Issue 10310124: Implement a ResourceThrottle for URL overriding in Chrome on Android. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fix layering problem with unittest Created 8 years, 7 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
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_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 virtual void RequestTransferURL( 304 virtual void RequestTransferURL(
305 const GURL& url, 305 const GURL& url,
306 const content::Referrer& referrer, 306 const content::Referrer& referrer,
307 WindowOpenDisposition disposition, 307 WindowOpenDisposition disposition,
308 int64 source_frame_id, 308 int64 source_frame_id,
309 const content::GlobalRequestID& transferred_global_request_id) OVERRIDE; 309 const content::GlobalRequestID& transferred_global_request_id) OVERRIDE;
310 virtual void RouteCloseEvent(content::RenderViewHost* rvh) OVERRIDE; 310 virtual void RouteCloseEvent(content::RenderViewHost* rvh) OVERRIDE;
311 virtual void RouteMessageEvent( 311 virtual void RouteMessageEvent(
312 content::RenderViewHost* rvh, 312 content::RenderViewHost* rvh,
313 const ViewMsg_PostMessage_Params& params) OVERRIDE; 313 const ViewMsg_PostMessage_Params& params) OVERRIDE;
314 virtual bool ShouldIgnoreNavigation(
315 content::RenderViewHost* rvh,
316 const GURL& url,
317 const content::Referrer& referrer,
318 bool is_content_initiated) OVERRIDE;
314 virtual void RunJavaScriptMessage(content::RenderViewHost* rvh, 319 virtual void RunJavaScriptMessage(content::RenderViewHost* rvh,
315 const string16& message, 320 const string16& message,
316 const string16& default_prompt, 321 const string16& default_prompt,
317 const GURL& frame_url, 322 const GURL& frame_url,
318 ui::JavascriptMessageType type, 323 ui::JavascriptMessageType type,
319 IPC::Message* reply_msg, 324 IPC::Message* reply_msg,
320 bool* did_suppress_message) OVERRIDE; 325 bool* did_suppress_message) OVERRIDE;
321 virtual void RunBeforeUnloadConfirm(content::RenderViewHost* rvh, 326 virtual void RunBeforeUnloadConfirm(content::RenderViewHost* rvh,
322 const string16& message, 327 const string16& message,
323 bool is_reload, 328 bool is_reload,
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
714 // Type of view this WebContents is displaying. 719 // Type of view this WebContents is displaying.
715 content::ViewType view_type_; 720 content::ViewType view_type_;
716 721
717 // Color chooser that was opened by this tab. 722 // Color chooser that was opened by this tab.
718 content::ColorChooser* color_chooser_; 723 content::ColorChooser* color_chooser_;
719 724
720 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); 725 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl);
721 }; 726 };
722 727
723 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 728 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698