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