Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(131)

Side by Side Diff: content/renderer/render_view_impl.h

Issue 1990553002: Remove RenderViewImpl::GetFocusedElement. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Made Windows happy and brought back bool return because fake tests. Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/renderer/gpu/render_widget_compositor.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « content/renderer/gpu/render_widget_compositor.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698