| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 319 | 319 |
| 320 // Returns the page object associated with this view. This may be null when | 320 // Returns the page object associated with this view. This may be null when |
| 321 // the page is shutting down, but will be valid at all other times. | 321 // the page is shutting down, but will be valid at all other times. |
| 322 Page* page() const | 322 Page* page() const |
| 323 { | 323 { |
| 324 return m_page.get(); | 324 return m_page.get(); |
| 325 } | 325 } |
| 326 | 326 |
| 327 WebDevToolsAgentImpl* mainFrameDevToolsAgentImpl(); | 327 WebDevToolsAgentImpl* mainFrameDevToolsAgentImpl(); |
| 328 | 328 |
| 329 void setTouchEventEmulationEnabled(bool); |
| 330 |
| 329 DevToolsEmulator* devToolsEmulator() const | 331 DevToolsEmulator* devToolsEmulator() const |
| 330 { | 332 { |
| 331 return m_devToolsEmulator.get(); | 333 return m_devToolsEmulator.get(); |
| 332 } | 334 } |
| 333 | 335 |
| 334 // Returns the main frame associated with this view. This may be null when | 336 // Returns the main frame associated with this view. This may be null when |
| 335 // the page is shutting down, but will be valid at all other times. | 337 // the page is shutting down, but will be valid at all other times. |
| 336 WebLocalFrameImpl* mainFrameImpl() const; | 338 WebLocalFrameImpl* mainFrameImpl() const; |
| 337 | 339 |
| 338 // FIXME: Temporary method to accommodate out-of-process frame ancestors; | 340 // FIXME: Temporary method to accommodate out-of-process frame ancestors; |
| (...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 756 double m_lastFrameTimeMonotonic; | 758 double m_lastFrameTimeMonotonic; |
| 757 }; | 759 }; |
| 758 | 760 |
| 759 // We have no ways to check if the specified WebView is an instance of | 761 // We have no ways to check if the specified WebView is an instance of |
| 760 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 762 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
| 761 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 763 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
| 762 | 764 |
| 763 } // namespace blink | 765 } // namespace blink |
| 764 | 766 |
| 765 #endif | 767 #endif |
| OLD | NEW |