| 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_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_ANDROID_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_ANDROID_H_ |
| 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_ANDROID_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_ANDROID_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "content/public/browser/web_contents_view.h" | 9 #include "content/public/browser/web_contents_view.h" |
| 10 | 10 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 virtual void OnTabCrashed(base::TerminationStatus status, | 27 virtual void OnTabCrashed(base::TerminationStatus status, |
| 28 int error_code) OVERRIDE; | 28 int error_code) OVERRIDE; |
| 29 virtual void SizeContents(const gfx::Size& size) OVERRIDE; | 29 virtual void SizeContents(const gfx::Size& size) OVERRIDE; |
| 30 virtual void RenderViewCreated(content::RenderViewHost* host) OVERRIDE; | 30 virtual void RenderViewCreated(content::RenderViewHost* host) OVERRIDE; |
| 31 virtual void Focus() OVERRIDE; | 31 virtual void Focus() OVERRIDE; |
| 32 virtual void SetInitialFocus() OVERRIDE; | 32 virtual void SetInitialFocus() OVERRIDE; |
| 33 virtual void StoreFocus() OVERRIDE; | 33 virtual void StoreFocus() OVERRIDE; |
| 34 virtual void RestoreFocus() OVERRIDE; | 34 virtual void RestoreFocus() OVERRIDE; |
| 35 virtual bool IsDoingDrag() const OVERRIDE; | 35 virtual bool IsDoingDrag() const OVERRIDE; |
| 36 virtual void CancelDragAndCloseTab() OVERRIDE; | 36 virtual void CancelDragAndCloseTab() OVERRIDE; |
| 37 virtual WebDropData* GetDropData() const OVERRIDE; |
| 37 virtual bool IsEventTracking() const OVERRIDE; | 38 virtual bool IsEventTracking() const OVERRIDE; |
| 38 virtual void CloseTabAfterEventTracking() OVERRIDE; | 39 virtual void CloseTabAfterEventTracking() OVERRIDE; |
| 39 virtual void GetViewBounds(gfx::Rect* out) const OVERRIDE; | 40 virtual void GetViewBounds(gfx::Rect* out) const OVERRIDE; |
| 40 | 41 |
| 41 // Backend implementation of RenderViewHostDelegate::View. | 42 // Backend implementation of RenderViewHostDelegate::View. |
| 42 virtual void CreateNewWindow( | 43 virtual void CreateNewWindow( |
| 43 int route_id, | 44 int route_id, |
| 44 const ViewHostMsg_CreateWindow_Params& params) OVERRIDE; | 45 const ViewHostMsg_CreateWindow_Params& params) OVERRIDE; |
| 45 virtual void CreateNewWidget(int route_id, | 46 virtual void CreateNewWidget(int route_id, |
| 46 WebKit::WebPopupType popup_type) OVERRIDE; | 47 WebKit::WebPopupType popup_type) OVERRIDE; |
| (...skipping 22 matching lines...) Expand all Loading... |
| 69 virtual void TakeFocus(bool reverse) OVERRIDE; | 70 virtual void TakeFocus(bool reverse) OVERRIDE; |
| 70 | 71 |
| 71 private: | 72 private: |
| 72 // The WebContents whose contents we display. | 73 // The WebContents whose contents we display. |
| 73 content::WebContents* web_contents_; | 74 content::WebContents* web_contents_; |
| 74 | 75 |
| 75 DISALLOW_COPY_AND_ASSIGN(WebContentsViewAndroid); | 76 DISALLOW_COPY_AND_ASSIGN(WebContentsViewAndroid); |
| 76 }; | 77 }; |
| 77 | 78 |
| 78 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_ANDROID_H_ | 79 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_ANDROID_H_ |
| OLD | NEW |