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 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
551 void OnDidChangeScrollbarsForMainFrame(bool has_horizontal_scrollbar, | 551 void OnDidChangeScrollbarsForMainFrame(bool has_horizontal_scrollbar, |
552 bool has_vertical_scrollbar); | 552 bool has_vertical_scrollbar); |
553 void OnDidChangeScrollOffsetPinningForMainFrame(bool is_pinned_to_left, | 553 void OnDidChangeScrollOffsetPinningForMainFrame(bool is_pinned_to_left, |
554 bool is_pinned_to_right); | 554 bool is_pinned_to_right); |
555 void OnDidChangeNumWheelEvents(int count); | 555 void OnDidChangeNumWheelEvents(int count); |
556 void OnSelectionChanged(const base::string16& text, | 556 void OnSelectionChanged(const base::string16& text, |
557 size_t offset, | 557 size_t offset, |
558 const gfx::Range& range); | 558 const gfx::Range& range); |
559 void OnSelectionBoundsChanged( | 559 void OnSelectionBoundsChanged( |
560 const ViewHostMsg_SelectionBounds_Params& params); | 560 const ViewHostMsg_SelectionBounds_Params& params); |
| 561 #if defined(OS_ANDROID) |
| 562 void OnSelectionRootBoundsChanged(const gfx::Rect& bounds); |
| 563 #endif |
561 void OnPasteFromSelectionClipboard(); | 564 void OnPasteFromSelectionClipboard(); |
562 void OnRouteCloseEvent(); | 565 void OnRouteCloseEvent(); |
563 void OnRouteMessageEvent(const ViewMsg_PostMessage_Params& params); | 566 void OnRouteMessageEvent(const ViewMsg_PostMessage_Params& params); |
564 void OnRunJavaScriptMessage(const base::string16& message, | 567 void OnRunJavaScriptMessage(const base::string16& message, |
565 const base::string16& default_prompt, | 568 const base::string16& default_prompt, |
566 const GURL& frame_url, | 569 const GURL& frame_url, |
567 JavaScriptMessageType type, | 570 JavaScriptMessageType type, |
568 IPC::Message* reply_msg); | 571 IPC::Message* reply_msg); |
569 void OnRunBeforeUnloadConfirm(const GURL& frame_url, | 572 void OnRunBeforeUnloadConfirm(const GURL& frame_url, |
570 const base::string16& message, | 573 const base::string16& message, |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
735 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); | 738 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); |
736 }; | 739 }; |
737 | 740 |
738 #if defined(COMPILER_MSVC) | 741 #if defined(COMPILER_MSVC) |
739 #pragma warning(pop) | 742 #pragma warning(pop) |
740 #endif | 743 #endif |
741 | 744 |
742 } // namespace content | 745 } // namespace content |
743 | 746 |
744 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 747 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
OLD | NEW |