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 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
353 const WebKit::WebPopupMenuInfo& popup_menu_info, | 353 const WebKit::WebPopupMenuInfo& popup_menu_info, |
354 WebKit::WebExternalPopupMenuClient* popup_menu_client); | 354 WebKit::WebExternalPopupMenuClient* popup_menu_client); |
355 virtual WebKit::WebStorageNamespace* createSessionStorageNamespace( | 355 virtual WebKit::WebStorageNamespace* createSessionStorageNamespace( |
356 unsigned quota); | 356 unsigned quota); |
357 virtual void didAddMessageToConsole( | 357 virtual void didAddMessageToConsole( |
358 const WebKit::WebConsoleMessage& message, | 358 const WebKit::WebConsoleMessage& message, |
359 const WebKit::WebString& source_name, | 359 const WebKit::WebString& source_name, |
360 unsigned source_line); | 360 unsigned source_line); |
361 virtual void printPage(WebKit::WebFrame* frame); | 361 virtual void printPage(WebKit::WebFrame* frame); |
362 virtual WebKit::WebNotificationPresenter* notificationPresenter(); | 362 virtual WebKit::WebNotificationPresenter* notificationPresenter(); |
| 363 virtual bool enumerateChosenDirectory( |
| 364 const WebKit::WebString& path, |
| 365 WebKit::WebFileChooserCompletion* chooser_completion); |
363 virtual void didStartLoading(); | 366 virtual void didStartLoading(); |
364 virtual void didStopLoading(); | 367 virtual void didStopLoading(); |
365 virtual void didChangeLoadProgress(WebKit::WebFrame* frame, | 368 virtual void didChangeLoadProgress(WebKit::WebFrame* frame, |
366 double load_progress); | 369 double load_progress); |
367 virtual bool isSmartInsertDeleteEnabled(); | 370 virtual bool isSmartInsertDeleteEnabled(); |
368 virtual bool isSelectTrailingWhitespaceEnabled(); | 371 virtual bool isSelectTrailingWhitespaceEnabled(); |
369 virtual void didChangeSelection(bool is_selection_empty); | 372 virtual void didChangeSelection(bool is_selection_empty); |
370 virtual void didExecuteCommand(const WebKit::WebString& command_name); | 373 virtual void didExecuteCommand(const WebKit::WebString& command_name); |
371 virtual bool handleCurrentKeyboardEvent(); | 374 virtual bool handleCurrentKeyboardEvent(); |
372 virtual bool runFileChooser( | 375 virtual bool runFileChooser( |
373 const WebKit::WebFileChooserParams& params, | 376 const WebKit::WebFileChooserParams& params, |
374 WebKit::WebFileChooserCompletion* chooser_completion); | 377 WebKit::WebFileChooserCompletion* chooser_completion); |
375 virtual bool enumerateDirectory( | |
376 const WebKit::WebString& path, | |
377 WebKit::WebFileChooserCompletion* chooser_completion); | |
378 virtual void runModalAlertDialog(WebKit::WebFrame* frame, | 378 virtual void runModalAlertDialog(WebKit::WebFrame* frame, |
379 const WebKit::WebString& message); | 379 const WebKit::WebString& message); |
380 virtual bool runModalConfirmDialog(WebKit::WebFrame* frame, | 380 virtual bool runModalConfirmDialog(WebKit::WebFrame* frame, |
381 const WebKit::WebString& message); | 381 const WebKit::WebString& message); |
382 virtual bool runModalPromptDialog(WebKit::WebFrame* frame, | 382 virtual bool runModalPromptDialog(WebKit::WebFrame* frame, |
383 const WebKit::WebString& message, | 383 const WebKit::WebString& message, |
384 const WebKit::WebString& default_value, | 384 const WebKit::WebString& default_value, |
385 WebKit::WebString* actual_value); | 385 WebKit::WebString* actual_value); |
386 virtual bool runModalBeforeUnloadDialog(WebKit::WebFrame* frame, | 386 virtual bool runModalBeforeUnloadDialog(WebKit::WebFrame* frame, |
387 const WebKit::WebString& message); | 387 const WebKit::WebString& message); |
(...skipping 774 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1162 // bunch of stuff, you should probably create a helper class and put your | 1162 // bunch of stuff, you should probably create a helper class and put your |
1163 // data and methods on that to avoid bloating RenderView more. You can use | 1163 // data and methods on that to avoid bloating RenderView more. You can use |
1164 // the Observer interface to filter IPC messages and receive frame change | 1164 // the Observer interface to filter IPC messages and receive frame change |
1165 // notifications. | 1165 // notifications. |
1166 // --------------------------------------------------------------------------- | 1166 // --------------------------------------------------------------------------- |
1167 | 1167 |
1168 DISALLOW_COPY_AND_ASSIGN(RenderView); | 1168 DISALLOW_COPY_AND_ASSIGN(RenderView); |
1169 }; | 1169 }; |
1170 | 1170 |
1171 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ | 1171 #endif // CONTENT_RENDERER_RENDER_VIEW_H_ |
OLD | NEW |