Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(433)

Side by Side Diff: chrome/browser/renderer_host/render_widget_host_view_win.h

Issue 3117036: Update browser cache of accessibility tree on renderer sub-tree changes.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Updating from comments. Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
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(int acc_obj_id);
160 virtual void OnAccessibilityObjectChildrenChange(
161 const std::vector<webkit_glue::WebAccessibility>& acc_obj);
160 162
161 // Implementation of NotificationObserver: 163 // Implementation of NotificationObserver:
162 virtual void Observe(NotificationType type, 164 virtual void Observe(NotificationType type,
163 const NotificationSource& source, 165 const NotificationSource& source,
164 const NotificationDetails& details); 166 const NotificationDetails& details);
165 167
166 // Implementation of BrowserAccessibilityDelegate: 168 // Implementation of BrowserAccessibilityDelegate:
167 virtual void SetAccessibilityFocus(int acc_obj_id); 169 virtual void SetAccessibilityFocus(int acc_obj_id);
168 virtual void AccessibilityDoDefaultAction(int acc_obj_id); 170 virtual void AccessibilityDoDefaultAction(int acc_obj_id);
171 virtual void AccessibilityObjectChildrenChangeAck();
169 172
170 protected: 173 protected:
171 // Windows Message Handlers 174 // Windows Message Handlers
172 LRESULT OnCreate(CREATESTRUCT* create_struct); 175 LRESULT OnCreate(CREATESTRUCT* create_struct);
173 void OnActivate(UINT, BOOL, HWND); 176 void OnActivate(UINT, BOOL, HWND);
174 void OnDestroy(); 177 void OnDestroy();
175 void OnPaint(HDC unused_dc); 178 void OnPaint(HDC unused_dc);
176 void OnNCPaint(HRGN update_region); 179 void OnNCPaint(HRGN update_region);
177 LRESULT OnEraseBkgnd(HDC dc); 180 LRESULT OnEraseBkgnd(HDC dc);
178 LRESULT OnSetCursor(HWND window, UINT hittest_code, UINT mouse_message_id); 181 LRESULT OnSetCursor(HWND window, UINT hittest_code, UINT mouse_message_id);
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 NotificationRegistrar registrar_; 345 NotificationRegistrar registrar_;
343 346
344 // Stores the current text input type received by ImeUpdateTextInputState() 347 // Stores the current text input type received by ImeUpdateTextInputState()
345 // method. 348 // method.
346 WebKit::WebTextInputType text_input_type_; 349 WebKit::WebTextInputType text_input_type_;
347 350
348 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); 351 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin);
349 }; 352 };
350 353
351 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ 354 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/render_widget_host_view.h ('k') | chrome/browser/renderer_host/render_widget_host_view_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698