OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
7 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
(...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
433 virtual void didCancelCompositionOnSelectionChange(); | 433 virtual void didCancelCompositionOnSelectionChange(); |
434 virtual void didExecuteCommand(const blink::WebString& command_name); | 434 virtual void didExecuteCommand(const blink::WebString& command_name); |
435 virtual bool handleCurrentKeyboardEvent(); | 435 virtual bool handleCurrentKeyboardEvent(); |
436 virtual blink::WebColorChooser* createColorChooser( | 436 virtual blink::WebColorChooser* createColorChooser( |
437 blink::WebColorChooserClient*, | 437 blink::WebColorChooserClient*, |
438 const blink::WebColor& initial_color, | 438 const blink::WebColor& initial_color, |
439 const blink::WebVector<blink::WebColorSuggestion>& suggestions); | 439 const blink::WebVector<blink::WebColorSuggestion>& suggestions); |
440 virtual bool runFileChooser( | 440 virtual bool runFileChooser( |
441 const blink::WebFileChooserParams& params, | 441 const blink::WebFileChooserParams& params, |
442 blink::WebFileChooserCompletion* chooser_completion); | 442 blink::WebFileChooserCompletion* chooser_completion); |
443 virtual void runModalAlertDialog(blink::WebLocalFrame* frame, | |
444 const blink::WebString& message); | |
445 virtual bool runModalConfirmDialog(blink::WebLocalFrame* frame, | |
446 const blink::WebString& message); | |
447 virtual bool runModalPromptDialog(blink::WebLocalFrame* frame, | |
448 const blink::WebString& message, | |
449 const blink::WebString& default_value, | |
450 blink::WebString* actual_value); | |
451 virtual bool runModalBeforeUnloadDialog(blink::WebLocalFrame* frame, | |
452 const blink::WebString& message); | |
453 // -- begin stub implementations -- | |
454 virtual void runModalAlertDialog(const blink::WebString& message); | |
455 virtual bool runModalConfirmDialog(const blink::WebString& message); | |
456 virtual bool runModalPromptDialog(const blink::WebString& message, | |
457 const blink::WebString& default_value, | |
458 blink::WebString* actual_value); | |
459 virtual bool runModalBeforeUnloadDialog(bool is_reload, | |
460 const blink::WebString& message); | |
461 // -- end stub implementations -- | |
462 virtual void showValidationMessage(const blink::WebRect& anchor_in_root_view, | 443 virtual void showValidationMessage(const blink::WebRect& anchor_in_root_view, |
463 const blink::WebString& main_text, | 444 const blink::WebString& main_text, |
464 const blink::WebString& sub_text, | 445 const blink::WebString& sub_text, |
465 blink::WebTextDirection hint) OVERRIDE; | 446 blink::WebTextDirection hint) OVERRIDE; |
466 virtual void hideValidationMessage() OVERRIDE; | 447 virtual void hideValidationMessage() OVERRIDE; |
467 virtual void moveValidationMessage( | 448 virtual void moveValidationMessage( |
468 const blink::WebRect& anchor_in_root_view) OVERRIDE; | 449 const blink::WebRect& anchor_in_root_view) OVERRIDE; |
469 virtual void setStatusText(const blink::WebString& text); | 450 virtual void setStatusText(const blink::WebString& text); |
470 virtual void setMouseOverURL(const blink::WebURL& url); | 451 virtual void setMouseOverURL(const blink::WebURL& url); |
471 virtual void setKeyboardFocusURL(const blink::WebURL& url); | 452 virtual void setKeyboardFocusURL(const blink::WebURL& url); |
(...skipping 872 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1344 // use the Observer interface to filter IPC messages and receive frame change | 1325 // use the Observer interface to filter IPC messages and receive frame change |
1345 // notifications. | 1326 // notifications. |
1346 // --------------------------------------------------------------------------- | 1327 // --------------------------------------------------------------------------- |
1347 | 1328 |
1348 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1329 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1349 }; | 1330 }; |
1350 | 1331 |
1351 } // namespace content | 1332 } // namespace content |
1352 | 1333 |
1353 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1334 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |