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_RENDERER_RENDER_VIEW_H_ | 5 #ifndef CHROME_RENDERER_RENDER_VIEW_H_ |
6 #define CHROME_RENDERER_RENDER_VIEW_H_ | 6 #define CHROME_RENDERER_RENDER_VIEW_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <queue> | 9 #include <queue> |
10 #include <vector> | 10 #include <vector> |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 | 42 |
43 class AudioMessageFilter; | 43 class AudioMessageFilter; |
44 class DictionaryValue; | 44 class DictionaryValue; |
45 class DebugMessageHandler; | 45 class DebugMessageHandler; |
46 class DevToolsAgent; | 46 class DevToolsAgent; |
47 class DevToolsClient; | 47 class DevToolsClient; |
48 class FilePath; | 48 class FilePath; |
49 class GURL; | 49 class GURL; |
50 class RenderThread; | 50 class RenderThread; |
51 class ResourceDispatcher; | 51 class ResourceDispatcher; |
52 class WebAccessibilityManager; | |
53 class WebError; | 52 class WebError; |
54 class WebFrame; | 53 class WebFrame; |
55 class WebPluginDelegate; | 54 class WebPluginDelegate; |
56 class WebPluginDelegateProxy; | 55 class WebPluginDelegateProxy; |
57 class WebDevToolsAgentDelegate; | 56 class WebDevToolsAgentDelegate; |
58 struct FindInPageRequest; | 57 struct FindInPageRequest; |
59 struct ThumbnailScore; | 58 struct ThumbnailScore; |
60 struct ViewMsg_Navigate_Params; | 59 struct ViewMsg_Navigate_Params; |
61 struct ViewMsg_PrintPage_Params; | 60 struct ViewMsg_PrintPage_Params; |
62 struct ViewMsg_PrintPages_Params; | 61 struct ViewMsg_PrintPages_Params; |
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
300 | 299 |
301 virtual void OnAutofillFormSubmitted(WebView* webview, | 300 virtual void OnAutofillFormSubmitted(WebView* webview, |
302 const AutofillForm& form); | 301 const AutofillForm& form); |
303 | 302 |
304 virtual void ReportFindInPageMatchCount(int count, int request_id, | 303 virtual void ReportFindInPageMatchCount(int count, int request_id, |
305 bool final_update); | 304 bool final_update); |
306 virtual void ReportFindInPageSelection(int request_id, | 305 virtual void ReportFindInPageSelection(int request_id, |
307 int active_match_ordinal, | 306 int active_match_ordinal, |
308 const WebKit::WebRect& selection); | 307 const WebKit::WebRect& selection); |
309 virtual bool WasOpenedByUserGesture() const; | 308 virtual bool WasOpenedByUserGesture() const; |
| 309 virtual void FocusAccessibilityObject(WebCore::AccessibilityObject* acc_obj); |
310 virtual void SpellCheck(const std::wstring& word, int& misspell_location, | 310 virtual void SpellCheck(const std::wstring& word, int& misspell_location, |
311 int& misspell_length); | 311 int& misspell_length); |
312 virtual void GetAutoCorrectWord(const std::wstring& misspelled_word, | 312 virtual void GetAutoCorrectWord(const std::wstring& misspelled_word, |
313 std::wstring& autocorrect_word); | 313 std::wstring& autocorrect_word); |
314 virtual void SetInputMethodState(bool enabled); | 314 virtual void SetInputMethodState(bool enabled); |
315 virtual void ScriptedPrint(WebFrame* frame); | 315 virtual void ScriptedPrint(WebFrame* frame); |
316 virtual void WebInspectorOpened(int num_resources); | 316 virtual void WebInspectorOpened(int num_resources); |
317 virtual void UserMetricsRecordAction(const std::wstring& action); | 317 virtual void UserMetricsRecordAction(const std::wstring& action); |
318 virtual void DnsPrefetch(const std::vector<std::string>& host_names); | 318 virtual void DnsPrefetch(const std::vector<std::string>& host_names); |
319 | 319 |
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
795 // when layout() recomputes it but it doesn't actually change. | 795 // when layout() recomputes it but it doesn't actually change. |
796 int preferred_width_; | 796 int preferred_width_; |
797 | 797 |
798 // If true, we send IPC messages when the preferred width changes. | 798 // If true, we send IPC messages when the preferred width changes. |
799 bool send_preferred_width_changes_; | 799 bool send_preferred_width_changes_; |
800 | 800 |
801 DISALLOW_COPY_AND_ASSIGN(RenderView); | 801 DISALLOW_COPY_AND_ASSIGN(RenderView); |
802 }; | 802 }; |
803 | 803 |
804 #endif // CHROME_RENDERER_RENDER_VIEW_H_ | 804 #endif // CHROME_RENDERER_RENDER_VIEW_H_ |
OLD | NEW |