| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 ANDROID_WEBVIEW_BROWSER_RENDER_HOST_VIEW_RENDERER_HOST_H_ | 5 #ifndef ANDROID_WEBVIEW_BROWSER_RENDER_HOST_VIEW_RENDERER_HOST_H_ |
| 6 #define ANDROID_WEBVIEW_BROWSER_RENDER_HOST_VIEW_RENDERER_HOST_H_ | 6 #define ANDROID_WEBVIEW_BROWSER_RENDER_HOST_VIEW_RENDERER_HOST_H_ |
| 7 | 7 |
| 8 #include "base/threading/non_thread_safe.h" | 8 #include "base/threading/non_thread_safe.h" |
| 9 #include "content/public/browser/web_contents_observer.h" | 9 #include "content/public/browser/web_contents_observer.h" |
| 10 | 10 |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 void EnableCapturePictureCallback(bool enabled); | 38 void EnableCapturePictureCallback(bool enabled); |
| 39 | 39 |
| 40 using content::WebContentsObserver::Observe; | 40 using content::WebContentsObserver::Observe; |
| 41 | 41 |
| 42 private: | 42 private: |
| 43 // content::WebContentsObserver implementation. | 43 // content::WebContentsObserver implementation. |
| 44 virtual void RenderViewGone(base::TerminationStatus status) OVERRIDE; | 44 virtual void RenderViewGone(base::TerminationStatus status) OVERRIDE; |
| 45 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; | 45 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; |
| 46 | 46 |
| 47 void OnPictureUpdated(); | 47 void OnPictureUpdated(); |
| 48 void OnDidActivateAcceleratedCompositing(int input_handler_id); | |
| 49 void OnPageScaleFactorChanged(float page_scale_factor); | 48 void OnPageScaleFactorChanged(float page_scale_factor); |
| 50 | 49 |
| 51 bool IsRenderViewReady() const; | 50 bool IsRenderViewReady() const; |
| 52 | 51 |
| 53 Client* client_; | 52 Client* client_; |
| 54 }; | 53 }; |
| 55 | 54 |
| 56 } // namespace android_webview | 55 } // namespace android_webview |
| 57 | 56 |
| 58 #endif // ANDROID_WEBVIEW_BROWSER_RENDER_HOST_VIEW_RENDERER_HOST_H_ | 57 #endif // ANDROID_WEBVIEW_BROWSER_RENDER_HOST_VIEW_RENDERER_HOST_H_ |
| OLD | NEW |