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

Side by Side Diff: content/public/browser/render_view_host.h

Issue 177863007: Replace WebDocument::clearfocusedNode to clearFocusedElement (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased with latest Created 6 years, 9 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_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_
6 #define CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_ 6 #define CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_
7 7
8 #include <list> 8 #include <list>
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 71
72 virtual ~RenderViewHost() {} 72 virtual ~RenderViewHost() {}
73 73
74 // Returns the main frame for this render view. 74 // Returns the main frame for this render view.
75 virtual RenderFrameHost* GetMainFrame() = 0; 75 virtual RenderFrameHost* GetMainFrame() = 0;
76 76
77 // Tell the render view to enable a set of javascript bindings. The argument 77 // Tell the render view to enable a set of javascript bindings. The argument
78 // should be a combination of values from BindingsPolicy. 78 // should be a combination of values from BindingsPolicy.
79 virtual void AllowBindings(int binding_flags) = 0; 79 virtual void AllowBindings(int binding_flags) = 0;
80 80
81 // Tells the renderer to clear the focused node (if any). 81 // Tells the renderer to clear the focused element (if any).
82 virtual void ClearFocusedNode() = 0; 82 virtual void ClearFocusedElement() = 0;
83 83
84 // Causes the renderer to close the current page, including running its 84 // Causes the renderer to close the current page, including running its
85 // onunload event handler. A ClosePage_ACK message will be sent to the 85 // onunload event handler. A ClosePage_ACK message will be sent to the
86 // ResourceDispatcherHost when it is finished. 86 // ResourceDispatcherHost when it is finished.
87 virtual void ClosePage() = 0; 87 virtual void ClosePage() = 0;
88 88
89 // Copies the image at location x, y to the clipboard (if there indeed is an 89 // Copies the image at location x, y to the clipboard (if there indeed is an
90 // image at that location). 90 // image at that location).
91 virtual void CopyImageAt(int x, int y) = 0; 91 virtual void CopyImageAt(int x, int y) = 0;
92 92
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 265
266 private: 266 private:
267 // This interface should only be implemented inside content. 267 // This interface should only be implemented inside content.
268 friend class RenderViewHostImpl; 268 friend class RenderViewHostImpl;
269 RenderViewHost() {} 269 RenderViewHost() {}
270 }; 270 };
271 271
272 } // namespace content 272 } // namespace content
273 273
274 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_ 274 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_
OLDNEW
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/accessibility/renderer_accessibility_complete.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698