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

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

Issue 486383003: WakeLock API: IPC at renderer side. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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 (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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 class ImageResourceFetcher; 131 class ImageResourceFetcher;
132 class MouseLockDispatcher; 132 class MouseLockDispatcher;
133 class NavigationState; 133 class NavigationState;
134 class PepperPluginInstanceImpl; 134 class PepperPluginInstanceImpl;
135 class RenderViewImplTest; 135 class RenderViewImplTest;
136 class RenderViewObserver; 136 class RenderViewObserver;
137 class RenderViewTest; 137 class RenderViewTest;
138 class RendererDateTimePicker; 138 class RendererDateTimePicker;
139 class RendererWebColorChooserImpl; 139 class RendererWebColorChooserImpl;
140 class SpeechRecognitionDispatcher; 140 class SpeechRecognitionDispatcher;
141 class WakeLockDispatcher;
141 class WebPluginDelegateProxy; 142 class WebPluginDelegateProxy;
142 struct DropData; 143 struct DropData;
143 struct FaviconURL; 144 struct FaviconURL;
144 struct FileChooserParams; 145 struct FileChooserParams;
145 struct RenderViewImplParams; 146 struct RenderViewImplParams;
146 147
147 #if defined(OS_ANDROID) 148 #if defined(OS_ANDROID)
148 class WebMediaPlayerProxyAndroid; 149 class WebMediaPlayerProxyAndroid;
149 #endif 150 #endif
150 151
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 const blink::WebURL& base_url, 433 const blink::WebURL& base_url,
433 const blink::WebURL& url, 434 const blink::WebURL& url,
434 const blink::WebString& title); 435 const blink::WebString& title);
435 virtual void unregisterProtocolHandler(const blink::WebString& scheme, 436 virtual void unregisterProtocolHandler(const blink::WebString& scheme,
436 const blink::WebURL& base_url, 437 const blink::WebURL& base_url,
437 const blink::WebURL& url); 438 const blink::WebURL& url);
438 virtual blink::WebPageVisibilityState visibilityState() const; 439 virtual blink::WebPageVisibilityState visibilityState() const;
439 virtual blink::WebPushClient* webPushClient(); 440 virtual blink::WebPushClient* webPushClient();
440 virtual void draggableRegionsChanged(); 441 virtual void draggableRegionsChanged();
441 442
443 virtual blink::WebWakeLockClient* webWakeLockClient();
444
442 #if defined(OS_ANDROID) 445 #if defined(OS_ANDROID)
443 virtual void scheduleContentIntent(const blink::WebURL& intent); 446 virtual void scheduleContentIntent(const blink::WebURL& intent);
444 virtual void cancelScheduledContentIntents(); 447 virtual void cancelScheduledContentIntents();
445 virtual blink::WebContentDetectionResult detectContentAround( 448 virtual blink::WebContentDetectionResult detectContentAround(
446 const blink::WebHitTestResult& touch_hit); 449 const blink::WebHitTestResult& touch_hit);
447 450
448 // Only used on Android since all other platforms implement 451 // Only used on Android since all other platforms implement
449 // date and time input fields using MULTIPLE_FIELDS_UI 452 // date and time input fields using MULTIPLE_FIELDS_UI
450 virtual bool openDateTimeChooser(const blink::WebDateTimeChooserParams&, 453 virtual bool openDateTimeChooser(const blink::WebDateTimeChooserParams&,
451 blink::WebDateTimeChooserCompletion*); 454 blink::WebDateTimeChooserCompletion*);
(...skipping 581 matching lines...) Expand 10 before | Expand all | Expand 10 after
1033 // BrowserPluginManager attached to this view; lazily initialized. 1036 // BrowserPluginManager attached to this view; lazily initialized.
1034 scoped_refptr<BrowserPluginManager> browser_plugin_manager_; 1037 scoped_refptr<BrowserPluginManager> browser_plugin_manager_;
1035 1038
1036 DevToolsAgent* devtools_agent_; 1039 DevToolsAgent* devtools_agent_;
1037 1040
1038 // Mouse Lock dispatcher attached to this view. 1041 // Mouse Lock dispatcher attached to this view.
1039 MouseLockDispatcher* mouse_lock_dispatcher_; 1042 MouseLockDispatcher* mouse_lock_dispatcher_;
1040 1043
1041 scoped_ptr<HistoryController> history_controller_; 1044 scoped_ptr<HistoryController> history_controller_;
1042 1045
1046 // The wake lock dispatcher attached to this view, lazily initialized.
1047 WakeLockDispatcher* wakelock_dispatcher_;
1048
1043 #if defined(OS_ANDROID) 1049 #if defined(OS_ANDROID)
1044 // Android Specific --------------------------------------------------------- 1050 // Android Specific ---------------------------------------------------------
1045 1051
1046 // Expected id of the next content intent launched. Used to prevent scheduled 1052 // Expected id of the next content intent launched. Used to prevent scheduled
1047 // intents to be launched if aborted. 1053 // intents to be launched if aborted.
1048 size_t expected_content_intent_id_; 1054 size_t expected_content_intent_id_;
1049 1055
1050 // List of click-based content detectors. 1056 // List of click-based content detectors.
1051 typedef std::vector< linked_ptr<ContentDetector> > ContentDetectorList; 1057 typedef std::vector< linked_ptr<ContentDetector> > ContentDetectorList;
1052 ContentDetectorList content_detectors_; 1058 ContentDetectorList content_detectors_;
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
1147 // use the Observer interface to filter IPC messages and receive frame change 1153 // use the Observer interface to filter IPC messages and receive frame change
1148 // notifications. 1154 // notifications.
1149 // --------------------------------------------------------------------------- 1155 // ---------------------------------------------------------------------------
1150 1156
1151 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1157 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1152 }; 1158 };
1153 1159
1154 } // namespace content 1160 } // namespace content
1155 1161
1156 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1162 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698