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

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

Issue 15764004: DevTools: show extension name in console context switcher (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: correct rebaseline Created 6 years, 3 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 691 matching lines...) Expand 10 before | Expand all | Expand 10 after
702 ASSERT(frame()); 702 ASSERT(frame());
703 DOMWrapperWorld::setIsolatedWorldSecurityOrigin(worldID, securityOrigin.get( )); 703 DOMWrapperWorld::setIsolatedWorldSecurityOrigin(worldID, securityOrigin.get( ));
704 } 704 }
705 705
706 void WebLocalFrameImpl::setIsolatedWorldContentSecurityPolicy(int worldID, const WebString& policy) 706 void WebLocalFrameImpl::setIsolatedWorldContentSecurityPolicy(int worldID, const WebString& policy)
707 { 707 {
708 ASSERT(frame()); 708 ASSERT(frame());
709 DOMWrapperWorld::setIsolatedWorldContentSecurityPolicy(worldID, policy); 709 DOMWrapperWorld::setIsolatedWorldContentSecurityPolicy(worldID, policy);
710 } 710 }
711 711
712 void WebLocalFrameImpl::setIsolatedWorldHumanReadableName(int worldID, const Web String& humanReadableName)
713 {
714 ASSERT(frame());
715 DOMWrapperWorld::setIsolatedWorldHumanReadableName(worldID, humanReadableNam e);
716 }
717
712 void WebLocalFrameImpl::addMessageToConsole(const WebConsoleMessage& message) 718 void WebLocalFrameImpl::addMessageToConsole(const WebConsoleMessage& message)
713 { 719 {
714 ASSERT(frame()); 720 ASSERT(frame());
715 721
716 MessageLevel webCoreMessageLevel; 722 MessageLevel webCoreMessageLevel;
717 switch (message.level) { 723 switch (message.level) {
718 case WebConsoleMessage::LevelDebug: 724 case WebConsoleMessage::LevelDebug:
719 webCoreMessageLevel = DebugMessageLevel; 725 webCoreMessageLevel = DebugMessageLevel;
720 break; 726 break;
721 case WebConsoleMessage::LevelLog: 727 case WebConsoleMessage::LevelLog:
(...skipping 1137 matching lines...) Expand 10 before | Expand all | Expand 10 after
1859 1865
1860 void WebLocalFrameImpl::invalidateAll() const 1866 void WebLocalFrameImpl::invalidateAll() const
1861 { 1867 {
1862 ASSERT(frame() && frame()->view()); 1868 ASSERT(frame() && frame()->view());
1863 FrameView* view = frame()->view(); 1869 FrameView* view = frame()->view();
1864 view->invalidateRect(view->frameRect()); 1870 view->invalidateRect(view->frameRect());
1865 invalidateScrollbar(); 1871 invalidateScrollbar();
1866 } 1872 }
1867 1873
1868 } // namespace blink 1874 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698