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_VIEW_HOST_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 488 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
499 // SearchBox notifications. | 499 // SearchBox notifications. |
500 void SearchBoxChange(const string16& value, | 500 void SearchBoxChange(const string16& value, |
501 bool verbatim, | 501 bool verbatim, |
502 int selection_start, | 502 int selection_start, |
503 int selection_end); | 503 int selection_end); |
504 void SearchBoxSubmit(const string16& value, | 504 void SearchBoxSubmit(const string16& value, |
505 bool verbatim); | 505 bool verbatim); |
506 void SearchBoxCancel(); | 506 void SearchBoxCancel(); |
507 void SearchBoxResize(const gfx::Rect& search_box_bounds); | 507 void SearchBoxResize(const gfx::Rect& search_box_bounds); |
508 void DetermineIfPageSupportsInstant(const string16& value, | 508 void DetermineIfPageSupportsInstant(const string16& value, |
509 bool verbatim); | 509 bool verbatim, |
| 510 int selection_start, |
| 511 int selection_end); |
510 | 512 |
511 // Send a notification to the V8 JavaScript engine to change its parameters | 513 // Send a notification to the V8 JavaScript engine to change its parameters |
512 // while performing stress testing. |cmd| is one of the values defined by | 514 // while performing stress testing. |cmd| is one of the values defined by |
513 // |ViewHostMsg_JavaScriptStressTestControl_Commands|, which is defined | 515 // |ViewHostMsg_JavaScriptStressTestControl_Commands|, which is defined |
514 // in render_messages.h. | 516 // in render_messages.h. |
515 void JavaScriptStressTestControl(int cmd, int param); | 517 void JavaScriptStressTestControl(int cmd, int param); |
516 | 518 |
517 #if defined(UNIT_TEST) | 519 #if defined(UNIT_TEST) |
518 // These functions shouldn't be necessary outside of testing. | 520 // These functions shouldn't be necessary outside of testing. |
519 | 521 |
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
780 // The most recently received accessibility tree - for unit testing only. | 782 // The most recently received accessibility tree - for unit testing only. |
781 webkit_glue::WebAccessibility accessibility_tree_; | 783 webkit_glue::WebAccessibility accessibility_tree_; |
782 | 784 |
783 // The termination status of the last render view that terminated. | 785 // The termination status of the last render view that terminated. |
784 base::TerminationStatus render_view_termination_status_; | 786 base::TerminationStatus render_view_termination_status_; |
785 | 787 |
786 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 788 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
787 }; | 789 }; |
788 | 790 |
789 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 791 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
OLD | NEW |