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

Unified Diff: Source/modules/screen_orientation/ScreenOrientation.h

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.idl ('k') | Source/modules/screen_orientation/ScreenOrientation.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/screen_orientation/ScreenOrientation.h
diff --git a/Source/modules/screen_orientation/ScreenOrientation.h b/Source/modules/screen_orientation/ScreenOrientation.h
index 7a3e05a9ae61e2c16e8e6abaecfb78e40ab6f8aa..99e1db393ae29adb0fdc7341e9da1504838d5512 100644
--- a/Source/modules/screen_orientation/ScreenOrientation.h
+++ b/Source/modules/screen_orientation/ScreenOrientation.h
@@ -5,7 +5,6 @@
#ifndef ScreenOrientation_h
#define ScreenOrientation_h
-#include "core/events/EventTarget.h"
#include "core/frame/DOMWindowProperty.h"
#include "heap/Handle.h"
#include "platform/Supplementable.h"
@@ -25,8 +24,6 @@ public:
static ScreenOrientation& from(Screen&);
virtual ~ScreenOrientation();
- DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(orientationchange);
-
static const AtomicString& orientation(Screen&);
static bool lockOrientation(Screen&, const AtomicString& orientation);
static void unlockOrientation(Screen&);
« no previous file with comments | « Source/core/frame/Screen.idl ('k') | Source/modules/screen_orientation/ScreenOrientation.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698