| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #if defined(OS_MACOSX) | 9 #if defined(OS_MACOSX) |
| 10 #include <OpenGL/OpenGL.h> | 10 #include <OpenGL/OpenGL.h> |
| 11 #endif | 11 #endif |
| 12 | 12 |
| 13 #include <string> | 13 #include <string> |
| 14 #include <vector> | 14 #include <vector> |
| 15 | 15 |
| 16 #include "base/process_util.h" | 16 #include "base/process_util.h" |
| 17 #include "base/callback.h" | 17 #include "base/callback.h" |
| 18 #include "content/common/content_export.h" | 18 #include "content/common/content_export.h" |
| 19 #include "third_party/skia/include/core/SkBitmap.h" | 19 #include "third_party/skia/include/core/SkBitmap.h" |
| 20 #include "third_party/skia/include/core/SkColor.h" | 20 #include "third_party/skia/include/core/SkColor.h" |
| 21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" | 21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" |
| 22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h" | 22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h" |
| 23 #include "ui/base/ime/text_input_type.h" | 23 #include "ui/base/ime/text_input_type.h" |
| 24 #include "ui/base/range/range.h" | 24 #include "ui/base/range/range.h" |
| 25 #include "ui/gfx/native_widget_types.h" | 25 #include "ui/gfx/native_widget_types.h" |
| 26 #include "ui/gfx/rect.h" | 26 #include "ui/gfx/rect.h" |
| 27 #include "ui/gfx/surface/transport_dib.h" | 27 #include "ui/gfx/surface/transport_dib.h" |
| 28 | 28 |
| 29 class BackingStore; | 29 class BackingStore; |
| 30 class RenderProcessHost; | |
| 31 class RenderWidgetHost; | 30 class RenderWidgetHost; |
| 32 class WebCursor; | 31 class WebCursor; |
| 33 struct NativeWebKeyboardEvent; | 32 struct NativeWebKeyboardEvent; |
| 34 struct ViewHostMsg_AccessibilityNotification_Params; | 33 struct ViewHostMsg_AccessibilityNotification_Params; |
| 35 | 34 |
| 35 namespace content { |
| 36 class RenderProcessHost; |
| 37 } |
| 38 |
| 36 namespace gfx { | 39 namespace gfx { |
| 37 class Rect; | 40 class Rect; |
| 38 class Size; | 41 class Size; |
| 39 } | 42 } |
| 40 | 43 |
| 41 namespace webkit { | 44 namespace webkit { |
| 42 namespace npapi { | 45 namespace npapi { |
| 43 struct WebPluginGeometry; | 46 struct WebPluginGeometry; |
| 44 } | 47 } |
| 45 } | 48 } |
| (...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 356 size_t selection_text_offset_; | 359 size_t selection_text_offset_; |
| 357 | 360 |
| 358 // The current selection range relative to the start of the web page. | 361 // The current selection range relative to the start of the web page. |
| 359 ui::Range selection_range_; | 362 ui::Range selection_range_; |
| 360 | 363 |
| 361 private: | 364 private: |
| 362 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostView); | 365 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostView); |
| 363 }; | 366 }; |
| 364 | 367 |
| 365 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_ | 368 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_H_ |
| OLD | NEW |