| 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 503 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 514 // IPC message handlers ------------------------------------------------------ | 514 // IPC message handlers ------------------------------------------------------ |
| 515 // | 515 // |
| 516 // The documentation for these functions should be in | 516 // The documentation for these functions should be in |
| 517 // content/common/*_messages.h for the message that the function is handling. | 517 // content/common/*_messages.h for the message that the function is handling. |
| 518 void OnExecuteEditCommand(const std::string& name, const std::string& value); | 518 void OnExecuteEditCommand(const std::string& name, const std::string& value); |
| 519 void OnMoveCaret(const gfx::Point& point); | 519 void OnMoveCaret(const gfx::Point& point); |
| 520 void OnScrollFocusedEditableNodeIntoRect(const gfx::Rect& rect); | 520 void OnScrollFocusedEditableNodeIntoRect(const gfx::Rect& rect); |
| 521 void OnAllowBindings(int enabled_bindings_flags); | 521 void OnAllowBindings(int enabled_bindings_flags); |
| 522 void OnAllowScriptToClose(bool script_can_close); | 522 void OnAllowScriptToClose(bool script_can_close); |
| 523 void OnCancelDownload(int32_t download_id); | 523 void OnCancelDownload(int32_t download_id); |
| 524 void OnClearFocusedElement(); | |
| 525 void OnClosePage(); | 524 void OnClosePage(); |
| 526 void OnClose(); | 525 void OnClose(); |
| 527 | 526 |
| 528 void OnShowContextMenu(ui::MenuSourceType source_type, | 527 void OnShowContextMenu(ui::MenuSourceType source_type, |
| 529 const gfx::Point& location); | 528 const gfx::Point& location); |
| 530 void OnDeterminePageLanguage(); | 529 void OnDeterminePageLanguage(); |
| 531 void OnDisableScrollbarsForSmallWindows( | 530 void OnDisableScrollbarsForSmallWindows( |
| 532 const gfx::Size& disable_scrollbars_size_limit); | 531 const gfx::Size& disable_scrollbars_size_limit); |
| 533 void OnEnablePreferredSizeChangedMode(); | 532 void OnEnablePreferredSizeChangedMode(); |
| 534 void OnEnableAutoResize(const gfx::Size& min_size, const gfx::Size& max_size); | 533 void OnEnableAutoResize(const gfx::Size& min_size, const gfx::Size& max_size); |
| (...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 839 // use the Observer interface to filter IPC messages and receive frame change | 838 // use the Observer interface to filter IPC messages and receive frame change |
| 840 // notifications. | 839 // notifications. |
| 841 // --------------------------------------------------------------------------- | 840 // --------------------------------------------------------------------------- |
| 842 | 841 |
| 843 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 842 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 844 }; | 843 }; |
| 845 | 844 |
| 846 } // namespace content | 845 } // namespace content |
| 847 | 846 |
| 848 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 847 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |