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

Side by Side Diff: content/public/browser/screen_orientation_provider.cc

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
« no previous file with comments | « content/public/browser/screen_orientation_provider.h ('k') | content/public/common/manifest.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "content/public/browser/screen_orientation_provider.h" 5 #include "content/public/browser/screen_orientation_provider.h"
6 6
7 #include "content/browser/renderer_host/render_view_host_delegate.h" 7 #include "content/browser/renderer_host/render_view_host_delegate.h"
8 #include "content/public/browser/render_view_host.h" 8 #include "content/public/browser/render_view_host.h"
9 #include "content/public/browser/screen_orientation_delegate.h" 9 #include "content/public/browser/screen_orientation_delegate.h"
10 #include "content/public/browser/screen_orientation_dispatcher_host.h" 10 #include "content/public/browser/screen_orientation_dispatcher_host.h"
11 #include "content/public/browser/web_contents.h" 11 #include "content/public/browser/web_contents.h"
12 #include "third_party/WebKit/public/platform/WebLockOrientationError.h"
13 #include "third_party/WebKit/public/platform/WebScreenInfo.h" 12 #include "third_party/WebKit/public/platform/WebScreenInfo.h"
13 #include "third_party/WebKit/public/platform/modules/screen_orientation/WebLockO rientationError.h"
14 14
15 namespace content { 15 namespace content {
16 16
17 ScreenOrientationDelegate* ScreenOrientationProvider::delegate_ = nullptr; 17 ScreenOrientationDelegate* ScreenOrientationProvider::delegate_ = nullptr;
18 18
19 ScreenOrientationProvider::LockInformation::LockInformation(int request_id, 19 ScreenOrientationProvider::LockInformation::LockInformation(int request_id,
20 blink::WebScreenOrientationLockType lock) 20 blink::WebScreenOrientationLockType lock)
21 : request_id(request_id), 21 : request_id(request_id),
22 lock(lock) { 22 lock(lock) {
23 } 23 }
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 case blink::WebScreenOrientationLockDefault: 200 case blink::WebScreenOrientationLockDefault:
201 NOTREACHED(); 201 NOTREACHED();
202 return false; 202 return false;
203 } 203 }
204 204
205 NOTREACHED(); 205 NOTREACHED();
206 return false; 206 return false;
207 } 207 }
208 208
209 } // namespace content 209 } // namespace content
OLDNEW
« no previous file with comments | « content/public/browser/screen_orientation_provider.h ('k') | content/public/common/manifest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698