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

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

Issue 9600036: Move Render(View|Widget)Host and associated classes to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments. Created 8 years, 9 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 #include "ui/gfx/screen.h" 59 #include "ui/gfx/screen.h"
60 #include "webkit/glue/webaccessibility.h" 60 #include "webkit/glue/webaccessibility.h"
61 #include "webkit/glue/webcursor.h" 61 #include "webkit/glue/webcursor.h"
62 #include "webkit/plugins/npapi/plugin_constants_win.h" 62 #include "webkit/plugins/npapi/plugin_constants_win.h"
63 #include "webkit/plugins/npapi/webplugin.h" 63 #include "webkit/plugins/npapi/webplugin.h"
64 #include "webkit/plugins/npapi/webplugin_delegate_impl.h" 64 #include "webkit/plugins/npapi/webplugin_delegate_impl.h"
65 65
66 using base::TimeDelta; 66 using base::TimeDelta;
67 using base::TimeTicks; 67 using base::TimeTicks;
68 using content::BrowserThread; 68 using content::BrowserThread;
69 using content::RenderWidgetHost;
70 using content::RenderWidgetHostImpl;
69 using content::RenderWidgetHostView; 71 using content::RenderWidgetHostView;
70 using ui::ViewProp; 72 using ui::ViewProp;
71 using WebKit::WebInputEvent; 73 using WebKit::WebInputEvent;
72 using WebKit::WebInputEventFactory; 74 using WebKit::WebInputEventFactory;
73 using WebKit::WebMouseEvent; 75 using WebKit::WebMouseEvent;
74 using WebKit::WebTextDirection; 76 using WebKit::WebTextDirection;
75 using webkit::npapi::WebPluginGeometry; 77 using webkit::npapi::WebPluginGeometry;
76 78
77 const wchar_t kRenderWidgetHostHWNDClass[] = L"Chrome_RenderWidgetHostHWND"; 79 const wchar_t kRenderWidgetHostHWNDClass[] = L"Chrome_RenderWidgetHostHWND";
78 80
(...skipping 2571 matching lines...) Expand 10 before | Expand all | Expand 10 after
2650 void RenderWidgetHostViewWin::ResetPointerDownContext() { 2652 void RenderWidgetHostViewWin::ResetPointerDownContext() {
2651 // If the default focus on the page is on an edit field and we did not 2653 // If the default focus on the page is on an edit field and we did not
2652 // receive a focus change in the context of a pointer down message, it means 2654 // receive a focus change in the context of a pointer down message, it means
2653 // that the pointer down message occurred on the edit field and we should 2655 // that the pointer down message occurred on the edit field and we should
2654 // display the on screen keyboard 2656 // display the on screen keyboard
2655 if (!received_focus_change_after_pointer_down_ && virtual_keyboard_) 2657 if (!received_focus_change_after_pointer_down_ && virtual_keyboard_)
2656 DisplayOnScreenKeyboardIfNeeded(); 2658 DisplayOnScreenKeyboardIfNeeded();
2657 received_focus_change_after_pointer_down_ = false; 2659 received_focus_change_after_pointer_down_ = false;
2658 pointer_down_context_ = false; 2660 pointer_down_context_ = false;
2659 } 2661 }
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_win.h ('k') | content/browser/renderer_host/resource_dispatcher_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698