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

Side by Side Diff: content/port/browser/render_widget_host_view_port.h

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 #ifndef CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ 5 #ifndef CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_
6 #define CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ 6 #define CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/process_util.h" 10 #include "base/process_util.h"
11 #include "base/string16.h" 11 #include "base/string16.h"
12 #include "content/common/content_export.h" 12 #include "content/common/content_export.h"
13 #include "content/public/browser/render_widget_host_view.h" 13 #include "content/public/browser/render_widget_host_view.h"
14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h" 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h"
15 #include "ui/base/ime/text_input_type.h" 15 #include "ui/base/ime/text_input_type.h"
16 #include "ui/base/range/range.h" 16 #include "ui/base/range/range.h"
17 #include "ui/surface/transport_dib.h" 17 #include "ui/surface/transport_dib.h"
18 18
19 class BackingStore; 19 class BackingStore;
20 class WebCursor; 20 class WebCursor;
21 21
22 struct AccessibilityHostMsg_NotificationParams; 22 struct AccessibilityHostMsg_NotificationParams;
23 struct GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params; 23 struct GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params;
24 struct GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params; 24 struct GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params;
25
26 namespace content {
25 struct NativeWebKeyboardEvent; 27 struct NativeWebKeyboardEvent;
28 }
26 29
27 namespace webkit { 30 namespace webkit {
28 namespace npapi { 31 namespace npapi {
29 struct WebPluginGeometry; 32 struct WebPluginGeometry;
30 } 33 }
31 } 34 }
32 35
33 #if defined(OS_POSIX) || defined(USE_AURA) 36 #if defined(OS_POSIX) || defined(USE_AURA)
34 namespace WebKit { 37 namespace WebKit {
35 struct WebScreenInfo; 38 struct WebScreenInfo;
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 virtual void PluginFocusChanged(bool focused, int plugin_id) = 0; 190 virtual void PluginFocusChanged(bool focused, int plugin_id) = 0;
188 191
189 // Start plugin IME. 192 // Start plugin IME.
190 virtual void StartPluginIme() = 0; 193 virtual void StartPluginIme() = 0;
191 194
192 // Does any event handling necessary for plugin IME; should be called after 195 // Does any event handling necessary for plugin IME; should be called after
193 // the plugin has already had a chance to process the event. If plugin IME is 196 // the plugin has already had a chance to process the event. If plugin IME is
194 // not enabled, this is a no-op, so it is always safe to call. 197 // not enabled, this is a no-op, so it is always safe to call.
195 // Returns true if the event was handled by IME. 198 // Returns true if the event was handled by IME.
196 virtual bool PostProcessEventForPluginIme( 199 virtual bool PostProcessEventForPluginIme(
197 const NativeWebKeyboardEvent& event) = 0; 200 const content::NativeWebKeyboardEvent& event) = 0;
198 201
199 // Methods associated with GPU-accelerated plug-in instances. 202 // Methods associated with GPU-accelerated plug-in instances.
200 virtual gfx::PluginWindowHandle AllocateFakePluginWindowHandle( 203 virtual gfx::PluginWindowHandle AllocateFakePluginWindowHandle(
201 bool opaque, bool root) = 0; 204 bool opaque, bool root) = 0;
202 virtual void DestroyFakePluginWindowHandle( 205 virtual void DestroyFakePluginWindowHandle(
203 gfx::PluginWindowHandle window) = 0; 206 gfx::PluginWindowHandle window) = 0;
204 virtual void AcceleratedSurfaceSetIOSurface( 207 virtual void AcceleratedSurfaceSetIOSurface(
205 gfx::PluginWindowHandle window, 208 gfx::PluginWindowHandle window,
206 int32 width, 209 int32 width,
207 int32 height, 210 int32 height,
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 virtual BrowserAccessibilityManager* 263 virtual BrowserAccessibilityManager*
261 GetBrowserAccessibilityManager() const = 0; 264 GetBrowserAccessibilityManager() const = 0;
262 virtual void OnAccessibilityNotifications( 265 virtual void OnAccessibilityNotifications(
263 const std::vector<AccessibilityHostMsg_NotificationParams>& params) { 266 const std::vector<AccessibilityHostMsg_NotificationParams>& params) {
264 } 267 }
265 }; 268 };
266 269
267 } // namespace content 270 } // namespace content
268 271
269 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ 272 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/public/browser/native_web_keyboard_event.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698