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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_win.cc

Issue 9347042: Introduce content::RenderWidgetHostViewPort (in content/port/browser). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head. Created 8 years, 10 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 #include "content/browser/renderer_host/render_widget_host_view_win.h" 5 #include "content/browser/renderer_host/render_widget_host_view_win.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <peninputpanel_i.c> 8 #include <peninputpanel_i.c>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 890 matching lines...) Expand 10 before | Expand all | Expand 10 after
901 } 901 }
902 } 902 }
903 } 903 }
904 904
905 BackingStore* RenderWidgetHostViewWin::AllocBackingStore( 905 BackingStore* RenderWidgetHostViewWin::AllocBackingStore(
906 const gfx::Size& size) { 906 const gfx::Size& size) {
907 return new BackingStoreWin(render_widget_host_, size); 907 return new BackingStoreWin(render_widget_host_, size);
908 } 908 }
909 909
910 void RenderWidgetHostViewWin::SetBackground(const SkBitmap& background) { 910 void RenderWidgetHostViewWin::SetBackground(const SkBitmap& background) {
911 RenderWidgetHostViewBase::SetBackground(background); 911 content::RenderWidgetHostViewBase::SetBackground(background);
912 render_widget_host_->SetBackground(background); 912 render_widget_host_->SetBackground(background);
913 } 913 }
914 914
915 void RenderWidgetHostViewWin::UnhandledWheelEvent( 915 void RenderWidgetHostViewWin::UnhandledWheelEvent(
916 const WebKit::WebMouseWheelEvent& event) { 916 const WebKit::WebMouseWheelEvent& event) {
917 } 917 }
918 918
919 void RenderWidgetHostViewWin::ProcessTouchAck(bool processed) { 919 void RenderWidgetHostViewWin::ProcessTouchAck(bool processed) {
920 } 920 }
921 921
(...skipping 1679 matching lines...) Expand 10 before | Expand all | Expand 10 after
2601 void RenderWidgetHostViewWin::ResetPointerDownContext() { 2601 void RenderWidgetHostViewWin::ResetPointerDownContext() {
2602 // If the default focus on the page is on an edit field and we did not 2602 // If the default focus on the page is on an edit field and we did not
2603 // receive a focus change in the context of a pointer down message, it means 2603 // receive a focus change in the context of a pointer down message, it means
2604 // that the pointer down message occurred on the edit field and we should 2604 // that the pointer down message occurred on the edit field and we should
2605 // display the on screen keyboard 2605 // display the on screen keyboard
2606 if (!received_focus_change_after_pointer_down_ && virtual_keyboard_) 2606 if (!received_focus_change_after_pointer_down_ && virtual_keyboard_)
2607 DisplayOnScreenKeyboardIfNeeded(); 2607 DisplayOnScreenKeyboardIfNeeded();
2608 received_focus_change_after_pointer_down_ = false; 2608 received_focus_change_after_pointer_down_ = false;
2609 pointer_down_context_ = false; 2609 pointer_down_context_ = false;
2610 } 2610 }
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_win.h ('k') | content/browser/renderer_host/test_render_view_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698