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

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: Fixed reviewers comments Created 7 years, 2 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 642 matching lines...) Expand 10 before | Expand all | Expand 10 after
653 #endif 653 #endif
654 bool OnSwapCompositorFrame(const IPC::Message& message); 654 bool OnSwapCompositorFrame(const IPC::Message& message);
655 void OnOverscrolled(gfx::Vector2dF accumulated_overscroll, 655 void OnOverscrolled(gfx::Vector2dF accumulated_overscroll,
656 gfx::Vector2dF current_fling_velocity); 656 gfx::Vector2dF current_fling_velocity);
657 void OnUpdateRect(const ViewHostMsg_UpdateRect_Params& params); 657 void OnUpdateRect(const ViewHostMsg_UpdateRect_Params& params);
658 void OnUpdateIsDelayed(); 658 void OnUpdateIsDelayed();
659 void OnBeginSmoothScroll( 659 void OnBeginSmoothScroll(
660 const ViewHostMsg_BeginSmoothScroll_Params& params); 660 const ViewHostMsg_BeginSmoothScroll_Params& params);
661 void OnBeginPinch( 661 void OnBeginPinch(
662 const ViewHostMsg_BeginPinch_Params& params); 662 const ViewHostMsg_BeginPinch_Params& params);
663 void OnSetExpectedSize(const gfx::Size& size);
663 virtual void OnFocus(); 664 virtual void OnFocus();
664 virtual void OnBlur(); 665 virtual void OnBlur();
665 void OnSetCursor(const WebCursor& cursor); 666 void OnSetCursor(const WebCursor& cursor);
666 void OnTextInputTypeChanged(ui::TextInputType type, 667 void OnTextInputTypeChanged(ui::TextInputType type,
667 ui::TextInputMode input_mode, 668 ui::TextInputMode input_mode,
668 bool can_compose_inline); 669 bool can_compose_inline);
669 #if defined(OS_MACOSX) || defined(OS_WIN) || defined(USE_AURA) 670 #if defined(OS_MACOSX) || defined(OS_WIN) || defined(USE_AURA)
670 void OnImeCompositionRangeChanged( 671 void OnImeCompositionRangeChanged(
671 const gfx::Range& range, 672 const gfx::Range& range,
672 const std::vector<gfx::Rect>& character_bounds); 673 const std::vector<gfx::Rect>& character_bounds);
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
934 int64 last_input_number_; 935 int64 last_input_number_;
935 936
936 BrowserRenderingStats rendering_stats_; 937 BrowserRenderingStats rendering_stats_;
937 938
938 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 939 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
939 }; 940 };
940 941
941 } // namespace content 942 } // namespace content
942 943
943 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 944 #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/common/view_messages.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698