| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 CHROME_RENDERER_RENDER_VIEW_H_ | 5 #ifndef CHROME_RENDERER_RENDER_VIEW_H_ |
| 6 #define CHROME_RENDERER_RENDER_VIEW_H_ | 6 #define CHROME_RENDERER_RENDER_VIEW_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <deque> | 9 #include <deque> |
| 10 #include <map> | 10 #include <map> |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 | 48 |
| 49 #if defined(OS_WIN) | 49 #if defined(OS_WIN) |
| 50 // RenderView is a diamond-shaped hierarchy, with WebWidgetClient at the root. | 50 // RenderView is a diamond-shaped hierarchy, with WebWidgetClient at the root. |
| 51 // VS warns when we inherit the WebWidgetClient method implementations from | 51 // VS warns when we inherit the WebWidgetClient method implementations from |
| 52 // RenderWidget. It's safe to ignore that warning. | 52 // RenderWidget. It's safe to ignore that warning. |
| 53 #pragma warning(disable: 4250) | 53 #pragma warning(disable: 4250) |
| 54 #endif | 54 #endif |
| 55 | 55 |
| 56 class AudioMessageFilter; | 56 class AudioMessageFilter; |
| 57 class DictionaryValue; | 57 class DictionaryValue; |
| 58 class DeviceOrientationDispatcher; |
| 58 class DevToolsAgent; | 59 class DevToolsAgent; |
| 59 class DevToolsClient; | 60 class DevToolsClient; |
| 60 class FilePath; | 61 class FilePath; |
| 61 class GeolocationDispatcher; | 62 class GeolocationDispatcher; |
| 62 class GURL; | 63 class GURL; |
| 63 class ListValue; | 64 class ListValue; |
| 64 class NavigationState; | 65 class NavigationState; |
| 65 class NotificationProvider; | 66 class NotificationProvider; |
| 66 class PepperDeviceTest; | 67 class PepperDeviceTest; |
| 67 class PluginGroup; | 68 class PluginGroup; |
| (...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 410 virtual void didSelectAutoFillSuggestion(const WebKit::WebNode& node, | 411 virtual void didSelectAutoFillSuggestion(const WebKit::WebNode& node, |
| 411 const WebKit::WebString& value, | 412 const WebKit::WebString& value, |
| 412 const WebKit::WebString& label, | 413 const WebKit::WebString& label, |
| 413 int unique_id); | 414 int unique_id); |
| 414 virtual void didClearAutoFillSelection(const WebKit::WebNode& node); | 415 virtual void didClearAutoFillSelection(const WebKit::WebNode& node); |
| 415 virtual void didAcceptAutocompleteSuggestion( | 416 virtual void didAcceptAutocompleteSuggestion( |
| 416 const WebKit::WebInputElement& element); | 417 const WebKit::WebInputElement& element); |
| 417 virtual WebKit::WebGeolocationService* geolocationService(); | 418 virtual WebKit::WebGeolocationService* geolocationService(); |
| 418 virtual WebKit::WebSpeechInputController* speechInputController( | 419 virtual WebKit::WebSpeechInputController* speechInputController( |
| 419 WebKit::WebSpeechInputListener* listener); | 420 WebKit::WebSpeechInputListener* listener); |
| 421 virtual WebKit::WebDeviceOrientationClient* deviceOrientationClient(); |
| 420 | 422 |
| 421 // WebKit::WebFrameClient implementation ------------------------------------- | 423 // WebKit::WebFrameClient implementation ------------------------------------- |
| 422 | 424 |
| 423 virtual WebKit::WebPlugin* createPlugin( | 425 virtual WebKit::WebPlugin* createPlugin( |
| 424 WebKit::WebFrame* frame, | 426 WebKit::WebFrame* frame, |
| 425 const WebKit::WebPluginParams& params); | 427 const WebKit::WebPluginParams& params); |
| 426 virtual WebKit::WebWorker* createWorker(WebKit::WebFrame* frame, | 428 virtual WebKit::WebWorker* createWorker(WebKit::WebFrame* frame, |
| 427 WebKit::WebWorkerClient* client); | 429 WebKit::WebWorkerClient* client); |
| 428 virtual WebKit::WebSharedWorker* createSharedWorker( | 430 virtual WebKit::WebSharedWorker* createSharedWorker( |
| 429 WebKit::WebFrame* frame, const WebKit::WebURL& url, | 431 WebKit::WebFrame* frame, const WebKit::WebURL& url, |
| (...skipping 789 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1219 // The geolocation dispatcher attached to this view, lazily initialized. | 1221 // The geolocation dispatcher attached to this view, lazily initialized. |
| 1220 scoped_ptr<GeolocationDispatcher> geolocation_dispatcher_; | 1222 scoped_ptr<GeolocationDispatcher> geolocation_dispatcher_; |
| 1221 | 1223 |
| 1222 // Handles accessibility requests into the renderer side, as well as | 1224 // Handles accessibility requests into the renderer side, as well as |
| 1223 // maintains the cache and other features of the accessibility tree. | 1225 // maintains the cache and other features of the accessibility tree. |
| 1224 scoped_ptr<WebKit::WebAccessibilityCache> accessibility_; | 1226 scoped_ptr<WebKit::WebAccessibilityCache> accessibility_; |
| 1225 | 1227 |
| 1226 // The speech dispatcher attached to this view, lazily initialized. | 1228 // The speech dispatcher attached to this view, lazily initialized. |
| 1227 scoped_ptr<SpeechInputDispatcher> speech_input_dispatcher_; | 1229 scoped_ptr<SpeechInputDispatcher> speech_input_dispatcher_; |
| 1228 | 1230 |
| 1231 // Device orientation dispatcher attached to this view; lazily initialized. |
| 1232 scoped_ptr<DeviceOrientationDispatcher> device_orientation_dispatcher_; |
| 1233 |
| 1229 // Misc ---------------------------------------------------------------------- | 1234 // Misc ---------------------------------------------------------------------- |
| 1230 | 1235 |
| 1231 // The current and pending file chooser completion objects. If the queue is | 1236 // The current and pending file chooser completion objects. If the queue is |
| 1232 // nonempty, the first item represents the currently running file chooser | 1237 // nonempty, the first item represents the currently running file chooser |
| 1233 // callback, and the remaining elements are the other file chooser completion | 1238 // callback, and the remaining elements are the other file chooser completion |
| 1234 // still waiting to be run (in order). | 1239 // still waiting to be run (in order). |
| 1235 struct PendingFileChooser; | 1240 struct PendingFileChooser; |
| 1236 std::deque< linked_ptr<PendingFileChooser> > file_chooser_completions_; | 1241 std::deque< linked_ptr<PendingFileChooser> > file_chooser_completions_; |
| 1237 | 1242 |
| 1238 // Resource message queue. Used to queue up resource IPCs if we need | 1243 // Resource message queue. Used to queue up resource IPCs if we need |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1285 // ADDING NEW DATA? Please see if it fits appropriately in one of the above | 1290 // ADDING NEW DATA? Please see if it fits appropriately in one of the above |
| 1286 // sections rather than throwing it randomly at the end. If you're adding a | 1291 // sections rather than throwing it randomly at the end. If you're adding a |
| 1287 // bunch of stuff, you should probably create a helper class and put your | 1292 // bunch of stuff, you should probably create a helper class and put your |
| 1288 // data and methods on that to avoid bloating RenderView more. | 1293 // data and methods on that to avoid bloating RenderView more. |
| 1289 // --------------------------------------------------------------------------- | 1294 // --------------------------------------------------------------------------- |
| 1290 | 1295 |
| 1291 DISALLOW_COPY_AND_ASSIGN(RenderView); | 1296 DISALLOW_COPY_AND_ASSIGN(RenderView); |
| 1292 }; | 1297 }; |
| 1293 | 1298 |
| 1294 #endif // CHROME_RENDERER_RENDER_VIEW_H_ | 1299 #endif // CHROME_RENDERER_RENDER_VIEW_H_ |
| OLD | NEW |