OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_VIEW_WIN_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ |
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ | 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <atlbase.h> | 9 #include <atlbase.h> |
10 #include <atlapp.h> | 10 #include <atlapp.h> |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 virtual void Destroy(); | 149 virtual void Destroy(); |
150 virtual void SetTooltipText(const std::wstring& tooltip_text); | 150 virtual void SetTooltipText(const std::wstring& tooltip_text); |
151 virtual BackingStore* AllocBackingStore(const gfx::Size& size); | 151 virtual BackingStore* AllocBackingStore(const gfx::Size& size); |
152 virtual VideoLayer* AllocVideoLayer(const gfx::Size& size); | 152 virtual VideoLayer* AllocVideoLayer(const gfx::Size& size); |
153 virtual void SetBackground(const SkBitmap& background); | 153 virtual void SetBackground(const SkBitmap& background); |
154 virtual bool ContainsNativeView(gfx::NativeView native_view) const; | 154 virtual bool ContainsNativeView(gfx::NativeView native_view) const; |
155 virtual void SetVisuallyDeemphasized(bool deemphasized); | 155 virtual void SetVisuallyDeemphasized(bool deemphasized); |
156 virtual void UpdateAccessibilityTree( | 156 virtual void UpdateAccessibilityTree( |
157 const webkit_glue::WebAccessibility& tree); | 157 const webkit_glue::WebAccessibility& tree); |
158 virtual void OnAccessibilityFocusChange(int acc_obj_id); | 158 virtual void OnAccessibilityFocusChange(int acc_obj_id); |
159 virtual void OnAccessibilityObjectStateChange(int acc_obj_id); | 159 virtual void OnAccessibilityObjectStateChange( |
| 160 const webkit_glue::WebAccessibility& acc_obj); |
160 virtual void OnAccessibilityObjectChildrenChange( | 161 virtual void OnAccessibilityObjectChildrenChange( |
161 const std::vector<webkit_glue::WebAccessibility>& acc_obj); | 162 const std::vector<webkit_glue::WebAccessibility>& acc_obj); |
162 | 163 |
163 // Implementation of NotificationObserver: | 164 // Implementation of NotificationObserver: |
164 virtual void Observe(NotificationType type, | 165 virtual void Observe(NotificationType type, |
165 const NotificationSource& source, | 166 const NotificationSource& source, |
166 const NotificationDetails& details); | 167 const NotificationDetails& details); |
167 | 168 |
168 // Implementation of BrowserAccessibilityDelegate: | 169 // Implementation of BrowserAccessibilityDelegate: |
169 virtual void SetAccessibilityFocus(int acc_obj_id); | 170 virtual void SetAccessibilityFocus(int acc_obj_id); |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
345 NotificationRegistrar registrar_; | 346 NotificationRegistrar registrar_; |
346 | 347 |
347 // Stores the current text input type received by ImeUpdateTextInputState() | 348 // Stores the current text input type received by ImeUpdateTextInputState() |
348 // method. | 349 // method. |
349 WebKit::WebTextInputType text_input_type_; | 350 WebKit::WebTextInputType text_input_type_; |
350 | 351 |
351 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); | 352 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); |
352 }; | 353 }; |
353 | 354 |
354 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ | 355 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ |
OLD | NEW |