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

Side by Side Diff: Source/WebKit/chromium/src/ChromeClientImpl.cpp

Issue 6955016: Merge 85823 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/742/
Patch Set: Created 9 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 /* 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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 , m_scrollbarsVisible(true) 155 , m_scrollbarsVisible(true)
156 , m_menubarVisible(true) 156 , m_menubarVisible(true)
157 , m_resizable(true) 157 , m_resizable(true)
158 { 158 {
159 } 159 }
160 160
161 ChromeClientImpl::~ChromeClientImpl() 161 ChromeClientImpl::~ChromeClientImpl()
162 { 162 {
163 } 163 }
164 164
165 void* ChromeClientImpl::webView() const
166 {
167 return static_cast<void*>(m_webView);
168 }
169
165 void ChromeClientImpl::chromeDestroyed() 170 void ChromeClientImpl::chromeDestroyed()
166 { 171 {
167 // Our lifetime is bound to the WebViewImpl. 172 // Our lifetime is bound to the WebViewImpl.
168 } 173 }
169 174
170 void ChromeClientImpl::setWindowRect(const FloatRect& r) 175 void ChromeClientImpl::setWindowRect(const FloatRect& r)
171 { 176 {
172 if (m_webView->client()) 177 if (m_webView->client())
173 m_webView->client()->setWindowRect(IntRect(r)); 178 m_webView->client()->setWindowRect(IntRect(r));
174 } 179 }
(...skipping 746 matching lines...) Expand 10 before | Expand all | Expand 10 after
921 { 926 {
922 return adoptRef(new SearchPopupMenuChromium(client)); 927 return adoptRef(new SearchPopupMenuChromium(client));
923 } 928 }
924 929
925 void ChromeClientImpl::willRunModalDialogDuringPageDismissal(const DialogType& d ialogType) const 930 void ChromeClientImpl::willRunModalDialogDuringPageDismissal(const DialogType& d ialogType) const
926 { 931 {
927 PlatformBridge::histogramEnumeration("Renderer.ModalDialogsDuringPageDismiss al", static_cast<int>(dialogType), static_cast<int>(NumDialogTypes)); 932 PlatformBridge::histogramEnumeration("Renderer.ModalDialogsDuringPageDismiss al", static_cast<int>(dialogType), static_cast<int>(NumDialogTypes));
928 } 933 }
929 934
930 } // namespace WebKit 935 } // namespace WebKit
OLDNEW
« no previous file with comments | « Source/WebKit/chromium/src/ChromeClientImpl.h ('k') | Source/WebKit/chromium/src/GraphicsContext3DChromium.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698