| OLD | NEW |
| 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2014 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_LEGACY_RENDER_WIDGET_HOST_WIN_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_LEGACY_RENDER_WIDGET_HOST_WIN_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_LEGACY_RENDER_WIDGET_HOST_WIN_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_LEGACY_RENDER_WIDGET_HOST_WIN_H_ |
| 7 | 7 |
| 8 #include <atlbase.h> | 8 #include <atlbase.h> |
| 9 #include <atlwin.h> | 9 #include <atlwin.h> |
| 10 #include <atlcrack.h> | 10 #include <atlcrack.h> |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 void UpdateParent(HWND parent); | 92 void UpdateParent(HWND parent); |
| 93 HWND GetParent(); | 93 HWND GetParent(); |
| 94 | 94 |
| 95 IAccessible* window_accessible() { return window_accessible_; } | 95 IAccessible* window_accessible() { return window_accessible_; } |
| 96 | 96 |
| 97 void set_browser_accessibility_manager( | 97 void set_browser_accessibility_manager( |
| 98 content::BrowserAccessibilityManagerWin* manager) { | 98 content::BrowserAccessibilityManagerWin* manager) { |
| 99 manager_ = manager; | 99 manager_ = manager; |
| 100 } | 100 } |
| 101 | 101 |
| 102 void OnManagerDeleted(content::BrowserAccessibilityManagerWin* manager); | 102 void OnManagerDeleted(); |
| 103 | 103 |
| 104 // Functions to show and hide the window. | 104 // Functions to show and hide the window. |
| 105 void Show(); | 105 void Show(); |
| 106 void Hide(); | 106 void Hide(); |
| 107 | 107 |
| 108 // Resizes the window to the bounds passed in. | 108 // Resizes the window to the bounds passed in. |
| 109 void SetBounds(const gfx::Rect& bounds); | 109 void SetBounds(const gfx::Rect& bounds); |
| 110 | 110 |
| 111 // The pointer to the containing RenderWidgetHostViewAura instance is passed | 111 // The pointer to the containing RenderWidgetHostViewAura instance is passed |
| 112 // here. | 112 // here. |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 | 153 |
| 154 RenderWidgetHostViewAura* host_; | 154 RenderWidgetHostViewAura* host_; |
| 155 | 155 |
| 156 DISALLOW_COPY_AND_ASSIGN(LegacyRenderWidgetHostHWND); | 156 DISALLOW_COPY_AND_ASSIGN(LegacyRenderWidgetHostHWND); |
| 157 }; | 157 }; |
| 158 | 158 |
| 159 } // namespace content | 159 } // namespace content |
| 160 | 160 |
| 161 #endif // CONTENT_BROWSER_RENDERER_HOST_LEGACY_RENDER_WIDGET_HOST_WIN_H_ | 161 #endif // CONTENT_BROWSER_RENDERER_HOST_LEGACY_RENDER_WIDGET_HOST_WIN_H_ |
| 162 | 162 |
| OLD | NEW |