OLD | NEW |
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 #pragma once | |
8 | 7 |
9 #include "content/common/content_export.h" | 8 #include "content/common/content_export.h" |
10 | 9 |
11 namespace content { | 10 namespace content { |
12 | 11 |
13 struct NativeWebKeyboardEvent; | 12 struct NativeWebKeyboardEvent; |
14 | 13 |
15 // | 14 // |
16 // RenderWidgetHostDelegate | 15 // RenderWidgetHostDelegate |
17 // | 16 // |
(...skipping 14 matching lines...) Expand all Loading... |
32 // event (used for keyboard shortcuts). | 31 // event (used for keyboard shortcuts). |
33 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) {} | 32 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) {} |
34 | 33 |
35 protected: | 34 protected: |
36 virtual ~RenderWidgetHostDelegate() {} | 35 virtual ~RenderWidgetHostDelegate() {} |
37 }; | 36 }; |
38 | 37 |
39 } // namespace content | 38 } // namespace content |
40 | 39 |
41 #endif // CONTENT_BROWSER_RENDER_WIDGET_HOST_DELEGATE_H_ | 40 #endif // CONTENT_BROWSER_RENDER_WIDGET_HOST_DELEGATE_H_ |
OLD | NEW |