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

Side by Side Diff: content/renderer/render_view_impl.h

Issue 150153004: [WIP] Add Chromium-side support for the Screen Orientation API (Closed) Base URL: https://git.chromium.org/chromium/src.git@master
Patch Set: Updated by review comments. Created 6 years, 10 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/content_browser_client.cc ('k') | content/renderer/render_view_impl.cc » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_RENDER_VIEW_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 class MediaStreamDispatcher; 152 class MediaStreamDispatcher;
153 class MouseLockDispatcher; 153 class MouseLockDispatcher;
154 class NavigationState; 154 class NavigationState;
155 class NotificationProvider; 155 class NotificationProvider;
156 class PepperPluginInstanceImpl; 156 class PepperPluginInstanceImpl;
157 class RenderViewObserver; 157 class RenderViewObserver;
158 class RenderViewTest; 158 class RenderViewTest;
159 class RendererAccessibility; 159 class RendererAccessibility;
160 class RendererDateTimePicker; 160 class RendererDateTimePicker;
161 class RendererWebColorChooserImpl; 161 class RendererWebColorChooserImpl;
162 class ScreenOrientationDispatcher;
162 class SpeechRecognitionDispatcher; 163 class SpeechRecognitionDispatcher;
163 class WebPluginDelegateProxy; 164 class WebPluginDelegateProxy;
164 struct DropData; 165 struct DropData;
165 struct FaviconURL; 166 struct FaviconURL;
166 struct FileChooserParams; 167 struct FileChooserParams;
167 struct RenderViewImplParams; 168 struct RenderViewImplParams;
168 169
169 #if defined(OS_ANDROID) 170 #if defined(OS_ANDROID)
170 class RendererMediaPlayerManager; 171 class RendererMediaPlayerManager;
171 class WebMediaPlayerProxyAndroid; 172 class WebMediaPlayerProxyAndroid;
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
489 const blink::WebVector<blink::WebRect>& target_rects); 490 const blink::WebVector<blink::WebRect>& target_rects);
490 #endif 491 #endif
491 virtual void navigateBackForwardSoon(int offset); 492 virtual void navigateBackForwardSoon(int offset);
492 virtual int historyBackListCount(); 493 virtual int historyBackListCount();
493 virtual int historyForwardListCount(); 494 virtual int historyForwardListCount();
494 virtual void postAccessibilityEvent( 495 virtual void postAccessibilityEvent(
495 const blink::WebAXObject& obj, blink::WebAXEvent event); 496 const blink::WebAXObject& obj, blink::WebAXEvent event);
496 virtual void didUpdateInspectorSetting(const blink::WebString& key, 497 virtual void didUpdateInspectorSetting(const blink::WebString& key,
497 const blink::WebString& value); 498 const blink::WebString& value);
498 virtual blink::WebGeolocationClient* geolocationClient(); 499 virtual blink::WebGeolocationClient* geolocationClient();
500 virtual blink::WebScreenOrientationClient* screenOrientationClient() OVERRIDE;
499 virtual blink::WebSpeechInputController* speechInputController( 501 virtual blink::WebSpeechInputController* speechInputController(
500 blink::WebSpeechInputListener* listener); 502 blink::WebSpeechInputListener* listener);
501 virtual blink::WebSpeechRecognizer* speechRecognizer(); 503 virtual blink::WebSpeechRecognizer* speechRecognizer();
502 virtual void zoomLimitsChanged(double minimum_level, double maximum_level); 504 virtual void zoomLimitsChanged(double minimum_level, double maximum_level);
503 virtual void zoomLevelChanged(); 505 virtual void zoomLevelChanged();
504 virtual double zoomLevelToZoomFactor(double zoom_level) const; 506 virtual double zoomLevelToZoomFactor(double zoom_level) const;
505 virtual double zoomFactorToZoomLevel(double factor) const; 507 virtual double zoomFactorToZoomLevel(double factor) const;
506 virtual void registerProtocolHandler(const blink::WebString& scheme, 508 virtual void registerProtocolHandler(const blink::WebString& scheme,
507 const blink::WebURL& base_url, 509 const blink::WebURL& base_url,
508 const blink::WebURL& url, 510 const blink::WebURL& url,
(...skipping 838 matching lines...) Expand 10 before | Expand all | Expand 10 after
1347 // The current accessibility mode. 1349 // The current accessibility mode.
1348 AccessibilityMode accessibility_mode_; 1350 AccessibilityMode accessibility_mode_;
1349 1351
1350 // Only valid if |accessibility_mode_| is anything other than 1352 // Only valid if |accessibility_mode_| is anything other than
1351 // AccessibilityModeOff. 1353 // AccessibilityModeOff.
1352 RendererAccessibility* renderer_accessibility_; 1354 RendererAccessibility* renderer_accessibility_;
1353 1355
1354 // Mouse Lock dispatcher attached to this view. 1356 // Mouse Lock dispatcher attached to this view.
1355 MouseLockDispatcher* mouse_lock_dispatcher_; 1357 MouseLockDispatcher* mouse_lock_dispatcher_;
1356 1358
1359 ScreenOrientationDispatcher* screen_orientation_dispatcher_;
1360
1357 #if defined(OS_ANDROID) 1361 #if defined(OS_ANDROID)
1358 // Android Specific --------------------------------------------------------- 1362 // Android Specific ---------------------------------------------------------
1359 1363
1360 // The background color of the document body element. This is used as the 1364 // The background color of the document body element. This is used as the
1361 // default background color for filling the screen areas for which we don't 1365 // default background color for filling the screen areas for which we don't
1362 // have the actual content. 1366 // have the actual content.
1363 SkColor body_background_color_; 1367 SkColor body_background_color_;
1364 1368
1365 // Expected id of the next content intent launched. Used to prevent scheduled 1369 // Expected id of the next content intent launched. Used to prevent scheduled
1366 // intents to be launched if aborted. 1370 // intents to be launched if aborted.
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
1477 // use the Observer interface to filter IPC messages and receive frame change 1481 // use the Observer interface to filter IPC messages and receive frame change
1478 // notifications. 1482 // notifications.
1479 // --------------------------------------------------------------------------- 1483 // ---------------------------------------------------------------------------
1480 1484
1481 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1485 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1482 }; 1486 };
1483 1487
1484 } // namespace content 1488 } // namespace content
1485 1489
1486 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1490 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « content/public/browser/content_browser_client.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698