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 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
304 const content::Referrer& referrer, | 304 const content::Referrer& referrer, |
305 WindowOpenDisposition disposition, | 305 WindowOpenDisposition disposition, |
306 int64 source_frame_id) OVERRIDE; | 306 int64 source_frame_id) OVERRIDE; |
307 virtual void RequestTransferURL( | 307 virtual void RequestTransferURL( |
308 const GURL& url, | 308 const GURL& url, |
309 const content::Referrer& referrer, | 309 const content::Referrer& referrer, |
310 WindowOpenDisposition disposition, | 310 WindowOpenDisposition disposition, |
311 int64 source_frame_id, | 311 int64 source_frame_id, |
312 const content::GlobalRequestID& transferred_global_request_id) OVERRIDE; | 312 const content::GlobalRequestID& transferred_global_request_id) OVERRIDE; |
313 virtual void RouteCloseEvent(content::RenderViewHost* rvh) OVERRIDE; | 313 virtual void RouteCloseEvent(content::RenderViewHost* rvh) 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 387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
711 // Type of view this WebContents is displaying. | 716 // Type of view this WebContents is displaying. |
712 content::ViewType view_type_; | 717 content::ViewType view_type_; |
713 | 718 |
714 // Color chooser that was opened by this tab. | 719 // Color chooser that was opened by this tab. |
715 content::ColorChooser* color_chooser_; | 720 content::ColorChooser* color_chooser_; |
716 | 721 |
717 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 722 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
718 }; | 723 }; |
719 | 724 |
720 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 725 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |