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_TAB_CONTENTS_WEB_CONTENTS_VIEW_ANDROID_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_ANDROID_H_ |
6 #define CONTENT_BROWSER_TAB_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 |
11 class WebContentsViewAndroid : public content::WebContentsView { | 11 class WebContentsViewAndroid : public content::WebContentsView { |
12 public: | 12 public: |
13 explicit WebContentsViewAndroid(content::WebContents* web_contents); | 13 explicit WebContentsViewAndroid(content::WebContents* web_contents); |
14 virtual ~WebContentsViewAndroid(); | 14 virtual ~WebContentsViewAndroid(); |
15 | 15 |
16 // WebContentsView implementation -------------------------------------------- | 16 // WebContentsView implementation -------------------------------------------- |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 virtual void GotFocus() OVERRIDE; | 68 virtual void GotFocus() OVERRIDE; |
69 virtual void TakeFocus(bool reverse) OVERRIDE; | 69 virtual void TakeFocus(bool reverse) OVERRIDE; |
70 | 70 |
71 private: | 71 private: |
72 // The WebContents whose contents we display. | 72 // The WebContents whose contents we display. |
73 content::WebContents* web_contents_; | 73 content::WebContents* web_contents_; |
74 | 74 |
75 DISALLOW_COPY_AND_ASSIGN(WebContentsViewAndroid); | 75 DISALLOW_COPY_AND_ASSIGN(WebContentsViewAndroid); |
76 }; | 76 }; |
77 | 77 |
78 #endif // CONTENT_BROWSER_TAB_CONTENTS_WEB_CONTENTS_VIEW_ANDROID_H_ | 78 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_ANDROID_H_ |
OLD | NEW |