OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CONTENT_RENDERER_RENDER_VIEW_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_H_ |
6 #define CONTENT_RENDERER_RENDER_VIEW_H_ | 6 #define CONTENT_RENDERER_RENDER_VIEW_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <deque> | 9 #include <deque> |
10 #include <map> | 10 #include <map> |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 class WebApplicationCacheHost; | 133 class WebApplicationCacheHost; |
134 class WebApplicationCacheHostClient; | 134 class WebApplicationCacheHostClient; |
135 class WebDataSource; | 135 class WebDataSource; |
136 class WebDocument; | 136 class WebDocument; |
137 class WebDragData; | 137 class WebDragData; |
138 class WebFrame; | 138 class WebFrame; |
139 class WebGeolocationClient; | 139 class WebGeolocationClient; |
140 class WebGeolocationServiceInterface; | 140 class WebGeolocationServiceInterface; |
141 class WebImage; | 141 class WebImage; |
142 class WebInputElement; | 142 class WebInputElement; |
| 143 class WebIntroducer; |
143 class WebKeyboardEvent; | 144 class WebKeyboardEvent; |
144 class WebMediaPlayer; | 145 class WebMediaPlayer; |
145 class WebMediaPlayerClient; | 146 class WebMediaPlayerClient; |
146 class WebMouseEvent; | 147 class WebMouseEvent; |
147 class WebPlugin; | 148 class WebPlugin; |
148 class WebSpeechInputController; | 149 class WebSpeechInputController; |
149 class WebSpeechInputListener; | 150 class WebSpeechInputListener; |
150 class WebStorageNamespace; | 151 class WebStorageNamespace; |
151 class WebTextCheckingCompletion; | 152 class WebTextCheckingCompletion; |
152 class WebURLRequest; | 153 class WebURLRequest; |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
387 virtual WebKit::WebExternalPopupMenu* createExternalPopupMenu( | 388 virtual WebKit::WebExternalPopupMenu* createExternalPopupMenu( |
388 const WebKit::WebPopupMenuInfo& popup_menu_info, | 389 const WebKit::WebPopupMenuInfo& popup_menu_info, |
389 WebKit::WebExternalPopupMenuClient* popup_menu_client); | 390 WebKit::WebExternalPopupMenuClient* popup_menu_client); |
390 virtual WebKit::WebStorageNamespace* createSessionStorageNamespace( | 391 virtual WebKit::WebStorageNamespace* createSessionStorageNamespace( |
391 unsigned quota); | 392 unsigned quota); |
392 virtual void didAddMessageToConsole( | 393 virtual void didAddMessageToConsole( |
393 const WebKit::WebConsoleMessage& message, | 394 const WebKit::WebConsoleMessage& message, |
394 const WebKit::WebString& source_name, | 395 const WebKit::WebString& source_name, |
395 unsigned source_line); | 396 unsigned source_line); |
396 virtual void printPage(WebKit::WebFrame* frame); | 397 virtual void printPage(WebKit::WebFrame* frame); |
| 398 virtual WebKit::WebIntroducer* introducerDispatcher(); |
397 virtual WebKit::WebNotificationPresenter* notificationPresenter(); | 399 virtual WebKit::WebNotificationPresenter* notificationPresenter(); |
398 virtual void didStartLoading(); | 400 virtual void didStartLoading(); |
399 virtual void didStopLoading(); | 401 virtual void didStopLoading(); |
400 virtual void didChangeLoadProgress(WebKit::WebFrame* frame, | 402 virtual void didChangeLoadProgress(WebKit::WebFrame* frame, |
401 double load_progress); | 403 double load_progress); |
402 virtual bool isSmartInsertDeleteEnabled(); | 404 virtual bool isSmartInsertDeleteEnabled(); |
403 virtual bool isSelectTrailingWhitespaceEnabled(); | 405 virtual bool isSelectTrailingWhitespaceEnabled(); |
404 virtual void didChangeSelection(bool is_selection_empty); | 406 virtual void didChangeSelection(bool is_selection_empty); |
405 virtual void didExecuteCommand(const WebKit::WebString& command_name); | 407 virtual void didExecuteCommand(const WebKit::WebString& command_name); |
406 virtual bool handleCurrentKeyboardEvent(); | 408 virtual bool handleCurrentKeyboardEvent(); |
(...skipping 872 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1279 // along with the RenderView automatically. This is why we just store weak | 1281 // along with the RenderView automatically. This is why we just store weak |
1280 // references. | 1282 // references. |
1281 | 1283 |
1282 // Provides access to this renderer from the remote Inspector UI. | 1284 // Provides access to this renderer from the remote Inspector UI. |
1283 DevToolsAgent* devtools_agent_; | 1285 DevToolsAgent* devtools_agent_; |
1284 | 1286 |
1285 // DevToolsClient for renderer hosting developer tools UI. It's NULL for other | 1287 // DevToolsClient for renderer hosting developer tools UI. It's NULL for other |
1286 // render views. | 1288 // render views. |
1287 DevToolsClient* devtools_client_; | 1289 DevToolsClient* devtools_client_; |
1288 | 1290 |
| 1291 // The Introducer message dispatcher. |
| 1292 WebKit::WebIntroducer* introducer_dispatcher_; |
| 1293 |
1289 // Holds a reference to the service which provides desktop notifications. | 1294 // Holds a reference to the service which provides desktop notifications. |
1290 NotificationProvider* notification_provider_; | 1295 NotificationProvider* notification_provider_; |
1291 | 1296 |
1292 // The geolocation dispatcher attached to this view, lazily initialized. | 1297 // The geolocation dispatcher attached to this view, lazily initialized. |
1293 GeolocationDispatcher* geolocation_dispatcher_; | 1298 GeolocationDispatcher* geolocation_dispatcher_; |
1294 | 1299 |
1295 // The speech dispatcher attached to this view, lazily initialized. | 1300 // The speech dispatcher attached to this view, lazily initialized. |
1296 SpeechInputDispatcher* speech_input_dispatcher_; | 1301 SpeechInputDispatcher* speech_input_dispatcher_; |
1297 | 1302 |
1298 // Device orientation dispatcher attached to this view; lazily initialized. | 1303 // Device orientation dispatcher attached to this view; lazily initialized. |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1414 // bunch of stuff, you should probably create a helper class and put your | 1419 // bunch of stuff, you should probably create a helper class and put your |
1415 // data and methods on that to avoid bloating RenderView more. You can use | 1420 // data and methods on that to avoid bloating RenderView more. You can use |
1416 // the Observer interface to filter IPC messages and receive frame change | 1421 // the Observer interface to filter IPC messages and receive frame change |
1417 // notifications. | 1422 // notifications. |
1418 // --------------------------------------------------------------------------- | 1423 // --------------------------------------------------------------------------- |
1419 | 1424 |
1420 DISALLOW_COPY_AND_ASSIGN(RenderView); | 1425 DISALLOW_COPY_AND_ASSIGN(RenderView); |
1421 }; | 1426 }; |
1422 | 1427 |
1423 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ | 1428 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ |
OLD | NEW |