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