OLD | NEW |
---|---|
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_RENDERER_RENDER_WIDGET_H_ | 5 #ifndef CHROME_RENDERER_RENDER_WIDGET_H_ |
6 #define CHROME_RENDERER_RENDER_WIDGET_H_ | 6 #define CHROME_RENDERER_RENDER_WIDGET_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 11 matching lines...) Expand all Loading... | |
22 #include "third_party/WebKit/WebKit/chromium/public/WebRect.h" | 22 #include "third_party/WebKit/WebKit/chromium/public/WebRect.h" |
23 #include "third_party/WebKit/WebKit/chromium/public/WebTextDirection.h" | 23 #include "third_party/WebKit/WebKit/chromium/public/WebTextDirection.h" |
24 #include "third_party/WebKit/WebKit/chromium/public/WebTextInputType.h" | 24 #include "third_party/WebKit/WebKit/chromium/public/WebTextInputType.h" |
25 #include "third_party/WebKit/WebKit/chromium/public/WebWidgetClient.h" | 25 #include "third_party/WebKit/WebKit/chromium/public/WebWidgetClient.h" |
26 #include "third_party/skia/include/core/SkBitmap.h" | 26 #include "third_party/skia/include/core/SkBitmap.h" |
27 #include "webkit/glue/webcursor.h" | 27 #include "webkit/glue/webcursor.h" |
28 | 28 |
29 class RenderThreadBase; | 29 class RenderThreadBase; |
30 struct ViewHostMsg_ShowPopup_Params; | 30 struct ViewHostMsg_ShowPopup_Params; |
31 | 31 |
32 #if defined(TOUCH_UI) | |
33 class GestureManager; | |
34 #endif | |
35 | |
32 namespace gfx { | 36 namespace gfx { |
33 class Point; | 37 class Point; |
34 } | 38 } |
35 | 39 |
36 namespace IPC { | 40 namespace IPC { |
37 class SyncMessage; | 41 class SyncMessage; |
38 } | 42 } |
39 | 43 |
40 namespace skia { | 44 namespace skia { |
41 class PlatformCanvas; | 45 class PlatformCanvas; |
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
340 scoped_ptr<ViewHostMsg_ShowPopup_Params> popup_params_; | 344 scoped_ptr<ViewHostMsg_ShowPopup_Params> popup_params_; |
341 | 345 |
342 scoped_ptr<IPC::Message> pending_input_event_ack_; | 346 scoped_ptr<IPC::Message> pending_input_event_ack_; |
343 | 347 |
344 // Indicates if the next sequence of Char events should be suppressed or not. | 348 // Indicates if the next sequence of Char events should be suppressed or not. |
345 bool suppress_next_char_events_; | 349 bool suppress_next_char_events_; |
346 | 350 |
347 // Set to true if painting to the window is handled by the GPU process. | 351 // Set to true if painting to the window is handled by the GPU process. |
348 bool is_gpu_rendering_active_; | 352 bool is_gpu_rendering_active_; |
349 | 353 |
354 #if defined(TOUCH_UI) | |
355 // A cached pointer to the GestureManager. | |
darin (slow to review)
2010/09/25 15:21:06
why cache this here? GestureManager::Get() is fas
| |
356 GestureManager* gesture_manager_; | |
357 #endif | |
358 | |
350 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 359 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
351 }; | 360 }; |
352 | 361 |
353 #endif // CHROME_RENDERER_RENDER_WIDGET_H_ | 362 #endif // CHROME_RENDERER_RENDER_WIDGET_H_ |
OLD | NEW |