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

Side by Side Diff: content/browser/renderer_host/render_view_host_impl.h

Issue 24012002: Move Range code to gfx. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: d Created 7 years, 3 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 | Annotate | Revision Log
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_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 30 matching lines...) Expand all
41 struct ViewHostMsg_SelectionBounds_Params; 41 struct ViewHostMsg_SelectionBounds_Params;
42 struct ViewHostMsg_ShowPopup_Params; 42 struct ViewHostMsg_ShowPopup_Params;
43 struct ViewMsg_Navigate_Params; 43 struct ViewMsg_Navigate_Params;
44 struct ViewMsg_PostMessage_Params; 44 struct ViewMsg_PostMessage_Params;
45 struct ViewMsg_StopFinding_Params; 45 struct ViewMsg_StopFinding_Params;
46 46
47 namespace base { 47 namespace base {
48 class ListValue; 48 class ListValue;
49 } 49 }
50 50
51 namespace gfx {
52 class Range;
53 }
54
51 namespace ui { 55 namespace ui {
52 class Range;
53 struct SelectedFileInfo; 56 struct SelectedFileInfo;
54 } 57 }
55 58
56 namespace content { 59 namespace content {
57 60
58 class BrowserMediaPlayerManager; 61 class BrowserMediaPlayerManager;
59 class ChildProcessSecurityPolicyImpl; 62 class ChildProcessSecurityPolicyImpl;
60 class PageState; 63 class PageState;
61 class RenderFrameHostImpl; 64 class RenderFrameHostImpl;
62 class RenderViewHostObserver; 65 class RenderViewHostObserver;
(...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after
517 void OnOpenURL(const ViewHostMsg_OpenURL_Params& params); 520 void OnOpenURL(const ViewHostMsg_OpenURL_Params& params);
518 void OnDidContentsPreferredSizeChange(const gfx::Size& new_size); 521 void OnDidContentsPreferredSizeChange(const gfx::Size& new_size);
519 void OnDidChangeScrollOffset(); 522 void OnDidChangeScrollOffset();
520 void OnDidChangeScrollbarsForMainFrame(bool has_horizontal_scrollbar, 523 void OnDidChangeScrollbarsForMainFrame(bool has_horizontal_scrollbar,
521 bool has_vertical_scrollbar); 524 bool has_vertical_scrollbar);
522 void OnDidChangeScrollOffsetPinningForMainFrame(bool is_pinned_to_left, 525 void OnDidChangeScrollOffsetPinningForMainFrame(bool is_pinned_to_left,
523 bool is_pinned_to_right); 526 bool is_pinned_to_right);
524 void OnDidChangeNumWheelEvents(int count); 527 void OnDidChangeNumWheelEvents(int count);
525 void OnSelectionChanged(const string16& text, 528 void OnSelectionChanged(const string16& text,
526 size_t offset, 529 size_t offset,
527 const ui::Range& range); 530 const gfx::Range& range);
528 void OnSelectionBoundsChanged( 531 void OnSelectionBoundsChanged(
529 const ViewHostMsg_SelectionBounds_Params& params); 532 const ViewHostMsg_SelectionBounds_Params& params);
530 void OnPasteFromSelectionClipboard(); 533 void OnPasteFromSelectionClipboard();
531 void OnRouteCloseEvent(); 534 void OnRouteCloseEvent();
532 void OnRouteMessageEvent(const ViewMsg_PostMessage_Params& params); 535 void OnRouteMessageEvent(const ViewMsg_PostMessage_Params& params);
533 void OnRunJavaScriptMessage(const string16& message, 536 void OnRunJavaScriptMessage(const string16& message,
534 const string16& default_prompt, 537 const string16& default_prompt,
535 const GURL& frame_url, 538 const GURL& frame_url,
536 JavaScriptMessageType type, 539 JavaScriptMessageType type,
537 bool user_gesture, 540 bool user_gesture,
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
708 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); 711 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl);
709 }; 712 };
710 713
711 #if defined(COMPILER_MSVC) 714 #if defined(COMPILER_MSVC)
712 #pragma warning(pop) 715 #pragma warning(pop)
713 #endif 716 #endif
714 717
715 } // namespace content 718 } // namespace content
716 719
717 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 720 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/ime_adapter_android.cc ('k') | content/browser/renderer_host/render_view_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698