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

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

Issue 23364004: Implementation of device metrics emulation in render view. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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_WIDGET_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <list> 9 #include <list>
10 #include <map> 10 #include <map>
(...skipping 630 matching lines...) Expand 10 before | Expand all | Expand 10 after
641 void OnCompositorSurfaceBuffersSwapped( 641 void OnCompositorSurfaceBuffersSwapped(
642 const ViewHostMsg_CompositorSurfaceBuffersSwapped_Params& params); 642 const ViewHostMsg_CompositorSurfaceBuffersSwapped_Params& params);
643 #endif 643 #endif
644 bool OnSwapCompositorFrame(const IPC::Message& message); 644 bool OnSwapCompositorFrame(const IPC::Message& message);
645 void OnOverscrolled(gfx::Vector2dF accumulated_overscroll, 645 void OnOverscrolled(gfx::Vector2dF accumulated_overscroll,
646 gfx::Vector2dF current_fling_velocity); 646 gfx::Vector2dF current_fling_velocity);
647 void OnUpdateRect(const ViewHostMsg_UpdateRect_Params& params); 647 void OnUpdateRect(const ViewHostMsg_UpdateRect_Params& params);
648 void OnUpdateIsDelayed(); 648 void OnUpdateIsDelayed();
649 void OnBeginSmoothScroll( 649 void OnBeginSmoothScroll(
650 const ViewHostMsg_BeginSmoothScroll_Params& params); 650 const ViewHostMsg_BeginSmoothScroll_Params& params);
651 void OnEmulateDevice(bool enabled);
651 virtual void OnFocus(); 652 virtual void OnFocus();
652 virtual void OnBlur(); 653 virtual void OnBlur();
653 void OnSetCursor(const WebCursor& cursor); 654 void OnSetCursor(const WebCursor& cursor);
654 void OnTextInputTypeChanged(ui::TextInputType type, 655 void OnTextInputTypeChanged(ui::TextInputType type,
655 bool can_compose_inline, 656 bool can_compose_inline,
656 ui::TextInputMode input_mode); 657 ui::TextInputMode input_mode);
657 #if defined(OS_MACOSX) || defined(OS_WIN) || defined(USE_AURA) 658 #if defined(OS_MACOSX) || defined(OS_WIN) || defined(USE_AURA)
658 void OnImeCompositionRangeChanged( 659 void OnImeCompositionRangeChanged(
659 const ui::Range& range, 660 const ui::Range& range,
660 const std::vector<gfx::Rect>& character_bounds); 661 const std::vector<gfx::Rect>& character_bounds);
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
916 int64 last_input_number_; 917 int64 last_input_number_;
917 918
918 BrowserRenderingStats rendering_stats_; 919 BrowserRenderingStats rendering_stats_;
919 920
920 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 921 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
921 }; 922 };
922 923
923 } // namespace content 924 } // namespace content
924 925
925 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 926 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | content/renderer/render_view_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698