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

Side by Side Diff: content/browser/screen_orientation/screen_orientation_dispatcher_host.cc

Issue 177293003: Revert of Chromium plumbing for Screen Orientation API orientationchange events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 9 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
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "content/browser/screen_orientation/screen_orientation_dispatcher_host. h"
6
7 #include "content/common/screen_orientation_messages.h"
8
9 namespace content {
10
11 ScreenOrientationDispatcherHost::ScreenOrientationDispatcherHost() {
12 }
13
14 bool ScreenOrientationDispatcherHost::OnMessageReceived(
15 const IPC::Message& message, bool* message_was_ok) {
16 // TODO(mlamouri): we will handle lock and unlock requests here.
17 return false;
18 }
19
20 void ScreenOrientationDispatcherHost::OnOrientationChange(
21 blink::WebScreenOrientation orientation) {
22 Send(new ScreenOrientationMsg_OrientationChange(orientation));
23 }
24
25 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/screen_orientation/screen_orientation_dispatcher_host.h ('k') | content/common/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698