| OLD | NEW |
| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <deque> | 9 #include <deque> |
| 10 #include <map> | 10 #include <map> |
| (...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 384 std::string* actual_mime_type); | 384 std::string* actual_mime_type); |
| 385 | 385 |
| 386 void TransferActiveWheelFlingAnimation( | 386 void TransferActiveWheelFlingAnimation( |
| 387 const WebKit::WebActiveWheelFlingParameters& params); | 387 const WebKit::WebActiveWheelFlingParameters& params); |
| 388 | 388 |
| 389 // Returns true if the focused element is editable text from the perspective | 389 // Returns true if the focused element is editable text from the perspective |
| 390 // of IME support (also used for on-screen keyboard). Works correctly inside | 390 // of IME support (also used for on-screen keyboard). Works correctly inside |
| 391 // supported PPAPI plug-ins. | 391 // supported PPAPI plug-ins. |
| 392 bool HasIMETextFocus(); | 392 bool HasIMETextFocus(); |
| 393 | 393 |
| 394 // IPC::Channel::Listener implementation ------------------------------------- | 394 // IPC::Listener implementation ---------------------------------------------- |
| 395 | 395 |
| 396 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; | 396 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; |
| 397 | 397 |
| 398 // WebKit::WebWidgetClient implementation ------------------------------------ | 398 // WebKit::WebWidgetClient implementation ------------------------------------ |
| 399 | 399 |
| 400 // Most methods are handled by RenderWidget. | 400 // Most methods are handled by RenderWidget. |
| 401 virtual void didFocus(); | 401 virtual void didFocus(); |
| 402 virtual void didBlur(); | 402 virtual void didBlur(); |
| 403 virtual void show(WebKit::WebNavigationPolicy policy); | 403 virtual void show(WebKit::WebNavigationPolicy policy); |
| 404 virtual void runModal(); | 404 virtual void runModal(); |
| (...skipping 1034 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1439 // bunch of stuff, you should probably create a helper class and put your | 1439 // bunch of stuff, you should probably create a helper class and put your |
| 1440 // data and methods on that to avoid bloating RenderView more. You can | 1440 // data and methods on that to avoid bloating RenderView more. You can |
| 1441 // use the Observer interface to filter IPC messages and receive frame change | 1441 // use the Observer interface to filter IPC messages and receive frame change |
| 1442 // notifications. | 1442 // notifications. |
| 1443 // --------------------------------------------------------------------------- | 1443 // --------------------------------------------------------------------------- |
| 1444 | 1444 |
| 1445 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1445 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1446 }; | 1446 }; |
| 1447 | 1447 |
| 1448 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1448 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |