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 <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
511 // The documentation for these functions should be in | 511 // The documentation for these functions should be in |
512 // content/common/*_messages.h for the message that the function is handling. | 512 // content/common/*_messages.h for the message that the function is handling. |
513 void OnExecuteEditCommand(const std::string& name, const std::string& value); | 513 void OnExecuteEditCommand(const std::string& name, const std::string& value); |
514 void OnMoveCaret(const gfx::Point& point); | 514 void OnMoveCaret(const gfx::Point& point); |
515 void OnScrollFocusedEditableNodeIntoRect(const gfx::Rect& rect); | 515 void OnScrollFocusedEditableNodeIntoRect(const gfx::Rect& rect); |
516 void OnAllowScriptToClose(bool script_can_close); | 516 void OnAllowScriptToClose(bool script_can_close); |
517 void OnCancelDownload(int32_t download_id); | 517 void OnCancelDownload(int32_t download_id); |
518 void OnClosePage(); | 518 void OnClosePage(); |
519 void OnClose(); | 519 void OnClose(); |
520 | 520 |
521 void OnShowContextMenu(ui::MenuSourceType source_type, | |
522 const gfx::Point& location); | |
523 void OnDeterminePageLanguage(); | 521 void OnDeterminePageLanguage(); |
524 void OnDisableScrollbarsForSmallWindows( | 522 void OnDisableScrollbarsForSmallWindows( |
525 const gfx::Size& disable_scrollbars_size_limit); | 523 const gfx::Size& disable_scrollbars_size_limit); |
526 void OnEnablePreferredSizeChangedMode(); | 524 void OnEnablePreferredSizeChangedMode(); |
527 void OnEnableAutoResize(const gfx::Size& min_size, const gfx::Size& max_size); | 525 void OnEnableAutoResize(const gfx::Size& min_size, const gfx::Size& max_size); |
528 void OnDisableAutoResize(const gfx::Size& new_size); | 526 void OnDisableAutoResize(const gfx::Size& new_size); |
529 void OnEnumerateDirectoryResponse(int id, | 527 void OnEnumerateDirectoryResponse(int id, |
530 const std::vector<base::FilePath>& paths); | 528 const std::vector<base::FilePath>& paths); |
531 void OnMediaPlayerActionAt(const gfx::Point& location, | 529 void OnMediaPlayerActionAt(const gfx::Point& location, |
532 const blink::WebMediaPlayerAction& action); | 530 const blink::WebMediaPlayerAction& action); |
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
828 // --------------------------------------------------------------------------- | 826 // --------------------------------------------------------------------------- |
829 | 827 |
830 base::WeakPtrFactory<RenderViewImpl> weak_ptr_factory_; | 828 base::WeakPtrFactory<RenderViewImpl> weak_ptr_factory_; |
831 | 829 |
832 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 830 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
833 }; | 831 }; |
834 | 832 |
835 } // namespace content | 833 } // namespace content |
836 | 834 |
837 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 835 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |