| 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 517 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 528 // IPC message handlers ------------------------------------------------------ | 528 // IPC message handlers ------------------------------------------------------ |
| 529 // | 529 // |
| 530 // The documentation for these functions should be in | 530 // The documentation for these functions should be in |
| 531 // content/common/*_messages.h for the message that the function is handling. | 531 // content/common/*_messages.h for the message that the function is handling. |
| 532 void OnExecuteEditCommand(const std::string& name, const std::string& value); | 532 void OnExecuteEditCommand(const std::string& name, const std::string& value); |
| 533 void OnMoveCaret(const gfx::Point& point); | 533 void OnMoveCaret(const gfx::Point& point); |
| 534 void OnScrollFocusedEditableNodeIntoRect(const gfx::Rect& rect); | 534 void OnScrollFocusedEditableNodeIntoRect(const gfx::Rect& rect); |
| 535 void OnAllowBindings(int enabled_bindings_flags); | 535 void OnAllowBindings(int enabled_bindings_flags); |
| 536 void OnAllowScriptToClose(bool script_can_close); | 536 void OnAllowScriptToClose(bool script_can_close); |
| 537 void OnCancelDownload(int32_t download_id); | 537 void OnCancelDownload(int32_t download_id); |
| 538 void OnClearFocusedElement(); | |
| 539 void OnClosePage(); | 538 void OnClosePage(); |
| 540 void OnClose(); | 539 void OnClose(); |
| 541 | 540 |
| 542 void OnShowContextMenu(ui::MenuSourceType source_type, | 541 void OnShowContextMenu(ui::MenuSourceType source_type, |
| 543 const gfx::Point& location); | 542 const gfx::Point& location); |
| 544 void OnDeterminePageLanguage(); | 543 void OnDeterminePageLanguage(); |
| 545 void OnDisableScrollbarsForSmallWindows( | 544 void OnDisableScrollbarsForSmallWindows( |
| 546 const gfx::Size& disable_scrollbars_size_limit); | 545 const gfx::Size& disable_scrollbars_size_limit); |
| 547 void OnEnablePreferredSizeChangedMode(); | 546 void OnEnablePreferredSizeChangedMode(); |
| 548 void OnEnableAutoResize(const gfx::Size& min_size, const gfx::Size& max_size); | 547 void OnEnableAutoResize(const gfx::Size& min_size, const gfx::Size& max_size); |
| (...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 852 // use the Observer interface to filter IPC messages and receive frame change | 851 // use the Observer interface to filter IPC messages and receive frame change |
| 853 // notifications. | 852 // notifications. |
| 854 // --------------------------------------------------------------------------- | 853 // --------------------------------------------------------------------------- |
| 855 | 854 |
| 856 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 855 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 857 }; | 856 }; |
| 858 | 857 |
| 859 } // namespace content | 858 } // namespace content |
| 860 | 859 |
| 861 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 860 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |