OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ |
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ | 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ |
7 | 7 |
8 #include <queue> | 8 #include <queue> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/gfx/size.h" | 11 #include "base/gfx/size.h" |
| 12 #include "base/scoped_ptr.h" |
12 #include "base/timer.h" | 13 #include "base/timer.h" |
13 #include "chrome/common/ipc_channel.h" | 14 #include "chrome/common/ipc_channel.h" |
14 #include "chrome/common/native_web_keyboard_event.h" | 15 #include "chrome/common/native_web_keyboard_event.h" |
15 #include "testing/gtest/include/gtest/gtest_prod.h" | 16 #include "testing/gtest/include/gtest/gtest_prod.h" |
16 #include "webkit/glue/webinputevent.h" | 17 #include "webkit/glue/webinputevent.h" |
17 | 18 |
18 namespace gfx { | 19 namespace gfx { |
19 class Rect; | 20 class Rect; |
20 } | 21 } |
21 | 22 |
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
359 | 360 |
360 // A queue of keyboard events. We can't trust data from the renderer so we | 361 // A queue of keyboard events. We can't trust data from the renderer so we |
361 // stuff key events into a queue and pop them out on ACK, feeding our copy | 362 // stuff key events into a queue and pop them out on ACK, feeding our copy |
362 // back to whatever unhandled handler instead of the returned version. | 363 // back to whatever unhandled handler instead of the returned version. |
363 KeyQueue key_queue_; | 364 KeyQueue key_queue_; |
364 | 365 |
365 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost); | 366 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost); |
366 }; | 367 }; |
367 | 368 |
368 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ | 369 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ |
OLD | NEW |