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

Side by Side Diff: content/browser/renderer_host/render_widget_host_delegate.h

Issue 63253002: Rename WebKit namespace to blink (part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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_RENDER_WIDGET_HOST_DELEGATE_H_ 5 #ifndef CONTENT_BROWSER_RENDER_WIDGET_HOST_DELEGATE_H_
6 #define CONTENT_BROWSER_RENDER_WIDGET_HOST_DELEGATE_H_ 6 #define CONTENT_BROWSER_RENDER_WIDGET_HOST_DELEGATE_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
10 #include "ui/gfx/native_widget_types.h" 10 #include "ui/gfx/native_widget_types.h"
11 11
12 namespace WebKit { 12 namespace blink {
13 class WebMouseWheelEvent; 13 class WebMouseWheelEvent;
14 } 14 }
15 15
16 namespace content { 16 namespace content {
17 17
18 class RenderWidgetHostImpl; 18 class RenderWidgetHostImpl;
19 struct NativeWebKeyboardEvent; 19 struct NativeWebKeyboardEvent;
20 20
21 // 21 //
22 // RenderWidgetHostDelegate 22 // RenderWidgetHostDelegate
(...skipping 14 matching lines...) Expand all
37 bool* is_keyboard_shortcut); 37 bool* is_keyboard_shortcut);
38 38
39 // Callback to inform the browser that the renderer did not process the 39 // Callback to inform the browser that the renderer did not process the
40 // specified events. This gives an opportunity to the browser to process the 40 // specified events. This gives an opportunity to the browser to process the
41 // event (used for keyboard shortcuts). 41 // event (used for keyboard shortcuts).
42 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) {} 42 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) {}
43 43
44 // Callback to give the browser a chance to handle the specified mouse wheel 44 // Callback to give the browser a chance to handle the specified mouse wheel
45 // event before sending it to the renderer. 45 // event before sending it to the renderer.
46 // Returns true if the |event| was handled. 46 // Returns true if the |event| was handled.
47 virtual bool PreHandleWheelEvent(const WebKit::WebMouseWheelEvent& event); 47 virtual bool PreHandleWheelEvent(const blink::WebMouseWheelEvent& event);
48 48
49 // Notifies that screen rects were sent to renderer process. 49 // Notifies that screen rects were sent to renderer process.
50 virtual void DidSendScreenRects(RenderWidgetHostImpl* rwh) {} 50 virtual void DidSendScreenRects(RenderWidgetHostImpl* rwh) {}
51 51
52 #if defined(OS_WIN) && defined(USE_AURA) 52 #if defined(OS_WIN) && defined(USE_AURA)
53 // Returns the widget's parent's NativeViewAccessible. 53 // Returns the widget's parent's NativeViewAccessible.
54 virtual gfx::NativeViewAccessible GetParentNativeViewAccessible(); 54 virtual gfx::NativeViewAccessible GetParentNativeViewAccessible();
55 #endif 55 #endif
56 56
57 protected: 57 protected:
58 virtual ~RenderWidgetHostDelegate() {} 58 virtual ~RenderWidgetHostDelegate() {}
59 }; 59 };
60 60
61 } // namespace content 61 } // namespace content
62 62
63 #endif // CONTENT_BROWSER_RENDER_WIDGET_HOST_DELEGATE_H_ 63 #endif // CONTENT_BROWSER_RENDER_WIDGET_HOST_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_helper.cc ('k') | content/browser/renderer_host/render_widget_host_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698