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_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 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
302 const content::Referrer& referrer, | 302 const content::Referrer& referrer, |
303 WindowOpenDisposition disposition, | 303 WindowOpenDisposition disposition, |
304 int64 source_frame_id) OVERRIDE; | 304 int64 source_frame_id) OVERRIDE; |
305 virtual void RequestTransferURL( | 305 virtual void RequestTransferURL( |
306 const GURL& url, | 306 const GURL& url, |
307 const content::Referrer& referrer, | 307 const content::Referrer& referrer, |
308 WindowOpenDisposition disposition, | 308 WindowOpenDisposition disposition, |
309 int64 source_frame_id, | 309 int64 source_frame_id, |
310 const content::GlobalRequestID& transferred_global_request_id) OVERRIDE; | 310 const content::GlobalRequestID& transferred_global_request_id) OVERRIDE; |
311 virtual void RouteCloseEvent(content::RenderViewHost* rvh) OVERRIDE; | 311 virtual void RouteCloseEvent(content::RenderViewHost* rvh) OVERRIDE; |
| 312 virtual bool ShouldIgnoreNavigation( |
| 313 content::RenderViewHost* rvh, |
| 314 const GURL& url, |
| 315 const content::Referrer& referrer, |
| 316 bool is_content_initiated) OVERRIDE; |
312 virtual void RunJavaScriptMessage(content::RenderViewHost* rvh, | 317 virtual void RunJavaScriptMessage(content::RenderViewHost* rvh, |
313 const string16& message, | 318 const string16& message, |
314 const string16& default_prompt, | 319 const string16& default_prompt, |
315 const GURL& frame_url, | 320 const GURL& frame_url, |
316 ui::JavascriptMessageType type, | 321 ui::JavascriptMessageType type, |
317 IPC::Message* reply_msg, | 322 IPC::Message* reply_msg, |
318 bool* did_suppress_message) OVERRIDE; | 323 bool* did_suppress_message) OVERRIDE; |
319 virtual void RunBeforeUnloadConfirm(content::RenderViewHost* rvh, | 324 virtual void RunBeforeUnloadConfirm(content::RenderViewHost* rvh, |
320 const string16& message, | 325 const string16& message, |
321 bool is_reload, | 326 bool is_reload, |
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
705 // Our view type. Default is VIEW_TYPE_WEB_CONTENTS. | 710 // Our view type. Default is VIEW_TYPE_WEB_CONTENTS. |
706 content::ViewType view_type_; | 711 content::ViewType view_type_; |
707 | 712 |
708 // Color chooser that was opened by this tab. | 713 // Color chooser that was opened by this tab. |
709 content::ColorChooser* color_chooser_; | 714 content::ColorChooser* color_chooser_; |
710 | 715 |
711 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 716 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
712 }; | 717 }; |
713 | 718 |
714 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 719 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |