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_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
446 void OnMsgDidStopLoading(); | 446 void OnMsgDidStopLoading(); |
447 void OnMsgDidChangeLoadProgress(double load_progress); | 447 void OnMsgDidChangeLoadProgress(double load_progress); |
448 void OnMsgDocumentAvailableInMainFrame(); | 448 void OnMsgDocumentAvailableInMainFrame(); |
449 void OnMsgDocumentOnLoadCompletedInMainFrame(int32 page_id); | 449 void OnMsgDocumentOnLoadCompletedInMainFrame(int32 page_id); |
450 void OnMsgContextMenu(const ContextMenuParams& params); | 450 void OnMsgContextMenu(const ContextMenuParams& params); |
451 void OnMsgToggleFullscreen(bool enter_fullscreen); | 451 void OnMsgToggleFullscreen(bool enter_fullscreen); |
452 void OnMsgOpenURL(const GURL& url, | 452 void OnMsgOpenURL(const GURL& url, |
453 const Referrer& referrer, | 453 const Referrer& referrer, |
454 WindowOpenDisposition disposition, | 454 WindowOpenDisposition disposition, |
455 int64 source_frame_id); | 455 int64 source_frame_id); |
| 456 void OnMsgShouldIgnoreNavigation(const GURL& url, |
| 457 const content::Referrer& referrer, |
| 458 WindowOpenDisposition disposition, |
| 459 int64 source_frame_id, |
| 460 bool is_content_initiated, |
| 461 bool* result); |
456 void OnMsgDidContentsPreferredSizeChange(const gfx::Size& new_size); | 462 void OnMsgDidContentsPreferredSizeChange(const gfx::Size& new_size); |
457 void OnMsgDidChangeScrollbarsForMainFrame(bool has_horizontal_scrollbar, | 463 void OnMsgDidChangeScrollbarsForMainFrame(bool has_horizontal_scrollbar, |
458 bool has_vertical_scrollbar); | 464 bool has_vertical_scrollbar); |
459 void OnMsgDidChangeScrollOffsetPinningForMainFrame(bool is_pinned_to_left, | 465 void OnMsgDidChangeScrollOffsetPinningForMainFrame(bool is_pinned_to_left, |
460 bool is_pinned_to_right); | 466 bool is_pinned_to_right); |
461 void OnMsgDidChangeNumWheelEvents(int count); | 467 void OnMsgDidChangeNumWheelEvents(int count); |
462 void OnMsgSelectionChanged(const string16& text, | 468 void OnMsgSelectionChanged(const string16& text, |
463 size_t offset, | 469 size_t offset, |
464 const ui::Range& range); | 470 const ui::Range& range); |
465 void OnMsgSelectionBoundsChanged(const gfx::Rect& start_rect, | 471 void OnMsgSelectionBoundsChanged(const gfx::Rect& start_rect, |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
623 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); | 629 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); |
624 }; | 630 }; |
625 | 631 |
626 #if defined(COMPILER_MSVC) | 632 #if defined(COMPILER_MSVC) |
627 #pragma warning(pop) | 633 #pragma warning(pop) |
628 #endif | 634 #endif |
629 | 635 |
630 } // namespace content | 636 } // namespace content |
631 | 637 |
632 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 638 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
OLD | NEW |