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

Side by Side Diff: Source/web/ChromeClientImpl.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/page/FocusController.cpp ('k') | Source/web/ChromeClientImpl.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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google 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 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 75
76 // ChromeClient methods: 76 // ChromeClient methods:
77 virtual void chromeDestroyed() OVERRIDE; 77 virtual void chromeDestroyed() OVERRIDE;
78 virtual void setWindowRect(const WebCore::FloatRect&) OVERRIDE; 78 virtual void setWindowRect(const WebCore::FloatRect&) OVERRIDE;
79 virtual WebCore::FloatRect windowRect() OVERRIDE; 79 virtual WebCore::FloatRect windowRect() OVERRIDE;
80 virtual WebCore::FloatRect pageRect() OVERRIDE; 80 virtual WebCore::FloatRect pageRect() OVERRIDE;
81 virtual void focus() OVERRIDE; 81 virtual void focus() OVERRIDE;
82 virtual bool canTakeFocus(WebCore::FocusType) OVERRIDE; 82 virtual bool canTakeFocus(WebCore::FocusType) OVERRIDE;
83 virtual void takeFocus(WebCore::FocusType) OVERRIDE; 83 virtual void takeFocus(WebCore::FocusType) OVERRIDE;
84 virtual void focusedNodeChanged(WebCore::Node*) OVERRIDE; 84 virtual void focusedNodeChanged(WebCore::Node*) OVERRIDE;
85 virtual void focusedFrameChanged(WebCore::LocalFrame*) OVERRIDE;
85 virtual WebCore::Page* createWindow( 86 virtual WebCore::Page* createWindow(
86 WebCore::LocalFrame*, const WebCore::FrameLoadRequest&, const WebCore::W indowFeatures&, WebCore::NavigationPolicy, WebCore::ShouldSendReferrer) OVERRIDE ; 87 WebCore::LocalFrame*, const WebCore::FrameLoadRequest&, const WebCore::W indowFeatures&, WebCore::NavigationPolicy, WebCore::ShouldSendReferrer) OVERRIDE ;
87 virtual void show(WebCore::NavigationPolicy) OVERRIDE; 88 virtual void show(WebCore::NavigationPolicy) OVERRIDE;
88 virtual void setToolbarsVisible(bool) OVERRIDE; 89 virtual void setToolbarsVisible(bool) OVERRIDE;
89 virtual bool toolbarsVisible() OVERRIDE; 90 virtual bool toolbarsVisible() OVERRIDE;
90 virtual void setStatusbarVisible(bool) OVERRIDE; 91 virtual void setStatusbarVisible(bool) OVERRIDE;
91 virtual bool statusbarVisible() OVERRIDE; 92 virtual bool statusbarVisible() OVERRIDE;
92 virtual void setScrollbarsVisible(bool) OVERRIDE; 93 virtual void setScrollbarsVisible(bool) OVERRIDE;
93 virtual bool scrollbarsVisible() OVERRIDE; 94 virtual bool scrollbarsVisible() OVERRIDE;
94 virtual void setMenubarVisible(bool) OVERRIDE; 95 virtual void setMenubarVisible(bool) OVERRIDE;
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 explicit NavigatorContentUtilsClientImpl(WebViewImpl*); 217 explicit NavigatorContentUtilsClientImpl(WebViewImpl*);
217 218
218 WebViewImpl* m_webView; 219 WebViewImpl* m_webView;
219 }; 220 };
220 221
221 DEFINE_TYPE_CASTS(ChromeClientImpl, WebCore::ChromeClient, client, client->isChr omeClientImpl(), client.isChromeClientImpl()); 222 DEFINE_TYPE_CASTS(ChromeClientImpl, WebCore::ChromeClient, client, client->isChr omeClientImpl(), client.isChromeClientImpl());
222 223
223 } // namespace blink 224 } // namespace blink
224 225
225 #endif 226 #endif
OLDNEW
« no previous file with comments | « Source/core/page/FocusController.cpp ('k') | Source/web/ChromeClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698