| 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_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_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 #if defined(TOOLKIT_USES_GTK) | 13 #if defined(TOOLKIT_USES_GTK) |
| 14 #include <gdk/gdk.h> | 14 #include <gdk/gdk.h> |
| 15 #endif | 15 #endif |
| 16 | 16 |
| 17 #include <string> | 17 #include <string> |
| 18 #include <vector> | 18 #include <vector> |
| 19 | 19 |
| 20 #include "base/memory/scoped_ptr.h" | 20 #include "base/memory/scoped_ptr.h" |
| 21 #include "base/callback_forward.h" | 21 #include "base/callback_forward.h" |
| 22 #include "content/common/content_export.h" | 22 #include "content/common/content_export.h" |
| 23 #include "content/port/browser/render_widget_host_view_port.h" | 23 #include "content/port/browser/render_widget_host_view_port.h" |
| 24 #include "ui/base/range/range.h" | 24 #include "ui/base/range/range.h" |
| 25 | 25 |
| 26 namespace content { |
| 27 |
| 26 class RenderWidgetHostImpl; | 28 class RenderWidgetHostImpl; |
| 27 | 29 |
| 28 namespace content { | |
| 29 | |
| 30 // Basic implementation shared by concrete RenderWidgetHostView | 30 // Basic implementation shared by concrete RenderWidgetHostView |
| 31 // subclasses. | 31 // subclasses. |
| 32 // | 32 // |
| 33 // Note that nothing should use this class, except concrete subclasses | 33 // Note that nothing should use this class, except concrete subclasses |
| 34 // that are deriving from it, and code that is written specifically to | 34 // that are deriving from it, and code that is written specifically to |
| 35 // use one of these concrete subclasses (i.e. platform-specific code). | 35 // use one of these concrete subclasses (i.e. platform-specific code). |
| 36 // | 36 // |
| 37 // To enable embedders that add ports, everything else in content/ | 37 // To enable embedders that add ports, everything else in content/ |
| 38 // should use the RenderWidgetHostViewPort interface. | 38 // should use the RenderWidgetHostViewPort interface. |
| 39 class CONTENT_EXPORT RenderWidgetHostViewBase | 39 class CONTENT_EXPORT RenderWidgetHostViewBase |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 private: | 92 private: |
| 93 // Manager of the tree representation of the WebKit render tree. | 93 // Manager of the tree representation of the WebKit render tree. |
| 94 scoped_ptr<BrowserAccessibilityManager> browser_accessibility_manager_; | 94 scoped_ptr<BrowserAccessibilityManager> browser_accessibility_manager_; |
| 95 | 95 |
| 96 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); | 96 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); |
| 97 }; | 97 }; |
| 98 | 98 |
| 99 } // namespace content | 99 } // namespace content |
| 100 | 100 |
| 101 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ | 101 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ |
| OLD | NEW |