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

Side by Side Diff: Source/core/page/ChromeClient.h

Issue 184103030: Plumb changes to the focused frame to WebFramelient. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix crash 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
« no previous file with comments | « Source/core/loader/EmptyClients.h ('k') | Source/core/page/FocusController.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple, Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple, Inc. All rights reserved.
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
4 * Copyright (C) 2012 Samsung Electronics. All rights reserved. 4 * Copyright (C) 2012 Samsung Electronics. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 86
87 virtual FloatRect pageRect() = 0; 87 virtual FloatRect pageRect() = 0;
88 88
89 virtual void focus() = 0; 89 virtual void focus() = 0;
90 90
91 virtual bool canTakeFocus(FocusType) = 0; 91 virtual bool canTakeFocus(FocusType) = 0;
92 virtual void takeFocus(FocusType) = 0; 92 virtual void takeFocus(FocusType) = 0;
93 93
94 virtual void focusedNodeChanged(Node*) = 0; 94 virtual void focusedNodeChanged(Node*) = 0;
95 95
96 virtual void focusedFrameChanged(LocalFrame*) = 0;
97
96 // The LocalFrame pointer provides the ChromeClient with context about which 98 // The LocalFrame pointer provides the ChromeClient with context about which
97 // LocalFrame wants to create the new Page. Also, the newly created window 99 // LocalFrame wants to create the new Page. Also, the newly created window
98 // should not be shown to the user until the ChromeClient of the newly 100 // should not be shown to the user until the ChromeClient of the newly
99 // created Page has its show method called. 101 // created Page has its show method called.
100 // The FrameLoadRequest parameter is only for ChromeClient to check if the 102 // The FrameLoadRequest parameter is only for ChromeClient to check if the
101 // request could be fulfilled. The ChromeClient should not load the request. 103 // request could be fulfilled. The ChromeClient should not load the request.
102 virtual Page* createWindow(LocalFrame*, const FrameLoadRequest&, const Windo wFeatures&, NavigationPolicy, ShouldSendReferrer) = 0; 104 virtual Page* createWindow(LocalFrame*, const FrameLoadRequest&, const Windo wFeatures&, NavigationPolicy, ShouldSendReferrer) = 0;
103 virtual void show(NavigationPolicy) = 0; 105 virtual void show(NavigationPolicy) = 0;
104 106
105 virtual void setToolbarsVisible(bool) = 0; 107 virtual void setToolbarsVisible(bool) = 0;
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 // Input mehtod editor related functions. 255 // Input mehtod editor related functions.
254 virtual void didCancelCompositionOnSelectionChange() { } 256 virtual void didCancelCompositionOnSelectionChange() { }
255 virtual void willSetInputMethodState() { } 257 virtual void willSetInputMethodState() { }
256 258
257 protected: 259 protected:
258 virtual ~ChromeClient() { } 260 virtual ~ChromeClient() { }
259 }; 261 };
260 262
261 } 263 }
262 #endif // ChromeClient_h 264 #endif // ChromeClient_h
OLDNEW
« no previous file with comments | « Source/core/loader/EmptyClients.h ('k') | Source/core/page/FocusController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698