| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <deque> | 9 #include <deque> |
| 10 #include <map> | 10 #include <map> |
| (...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 355 virtual void setMouseOverURL(const WebKit::WebURL& url); | 355 virtual void setMouseOverURL(const WebKit::WebURL& url); |
| 356 virtual void setKeyboardFocusURL(const WebKit::WebURL& url); | 356 virtual void setKeyboardFocusURL(const WebKit::WebURL& url); |
| 357 virtual void startDragging(const WebKit::WebDragData& data, | 357 virtual void startDragging(const WebKit::WebDragData& data, |
| 358 WebKit::WebDragOperationsMask mask, | 358 WebKit::WebDragOperationsMask mask, |
| 359 const WebKit::WebImage& image, | 359 const WebKit::WebImage& image, |
| 360 const WebKit::WebPoint& imageOffset); | 360 const WebKit::WebPoint& imageOffset); |
| 361 virtual bool acceptsLoadDrops(); | 361 virtual bool acceptsLoadDrops(); |
| 362 virtual void focusNext(); | 362 virtual void focusNext(); |
| 363 virtual void focusPrevious(); | 363 virtual void focusPrevious(); |
| 364 virtual void focusedNodeChanged(const WebKit::WebNode& node); | 364 virtual void focusedNodeChanged(const WebKit::WebNode& node); |
| 365 virtual void didUpdateLayout(); |
| 365 virtual void navigateBackForwardSoon(int offset); | 366 virtual void navigateBackForwardSoon(int offset); |
| 366 virtual int historyBackListCount(); | 367 virtual int historyBackListCount(); |
| 367 virtual int historyForwardListCount(); | 368 virtual int historyForwardListCount(); |
| 368 virtual void postAccessibilityNotification( | 369 virtual void postAccessibilityNotification( |
| 369 const WebKit::WebAccessibilityObject& obj, | 370 const WebKit::WebAccessibilityObject& obj, |
| 370 WebKit::WebAccessibilityNotification notification); | 371 WebKit::WebAccessibilityNotification notification); |
| 371 virtual void didUpdateInspectorSetting(const WebKit::WebString& key, | 372 virtual void didUpdateInspectorSetting(const WebKit::WebString& key, |
| 372 const WebKit::WebString& value); | 373 const WebKit::WebString& value); |
| 373 virtual WebKit::WebGeolocationClient* geolocationClient(); | 374 virtual WebKit::WebGeolocationClient* geolocationClient(); |
| 374 virtual WebKit::WebSpeechInputController* speechInputController( | 375 virtual WebKit::WebSpeechInputController* speechInputController( |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 488 const WebKit::WebSecurityOrigin& origin, | 489 const WebKit::WebSecurityOrigin& origin, |
| 489 const WebKit::WebURL& target); | 490 const WebKit::WebURL& target); |
| 490 virtual void didAdoptURLLoader(WebKit::WebURLLoader* loader); | 491 virtual void didAdoptURLLoader(WebKit::WebURLLoader* loader); |
| 491 virtual void didExhaustMemoryAvailableForScript(WebKit::WebFrame* frame); | 492 virtual void didExhaustMemoryAvailableForScript(WebKit::WebFrame* frame); |
| 492 virtual void didCreateScriptContext(WebKit::WebFrame* frame, | 493 virtual void didCreateScriptContext(WebKit::WebFrame* frame, |
| 493 v8::Handle<v8::Context>, | 494 v8::Handle<v8::Context>, |
| 494 int world_id); | 495 int world_id); |
| 495 virtual void willReleaseScriptContext(WebKit::WebFrame* frame, | 496 virtual void willReleaseScriptContext(WebKit::WebFrame* frame, |
| 496 v8::Handle<v8::Context>, | 497 v8::Handle<v8::Context>, |
| 497 int world_id); | 498 int world_id); |
| 499 // TODO(levin): Remove didUpdateLayout after it is moved from WebFrameClient |
| 500 // to WebViewClient. |
| 498 virtual void didUpdateLayout(WebKit::WebFrame* frame); | 501 virtual void didUpdateLayout(WebKit::WebFrame* frame); |
| 499 virtual void didChangeScrollOffset(WebKit::WebFrame* frame); | 502 virtual void didChangeScrollOffset(WebKit::WebFrame* frame); |
| 500 virtual void numberOfWheelEventHandlersChanged(unsigned num_handlers); | 503 virtual void numberOfWheelEventHandlersChanged(unsigned num_handlers); |
| 501 virtual void didChangeContentsSize(WebKit::WebFrame* frame, | 504 virtual void didChangeContentsSize(WebKit::WebFrame* frame, |
| 502 const WebKit::WebSize& size); | 505 const WebKit::WebSize& size); |
| 503 virtual void reportFindInPageMatchCount(int request_id, | 506 virtual void reportFindInPageMatchCount(int request_id, |
| 504 int count, | 507 int count, |
| 505 bool final_update); | 508 bool final_update); |
| 506 virtual void reportFindInPageSelection(int request_id, | 509 virtual void reportFindInPageSelection(int request_id, |
| 507 int active_match_ordinal, | 510 int active_match_ordinal, |
| (...skipping 708 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1216 // bunch of stuff, you should probably create a helper class and put your | 1219 // bunch of stuff, you should probably create a helper class and put your |
| 1217 // data and methods on that to avoid bloating RenderView more. You can | 1220 // data and methods on that to avoid bloating RenderView more. You can |
| 1218 // use the Observer interface to filter IPC messages and receive frame change | 1221 // use the Observer interface to filter IPC messages and receive frame change |
| 1219 // notifications. | 1222 // notifications. |
| 1220 // --------------------------------------------------------------------------- | 1223 // --------------------------------------------------------------------------- |
| 1221 | 1224 |
| 1222 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1225 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1223 }; | 1226 }; |
| 1224 | 1227 |
| 1225 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1228 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |