| 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_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 <deque> | 8 #include <deque> |
| 9 | 9 |
| 10 #include "app/gfx/native_widget_types.h" | 10 #include "app/gfx/native_widget_types.h" |
| 11 #include "base/process.h" | 11 #include "base/process.h" |
| 12 #include "base/gfx/size.h" | 12 #include "base/gfx/size.h" |
| 13 #include "base/scoped_ptr.h" | 13 #include "base/scoped_ptr.h" |
| 14 #include "base/string16.h" | 14 #include "base/string16.h" |
| 15 #include "base/timer.h" | 15 #include "base/timer.h" |
| 16 #include "chrome/common/edit_command.h" | 16 #include "chrome/common/edit_command.h" |
| 17 #include "chrome/common/native_web_keyboard_event.h" | 17 #include "chrome/common/native_web_keyboard_event.h" |
| 18 #include "chrome/common/property_bag.h" | 18 #include "chrome/common/property_bag.h" |
| 19 #include "ipc/ipc_channel.h" | 19 #include "ipc/ipc_channel.h" |
| 20 #include "testing/gtest/include/gtest/gtest_prod.h" | 20 #include "testing/gtest/include/gtest/gtest_prod.h" |
| 21 #include "webkit/api/public/WebTextDirection.h" | 21 #include "third_party/WebKit/WebKit/chromium/public/WebTextDirection.h" |
| 22 | 22 |
| 23 namespace gfx { | 23 namespace gfx { |
| 24 class Rect; | 24 class Rect; |
| 25 } | 25 } |
| 26 | 26 |
| 27 namespace WebKit { | 27 namespace WebKit { |
| 28 class WebInputEvent; | 28 class WebInputEvent; |
| 29 class WebMouseEvent; | 29 class WebMouseEvent; |
| 30 class WebMouseWheelEvent; | 30 class WebMouseWheelEvent; |
| 31 struct WebScreenInfo; | 31 struct WebScreenInfo; |
| (...skipping 550 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 582 // still want to access this object. To avoid this situation, |death_flag_| | 582 // still want to access this object. To avoid this situation, |death_flag_| |
| 583 // shall be pointed to a local variable in the method, and then |*death_flag_| | 583 // shall be pointed to a local variable in the method, and then |*death_flag_| |
| 584 // will be set to true when destroying this RenderWidgetHost object, then the | 584 // will be set to true when destroying this RenderWidgetHost object, then the |
| 585 // method shall exit immediately when |*death_flag_| becomes true. | 585 // method shall exit immediately when |*death_flag_| becomes true. |
| 586 bool* death_flag_; | 586 bool* death_flag_; |
| 587 | 587 |
| 588 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost); | 588 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost); |
| 589 }; | 589 }; |
| 590 | 590 |
| 591 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ | 591 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ |
| OLD | NEW |