| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ |
| 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ | 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <deque> | 9 #include <deque> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 378 void EnableRendererAccessibility(); | 378 void EnableRendererAccessibility(); |
| 379 | 379 |
| 380 // Relays a request from assistive technology to set focus to the | 380 // Relays a request from assistive technology to set focus to the |
| 381 // node with this accessibility object id. | 381 // node with this accessibility object id. |
| 382 void SetAccessibilityFocus(int acc_obj_id); | 382 void SetAccessibilityFocus(int acc_obj_id); |
| 383 | 383 |
| 384 // Relays a request from assistive technology to perform the default action | 384 // Relays a request from assistive technology to perform the default action |
| 385 // on a node with this accessibility object id. | 385 // on a node with this accessibility object id. |
| 386 void AccessibilityDoDefaultAction(int acc_obj_id); | 386 void AccessibilityDoDefaultAction(int acc_obj_id); |
| 387 | 387 |
| 388 // Acknowledges a ViewHostMsg_AccessibilityObjectChildrenChange message. |
| 389 void AccessibilityObjectChildrenChangeAck(); |
| 390 |
| 388 // Sets the active state (i.e., control tints). | 391 // Sets the active state (i.e., control tints). |
| 389 virtual void SetActive(bool active); | 392 virtual void SetActive(bool active); |
| 390 | 393 |
| 391 void set_ignore_input_events(bool ignore_input_events) { | 394 void set_ignore_input_events(bool ignore_input_events) { |
| 392 ignore_input_events_ = ignore_input_events; | 395 ignore_input_events_ = ignore_input_events; |
| 393 } | 396 } |
| 394 bool ignore_input_events() const { | 397 bool ignore_input_events() const { |
| 395 return ignore_input_events_; | 398 return ignore_input_events_; |
| 396 } | 399 } |
| 397 | 400 |
| (...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 693 // we don't do it more than once. | 696 // we don't do it more than once. |
| 694 bool requested_accessibility_tree_; | 697 bool requested_accessibility_tree_; |
| 695 | 698 |
| 696 // Optional video YUV layer for used for out-of-process compositing. | 699 // Optional video YUV layer for used for out-of-process compositing. |
| 697 scoped_ptr<VideoLayer> video_layer_; | 700 scoped_ptr<VideoLayer> video_layer_; |
| 698 | 701 |
| 699 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost); | 702 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost); |
| 700 }; | 703 }; |
| 701 | 704 |
| 702 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ | 705 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ |
| OLD | NEW |