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 679 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
690 #elif defined(OS_MACOSX) | 690 #elif defined(OS_MACOSX) |
691 void OnGetRenderedText(); | 691 void OnGetRenderedText(); |
692 void OnPluginImeCompositionCompleted(const base::string16& text, | 692 void OnPluginImeCompositionCompleted(const base::string16& text, |
693 int plugin_id); | 693 int plugin_id); |
694 void OnSetInLiveResize(bool in_live_resize); | 694 void OnSetInLiveResize(bool in_live_resize); |
695 void OnSetWindowVisibility(bool visible); | 695 void OnSetWindowVisibility(bool visible); |
696 void OnWindowFrameChanged(const gfx::Rect& window_frame, | 696 void OnWindowFrameChanged(const gfx::Rect& window_frame, |
697 const gfx::Rect& view_frame); | 697 const gfx::Rect& view_frame); |
698 #endif | 698 #endif |
699 | 699 |
| 700 // Page message handlers ----------------------------------------------------- |
| 701 void OnUpdateWindowScreenRect(gfx::Rect window_screen_rect); |
| 702 |
700 // Adding a new message handler? Please add it in alphabetical order above | 703 // Adding a new message handler? Please add it in alphabetical order above |
701 // and put it in the same position in the .cc file. | 704 // and put it in the same position in the .cc file. |
702 | 705 |
703 // Misc private functions ---------------------------------------------------- | 706 // Misc private functions ---------------------------------------------------- |
704 // Check whether the preferred size has changed. | 707 // Check whether the preferred size has changed. |
705 void CheckPreferredSize(); | 708 void CheckPreferredSize(); |
706 | 709 |
707 // Gets the currently focused element, if any. | 710 // Gets the currently focused element, if any. |
708 blink::WebElement GetFocusedElement() const; | 711 blink::WebElement GetFocusedElement() const; |
709 | 712 |
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1021 // use the Observer interface to filter IPC messages and receive frame change | 1024 // use the Observer interface to filter IPC messages and receive frame change |
1022 // notifications. | 1025 // notifications. |
1023 // --------------------------------------------------------------------------- | 1026 // --------------------------------------------------------------------------- |
1024 | 1027 |
1025 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1028 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1026 }; | 1029 }; |
1027 | 1030 |
1028 } // namespace content | 1031 } // namespace content |
1029 | 1032 |
1030 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1033 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |