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

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: Really works now. 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
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 675 matching lines...) Expand 10 before | Expand all | Expand 10 after
686 void OnUpdateWindowScreenRect(gfx::Rect window_screen_rect); 686 void OnUpdateWindowScreenRect(gfx::Rect window_screen_rect);
687 void OnSetZoomLevel(PageMsg_SetZoomLevel_Command command, double zoom_level); 687 void OnSetZoomLevel(PageMsg_SetZoomLevel_Command command, double zoom_level);
688 688
689 // Adding a new message handler? Please add it in alphabetical order above 689 // Adding a new message handler? Please add it in alphabetical order above
690 // and put it in the same position in the .cc file. 690 // and put it in the same position in the .cc file.
691 691
692 // Misc private functions ---------------------------------------------------- 692 // Misc private functions ----------------------------------------------------
693 // Check whether the preferred size has changed. 693 // Check whether the preferred size has changed.
694 void CheckPreferredSize(); 694 void CheckPreferredSize();
695 695
696 // Gets the currently focused element, if any.
697 blink::WebElement GetFocusedElement() const;
698
699 #if defined(OS_ANDROID) 696 #if defined(OS_ANDROID)
700 // Launch an Android content intent with the given URL. 697 // Launch an Android content intent with the given URL.
701 void LaunchAndroidContentIntent(const GURL& intent_url, 698 void LaunchAndroidContentIntent(const GURL& intent_url,
702 size_t request_id, 699 size_t request_id,
703 bool is_main_frame); 700 bool is_main_frame);
704 #endif 701 #endif
705 702
706 #if defined(OS_WIN) || (defined(OS_POSIX) && !defined(OS_MACOSX)) 703 #if defined(OS_WIN) || (defined(OS_POSIX) && !defined(OS_MACOSX))
707 void UpdateFontRenderingFromRendererPrefs(); 704 void UpdateFontRenderingFromRendererPrefs();
708 #else 705 #else
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
979 // use the Observer interface to filter IPC messages and receive frame change 976 // use the Observer interface to filter IPC messages and receive frame change
980 // notifications. 977 // notifications.
981 // --------------------------------------------------------------------------- 978 // ---------------------------------------------------------------------------
982 979
983 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 980 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
984 }; 981 };
985 982
986 } // namespace content 983 } // namespace content
987 984
988 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 985 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698