| 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 | 7 |
| 8 #include <deque> | 8 #include <deque> |
| 9 | 9 |
| 10 #include "app/surface/transport_dib.h" | 10 #include "app/surface/transport_dib.h" |
| (...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 357 // Makes an IPC call to toggle the spelling panel. | 357 // Makes an IPC call to toggle the spelling panel. |
| 358 void ToggleSpellPanel(bool is_currently_visible); | 358 void ToggleSpellPanel(bool is_currently_visible); |
| 359 | 359 |
| 360 // Makes an IPC call to tell webkit to replace the currently selected word | 360 // Makes an IPC call to tell webkit to replace the currently selected word |
| 361 // or a word around the cursor. | 361 // or a word around the cursor. |
| 362 void Replace(const string16& word); | 362 void Replace(const string16& word); |
| 363 | 363 |
| 364 // Makes an IPC call to tell webkit to advance to the next misspelling. | 364 // Makes an IPC call to tell webkit to advance to the next misspelling. |
| 365 void AdvanceToNextMisspelling(); | 365 void AdvanceToNextMisspelling(); |
| 366 | 366 |
| 367 // Requests a snapshot of an accessible DOM tree from the renderer. |
| 368 void RequestAccessibilityTree(); |
| 369 |
| 370 // Relays a request from assistive technology to set focus to the |
| 371 // node with this accessibility object id. |
| 372 void SetAccessibilityFocus(int acc_obj_id); |
| 373 |
| 374 // Relays a request from assistive technology to perform the default action |
| 375 // on a node with this accessibility object id. |
| 376 void AccessibilityDoDefaultAction(int acc_obj_id); |
| 377 |
| 367 // Sets the active state (i.e., control tints). | 378 // Sets the active state (i.e., control tints). |
| 368 virtual void SetActive(bool active); | 379 virtual void SetActive(bool active); |
| 369 | 380 |
| 370 void set_ignore_input_events(bool ignore_input_events) { | 381 void set_ignore_input_events(bool ignore_input_events) { |
| 371 ignore_input_events_ = ignore_input_events; | 382 ignore_input_events_ = ignore_input_events; |
| 372 } | 383 } |
| 373 bool ignore_input_events() const { | 384 bool ignore_input_events() const { |
| 374 return ignore_input_events_; | 385 return ignore_input_events_; |
| 375 } | 386 } |
| 376 | 387 |
| (...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 649 // changed. | 660 // changed. |
| 650 bool suppress_next_char_events_; | 661 bool suppress_next_char_events_; |
| 651 | 662 |
| 652 // Optional video YUV layer for used for out-of-process compositing. | 663 // Optional video YUV layer for used for out-of-process compositing. |
| 653 scoped_ptr<VideoLayer> video_layer_; | 664 scoped_ptr<VideoLayer> video_layer_; |
| 654 | 665 |
| 655 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost); | 666 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost); |
| 656 }; | 667 }; |
| 657 | 668 |
| 658 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ | 669 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ |
| OLD | NEW |