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

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

Issue 10383239: Move NativeWebKeyboardEvent to the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 8 years, 7 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 #include "ui/gfx/screen.h" 60 #include "ui/gfx/screen.h"
61 #include "webkit/glue/webaccessibility.h" 61 #include "webkit/glue/webaccessibility.h"
62 #include "webkit/glue/webcursor.h" 62 #include "webkit/glue/webcursor.h"
63 #include "webkit/plugins/npapi/plugin_constants_win.h" 63 #include "webkit/plugins/npapi/plugin_constants_win.h"
64 #include "webkit/plugins/npapi/webplugin.h" 64 #include "webkit/plugins/npapi/webplugin.h"
65 #include "webkit/plugins/npapi/webplugin_delegate_impl.h" 65 #include "webkit/plugins/npapi/webplugin_delegate_impl.h"
66 66
67 using base::TimeDelta; 67 using base::TimeDelta;
68 using base::TimeTicks; 68 using base::TimeTicks;
69 using content::BrowserThread; 69 using content::BrowserThread;
70 using content::NativeWebKeyboardEvent;
70 using content::RenderWidgetHost; 71 using content::RenderWidgetHost;
71 using content::RenderWidgetHostImpl; 72 using content::RenderWidgetHostImpl;
72 using content::RenderWidgetHostView; 73 using content::RenderWidgetHostView;
73 using ui::ViewProp; 74 using ui::ViewProp;
74 using WebKit::WebInputEvent; 75 using WebKit::WebInputEvent;
75 using WebKit::WebInputEventFactory; 76 using WebKit::WebInputEventFactory;
76 using WebKit::WebMouseEvent; 77 using WebKit::WebMouseEvent;
77 using WebKit::WebTextDirection; 78 using WebKit::WebTextDirection;
78 using webkit::npapi::WebPluginGeometry; 79 using webkit::npapi::WebPluginGeometry;
79 80
(...skipping 2594 matching lines...) Expand 10 before | Expand all | Expand 10 after
2674 void RenderWidgetHostViewWin::ResetPointerDownContext() { 2675 void RenderWidgetHostViewWin::ResetPointerDownContext() {
2675 // If the default focus on the page is on an edit field and we did not 2676 // If the default focus on the page is on an edit field and we did not
2676 // receive a focus change in the context of a pointer down message, it means 2677 // receive a focus change in the context of a pointer down message, it means
2677 // that the pointer down message occurred on the edit field and we should 2678 // that the pointer down message occurred on the edit field and we should
2678 // display the on screen keyboard 2679 // display the on screen keyboard
2679 if (!received_focus_change_after_pointer_down_ && virtual_keyboard_) 2680 if (!received_focus_change_after_pointer_down_ && virtual_keyboard_)
2680 DisplayOnScreenKeyboardIfNeeded(); 2681 DisplayOnScreenKeyboardIfNeeded();
2681 received_focus_change_after_pointer_down_ = false; 2682 received_focus_change_after_pointer_down_ = false;
2682 pointer_down_context_ = false; 2683 pointer_down_context_ = false;
2683 } 2684 }
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_mac.mm ('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