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

Side by Side Diff: Source/web/ChromeClientImpl.cpp

Issue 18822004: Extension Error Piping - Blink: WebKit Side (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: Created 7 years, 4 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/web/ChromeClientImpl.h ('k') | Source/web/WebPagePopupImpl.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 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 bool ChromeClientImpl::menubarVisible() 361 bool ChromeClientImpl::menubarVisible()
362 { 362 {
363 return m_menubarVisible; 363 return m_menubarVisible;
364 } 364 }
365 365
366 void ChromeClientImpl::setResizable(bool value) 366 void ChromeClientImpl::setResizable(bool value)
367 { 367 {
368 m_resizable = value; 368 m_resizable = value;
369 } 369 }
370 370
371 void ChromeClientImpl::addMessageToConsole(MessageSource source, 371 bool ChromeClientImpl::shouldReportDetailedMessageForSource(const String& url)
372 MessageLevel level, 372 {
373 const String& message, 373 return m_webView->client() && m_webView->client()->shouldReportDetailedMessa geForSource(url);
374 unsigned lineNumber, 374 }
375 const String& sourceID) 375
376 void ChromeClientImpl::addMessageToConsole(MessageSource source, MessageLevel le vel, const String& message, unsigned lineNumber, const String& sourceID, const S tring& stackTrace)
376 { 377 {
377 if (m_webView->client()) { 378 if (m_webView->client()) {
378 m_webView->client()->didAddMessageToConsole( 379 m_webView->client()->didAddMessageToConsole(
379 WebConsoleMessage(static_cast<WebConsoleMessage::Level>(level), mess age), 380 WebConsoleMessage(static_cast<WebConsoleMessage::Level>(level), mess age),
380 sourceID, 381 sourceID,
381 lineNumber); 382 lineNumber,
383 stackTrace);
382 } 384 }
383 } 385 }
384 386
385 bool ChromeClientImpl::canRunBeforeUnloadConfirmPanel() 387 bool ChromeClientImpl::canRunBeforeUnloadConfirmPanel()
386 { 388 {
387 return !!m_webView->client(); 389 return !!m_webView->client();
388 } 390 }
389 391
390 bool ChromeClientImpl::runBeforeUnloadConfirmPanel(const String& message, Frame* frame) 392 bool ChromeClientImpl::runBeforeUnloadConfirmPanel(const String& message, Frame* frame)
391 { 393 {
(...skipping 611 matching lines...) Expand 10 before | Expand all | Expand 10 after
1003 { 1005 {
1004 } 1006 }
1005 1007
1006 void NavigatorContentUtilsClientImpl::registerProtocolHandler(const String& sche me, const String& baseURL, const String& url, const String& title) 1008 void NavigatorContentUtilsClientImpl::registerProtocolHandler(const String& sche me, const String& baseURL, const String& url, const String& title)
1007 { 1009 {
1008 m_webView->client()->registerProtocolHandler(scheme, baseURL, url, title); 1010 m_webView->client()->registerProtocolHandler(scheme, baseURL, url, title);
1009 } 1011 }
1010 #endif 1012 #endif
1011 1013
1012 } // namespace WebKit 1014 } // namespace WebKit
OLDNEW
« no previous file with comments | « Source/web/ChromeClientImpl.h ('k') | Source/web/WebPagePopupImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698