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 671 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
682 void OnUpdateWindowScreenRect(gfx::Rect window_screen_rect); | 682 void OnUpdateWindowScreenRect(gfx::Rect window_screen_rect); |
683 void OnSetZoomLevel(PageMsg_SetZoomLevel_Command command, double zoom_level); | 683 void OnSetZoomLevel(PageMsg_SetZoomLevel_Command command, double zoom_level); |
684 | 684 |
685 // Adding a new message handler? Please add it in alphabetical order above | 685 // Adding a new message handler? Please add it in alphabetical order above |
686 // and put it in the same position in the .cc file. | 686 // and put it in the same position in the .cc file. |
687 | 687 |
688 // Misc private functions ---------------------------------------------------- | 688 // Misc private functions ---------------------------------------------------- |
689 // Check whether the preferred size has changed. | 689 // Check whether the preferred size has changed. |
690 void CheckPreferredSize(); | 690 void CheckPreferredSize(); |
691 | 691 |
692 // Gets the currently focused element, if any. | |
693 blink::WebElement GetFocusedElement() const; | |
694 | |
695 #if defined(OS_ANDROID) | 692 #if defined(OS_ANDROID) |
696 // Launch an Android content intent with the given URL. | 693 // Launch an Android content intent with the given URL. |
697 void LaunchAndroidContentIntent(const GURL& intent_url, | 694 void LaunchAndroidContentIntent(const GURL& intent_url, |
698 size_t request_id, | 695 size_t request_id, |
699 bool is_main_frame); | 696 bool is_main_frame); |
700 #endif | 697 #endif |
701 | 698 |
702 #if defined(OS_WIN) || (defined(OS_POSIX) && !defined(OS_MACOSX)) | 699 #if defined(OS_WIN) || (defined(OS_POSIX) && !defined(OS_MACOSX)) |
703 void UpdateFontRenderingFromRendererPrefs(); | 700 void UpdateFontRenderingFromRendererPrefs(); |
704 #else | 701 #else |
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
966 // use the Observer interface to filter IPC messages and receive frame change | 963 // use the Observer interface to filter IPC messages and receive frame change |
967 // notifications. | 964 // notifications. |
968 // --------------------------------------------------------------------------- | 965 // --------------------------------------------------------------------------- |
969 | 966 |
970 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 967 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
971 }; | 968 }; |
972 | 969 |
973 } // namespace content | 970 } // namespace content |
974 | 971 |
975 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 972 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |