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 COMPONENTS_WEB_CONTENTS_DELEGATE_ANDROID_WEB_CONTENTS_DELEGATE_ANDROID_H
_ | 5 #ifndef COMPONENTS_WEB_CONTENTS_DELEGATE_ANDROID_WEB_CONTENTS_DELEGATE_ANDROID_H
_ |
6 #define COMPONENTS_WEB_CONTENTS_DELEGATE_ANDROID_WEB_CONTENTS_DELEGATE_ANDROID_H
_ | 6 #define COMPONENTS_WEB_CONTENTS_DELEGATE_ANDROID_WEB_CONTENTS_DELEGATE_ANDROID_H
_ |
7 | 7 |
8 #include "base/android/jni_weak_ref.h" | 8 #include "base/android/jni_weak_ref.h" |
9 #include "base/android/scoped_java_ref.h" | 9 #include "base/android/scoped_java_ref.h" |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 virtual void RendererResponsive(content::WebContents* source) OVERRIDE; | 73 virtual void RendererResponsive(content::WebContents* source) OVERRIDE; |
74 virtual void CloseContents(content::WebContents* source) OVERRIDE; | 74 virtual void CloseContents(content::WebContents* source) OVERRIDE; |
75 virtual void MoveContents(content::WebContents* source, | 75 virtual void MoveContents(content::WebContents* source, |
76 const gfx::Rect& pos) OVERRIDE; | 76 const gfx::Rect& pos) OVERRIDE; |
77 virtual bool AddMessageToConsole(content::WebContents* source, | 77 virtual bool AddMessageToConsole(content::WebContents* source, |
78 int32 level, | 78 int32 level, |
79 const base::string16& message, | 79 const base::string16& message, |
80 int32 line_no, | 80 int32 line_no, |
81 const base::string16& source_id) OVERRIDE; | 81 const base::string16& source_id) OVERRIDE; |
82 virtual void UpdateTargetURL(content::WebContents* source, | 82 virtual void UpdateTargetURL(content::WebContents* source, |
83 int32 page_id, | |
84 const GURL& url) OVERRIDE; | 83 const GURL& url) OVERRIDE; |
85 virtual void HandleKeyboardEvent( | 84 virtual void HandleKeyboardEvent( |
86 content::WebContents* source, | 85 content::WebContents* source, |
87 const content::NativeWebKeyboardEvent& event) OVERRIDE; | 86 const content::NativeWebKeyboardEvent& event) OVERRIDE; |
88 virtual bool TakeFocus(content::WebContents* source, bool reverse) OVERRIDE; | 87 virtual bool TakeFocus(content::WebContents* source, bool reverse) OVERRIDE; |
89 virtual void ShowRepostFormWarningDialog( | 88 virtual void ShowRepostFormWarningDialog( |
90 content::WebContents* source) OVERRIDE; | 89 content::WebContents* source) OVERRIDE; |
91 virtual void ToggleFullscreenModeForTab(content::WebContents* web_contents, | 90 virtual void ToggleFullscreenModeForTab(content::WebContents* web_contents, |
92 bool enter_fullscreen) OVERRIDE; | 91 bool enter_fullscreen) OVERRIDE; |
93 virtual bool IsFullscreenForTabOrPending( | 92 virtual bool IsFullscreenForTabOrPending( |
(...skipping 18 matching lines...) Expand all Loading... |
112 JavaObjectWeakGlobalRef weak_java_delegate_; | 111 JavaObjectWeakGlobalRef weak_java_delegate_; |
113 | 112 |
114 scoped_ptr<ValidationMessageBubbleAndroid> validation_message_bubble_; | 113 scoped_ptr<ValidationMessageBubbleAndroid> validation_message_bubble_; |
115 }; | 114 }; |
116 | 115 |
117 bool RegisterWebContentsDelegateAndroid(JNIEnv* env); | 116 bool RegisterWebContentsDelegateAndroid(JNIEnv* env); |
118 | 117 |
119 } // namespace web_contents_delegate_android | 118 } // namespace web_contents_delegate_android |
120 | 119 |
121 #endif // COMPONENTS_WEB_CONTENTS_DELEGATE_ANDROID_WEB_CONTENTS_DELEGATE_ANDROI
D_H_ | 120 #endif // COMPONENTS_WEB_CONTENTS_DELEGATE_ANDROID_WEB_CONTENTS_DELEGATE_ANDROI
D_H_ |
OLD | NEW |