mirror of
				https://bitbucket.org/chromiumembedded/cef
				synced 2025-06-05 21:39:12 +02:00 
			
		
		
		
	- Allow empty |name| argument to CefBrowser::GetFrame. This will return the main frame. - Modify CefBrowser::GetFrame to search both assigned and unique frame names. - Calling CefFrame::IsFocused on the main frame should return true when there are no other frames. - Fix CefBrowser::GetFrameIdentifiers and GetFrameNames to return correct values in the renderer process (issue #1236). - Delete NavigationTest.FrameNameIdent which is now obsoleted by the new FrameTests. git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1842 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
		
			
				
	
	
		
			49 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			49 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
| // Copyright (c) 2012 The Chromium Embedded Framework Authors.
 | |
| // Portions copyright (c) 2011 The Chromium Authors. All rights reserved.
 | |
| // Use of this source code is governed by a BSD-style license that can be
 | |
| // found in the LICENSE file.
 | |
| 
 | |
| #ifndef CEF_LIBCEF_RENDERER_WEBKIT_GLUE_H_
 | |
| #define CEF_LIBCEF_RENDERER_WEBKIT_GLUE_H_
 | |
| 
 | |
| #include <string>
 | |
| #include "base/basictypes.h"
 | |
| 
 | |
| namespace v8 {
 | |
| class Context;
 | |
| template <class T> class Handle;
 | |
| class Isolate;
 | |
| }
 | |
| 
 | |
| namespace blink {
 | |
| class WebFrame;
 | |
| class WebNode;
 | |
| class WebString;
 | |
| class WebView;
 | |
| }
 | |
| 
 | |
| namespace webkit_glue {
 | |
| 
 | |
| extern const int64 kInvalidFrameId;
 | |
| 
 | |
| bool CanGoBack(blink::WebView* view);
 | |
| bool CanGoForward(blink::WebView* view);
 | |
| void GoBack(blink::WebView* view);
 | |
| void GoForward(blink::WebView* view);
 | |
| 
 | |
| // Returns the text of the document element.
 | |
| std::string DumpDocumentText(blink::WebFrame* frame);
 | |
| 
 | |
| bool SetNodeValue(blink::WebNode& node, const blink::WebString& value);
 | |
| 
 | |
| int64 GetIdentifier(blink::WebFrame* frame);
 | |
| 
 | |
| // Find the frame with the specified |unique_name| relative to
 | |
| // |relative_to_frame| in the frame hierarchy.
 | |
| blink::WebFrame* FindFrameByUniqueName(const blink::WebString& unique_name,
 | |
|                                        blink::WebFrame* relative_to_frame);
 | |
| 
 | |
| }  // webkit_glue
 | |
| 
 | |
| #endif  // CEF_LIBCEF_RENDERER_WEBKIT_GLUE_H_
 |