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

Side by Side Diff: content/renderer/screen_orientation/screen_orientation_dispatcher.h

Issue 1151373005: Update Blink's screen orientation path in Chromium. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix one include Created 5 years, 6 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_SCREEN_ORIENTATION_SCREEN_ORIENTATION_DISPATCHER_H_ 5 #ifndef CONTENT_RENDERER_SCREEN_ORIENTATION_SCREEN_ORIENTATION_DISPATCHER_H_
6 #define CONTENT_RENDERER_SCREEN_ORIENTATION_SCREEN_ORIENTATION_DISPATCHER_H_ 6 #define CONTENT_RENDERER_SCREEN_ORIENTATION_SCREEN_ORIENTATION_DISPATCHER_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/id_map.h" 9 #include "base/id_map.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "content/public/renderer/render_frame_observer.h" 11 #include "content/public/renderer/render_frame_observer.h"
12 #include "third_party/WebKit/public/platform/WebLockOrientationCallback.h" 12 #include "third_party/WebKit/public/platform/modules/screen_orientation/WebLockO rientationCallback.h"
13 #include "third_party/WebKit/public/platform/WebScreenOrientationClient.h" 13 #include "third_party/WebKit/public/platform/modules/screen_orientation/WebScree nOrientationClient.h"
14 #include "third_party/WebKit/public/platform/WebScreenOrientationLockType.h" 14 #include "third_party/WebKit/public/platform/modules/screen_orientation/WebScree nOrientationLockType.h"
15 #include "third_party/WebKit/public/platform/WebScreenOrientationType.h" 15 #include "third_party/WebKit/public/platform/modules/screen_orientation/WebScree nOrientationType.h"
16 16
17 namespace content { 17 namespace content {
18 18
19 class RenderFrame; 19 class RenderFrame;
20 20
21 // ScreenOrientationDispatcher implements the WebScreenOrientationClient API 21 // ScreenOrientationDispatcher implements the WebScreenOrientationClient API
22 // which handles screen lock. It sends lock (or unlock) requests to the browser 22 // which handles screen lock. It sends lock (or unlock) requests to the browser
23 // process and listens for responses and let Blink know about the result of the 23 // process and listens for responses and let Blink know about the result of the
24 // request via WebLockOrientationCallback. 24 // request via WebLockOrientationCallback.
25 class CONTENT_EXPORT ScreenOrientationDispatcher : 25 class CONTENT_EXPORT ScreenOrientationDispatcher :
(...skipping 28 matching lines...) Expand all
54 // which is what IDMap was designed for. 54 // which is what IDMap was designed for.
55 typedef IDMap<blink::WebLockOrientationCallback, IDMapOwnPointer> CallbackMap; 55 typedef IDMap<blink::WebLockOrientationCallback, IDMapOwnPointer> CallbackMap;
56 CallbackMap pending_callbacks_; 56 CallbackMap pending_callbacks_;
57 57
58 DISALLOW_COPY_AND_ASSIGN(ScreenOrientationDispatcher); 58 DISALLOW_COPY_AND_ASSIGN(ScreenOrientationDispatcher);
59 }; 59 };
60 60
61 } // namespace content 61 } // namespace content
62 62
63 #endif // CONTENT_RENDERER_SCREEN_ORIENTATION_SCREEN_ORIENTATION_DISPATCHER_H_ 63 #endif // CONTENT_RENDERER_SCREEN_ORIENTATION_SCREEN_ORIENTATION_DISPATCHER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698