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

Unified Diff: Source/core/frame/Screen.cpp

Issue 241203003: Screen Orientation: fire event on Window instead of Screen. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@ScreenOrientationUndefined
Patch Set: fix tests Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/frame/Screen.h ('k') | Source/core/frame/Screen.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/Screen.cpp
diff --git a/Source/core/frame/Screen.cpp b/Source/core/frame/Screen.cpp
index 7a258ebf77e354fafcb70a318c2f1aa0f15e8067..13523f462235f5b0cfcc5240cb68bddc52fd838c 100644
--- a/Source/core/frame/Screen.cpp
+++ b/Source/core/frame/Screen.cpp
@@ -120,18 +120,6 @@ unsigned Screen::availWidth() const
return static_cast<unsigned>(screenAvailableRect(m_frame->view()).width());
}
-const AtomicString& Screen::interfaceName() const
-{
- return EventTargetNames::Screen;
-}
-
-ExecutionContext* Screen::executionContext() const
-{
- if (!m_frame)
- return 0;
- return m_frame->document();
-}
-
void Screen::trace(Visitor* visitor)
{
WillBeHeapSupplementable<Screen>::trace(visitor);
« no previous file with comments | « Source/core/frame/Screen.h ('k') | Source/core/frame/Screen.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698