| 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 <set> | 8 #include <set> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 399 virtual void didFocus(); | 399 virtual void didFocus(); |
| 400 virtual void didBlur(); | 400 virtual void didBlur(); |
| 401 virtual void show(WebKit::WebNavigationPolicy policy); | 401 virtual void show(WebKit::WebNavigationPolicy policy); |
| 402 virtual void runModal(); | 402 virtual void runModal(); |
| 403 virtual bool enterFullScreen(); | 403 virtual bool enterFullScreen(); |
| 404 virtual void exitFullScreen(); | 404 virtual void exitFullScreen(); |
| 405 virtual bool requestPointerLock(); | 405 virtual bool requestPointerLock(); |
| 406 virtual void requestPointerUnlock(); | 406 virtual void requestPointerUnlock(); |
| 407 virtual bool isPointerLocked(); | 407 virtual bool isPointerLocked(); |
| 408 virtual void didActivateCompositor(int input_handler_identifier); | 408 virtual void didActivateCompositor(int input_handler_identifier); |
| 409 virtual void didHandleGestureEvent(const WebKit::WebGestureEvent& event, |
| 410 EventStatus event_status) OVERRIDE; |
| 409 | 411 |
| 410 // WebKit::WebViewClient implementation -------------------------------------- | 412 // WebKit::WebViewClient implementation -------------------------------------- |
| 411 | 413 |
| 412 virtual WebKit::WebView* createView( | 414 virtual WebKit::WebView* createView( |
| 413 WebKit::WebFrame* creator, | 415 WebKit::WebFrame* creator, |
| 414 const WebKit::WebURLRequest& request, | 416 const WebKit::WebURLRequest& request, |
| 415 const WebKit::WebWindowFeatures& features, | 417 const WebKit::WebWindowFeatures& features, |
| 416 const WebKit::WebString& frame_name, | 418 const WebKit::WebString& frame_name, |
| 417 WebKit::WebNavigationPolicy policy); | 419 WebKit::WebNavigationPolicy policy); |
| 418 virtual WebKit::WebWidget* createPopupMenu(WebKit::WebPopupType popup_type); | 420 virtual WebKit::WebWidget* createPopupMenu(WebKit::WebPopupType popup_type); |
| (...skipping 15 matching lines...) Expand all Loading... |
| 434 virtual void initializeHelperPluginWebFrame(WebKit::WebHelperPlugin*); | 436 virtual void initializeHelperPluginWebFrame(WebKit::WebHelperPlugin*); |
| 435 virtual void didStartLoading(); | 437 virtual void didStartLoading(); |
| 436 virtual void didStopLoading(); | 438 virtual void didStopLoading(); |
| 437 virtual void didChangeLoadProgress(WebKit::WebFrame* frame, | 439 virtual void didChangeLoadProgress(WebKit::WebFrame* frame, |
| 438 double load_progress); | 440 double load_progress); |
| 439 virtual bool isSmartInsertDeleteEnabled(); | 441 virtual bool isSmartInsertDeleteEnabled(); |
| 440 virtual bool isSelectTrailingWhitespaceEnabled(); | 442 virtual bool isSelectTrailingWhitespaceEnabled(); |
| 441 virtual void didChangeSelection(bool is_selection_empty); | 443 virtual void didChangeSelection(bool is_selection_empty); |
| 442 virtual void didExecuteCommand(const WebKit::WebString& command_name); | 444 virtual void didExecuteCommand(const WebKit::WebString& command_name); |
| 443 virtual bool handleCurrentKeyboardEvent(); | 445 virtual bool handleCurrentKeyboardEvent(); |
| 444 virtual void didHandleGestureEvent(const WebKit::WebGestureEvent& event, | |
| 445 bool event_swallowed) OVERRIDE; | |
| 446 virtual WebKit::WebColorChooser* createColorChooser( | 446 virtual WebKit::WebColorChooser* createColorChooser( |
| 447 WebKit::WebColorChooserClient*, const WebKit::WebColor& initial_color); | 447 WebKit::WebColorChooserClient*, const WebKit::WebColor& initial_color); |
| 448 virtual bool runFileChooser( | 448 virtual bool runFileChooser( |
| 449 const WebKit::WebFileChooserParams& params, | 449 const WebKit::WebFileChooserParams& params, |
| 450 WebKit::WebFileChooserCompletion* chooser_completion); | 450 WebKit::WebFileChooserCompletion* chooser_completion); |
| 451 virtual void runModalAlertDialog(WebKit::WebFrame* frame, | 451 virtual void runModalAlertDialog(WebKit::WebFrame* frame, |
| 452 const WebKit::WebString& message); | 452 const WebKit::WebString& message); |
| 453 virtual bool runModalConfirmDialog(WebKit::WebFrame* frame, | 453 virtual bool runModalConfirmDialog(WebKit::WebFrame* frame, |
| 454 const WebKit::WebString& message); | 454 const WebKit::WebString& message); |
| 455 virtual bool runModalPromptDialog(WebKit::WebFrame* frame, | 455 virtual bool runModalPromptDialog(WebKit::WebFrame* frame, |
| (...skipping 1131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1587 // use the Observer interface to filter IPC messages and receive frame change | 1587 // use the Observer interface to filter IPC messages and receive frame change |
| 1588 // notifications. | 1588 // notifications. |
| 1589 // --------------------------------------------------------------------------- | 1589 // --------------------------------------------------------------------------- |
| 1590 | 1590 |
| 1591 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1591 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1592 }; | 1592 }; |
| 1593 | 1593 |
| 1594 } // namespace content | 1594 } // namespace content |
| 1595 | 1595 |
| 1596 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1596 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |