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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 const base::string16& source_id) override; | 96 const base::string16& source_id) override; |
97 virtual void UpdateTargetURL(content::WebContents* source, | 97 virtual void UpdateTargetURL(content::WebContents* source, |
98 const GURL& url) override; | 98 const GURL& url) override; |
99 virtual void HandleKeyboardEvent( | 99 virtual void HandleKeyboardEvent( |
100 content::WebContents* source, | 100 content::WebContents* source, |
101 const content::NativeWebKeyboardEvent& event) override; | 101 const content::NativeWebKeyboardEvent& event) override; |
102 virtual bool TakeFocus(content::WebContents* source, bool reverse) override; | 102 virtual bool TakeFocus(content::WebContents* source, bool reverse) override; |
103 virtual void ShowRepostFormWarningDialog( | 103 virtual void ShowRepostFormWarningDialog( |
104 content::WebContents* source) override; | 104 content::WebContents* source) override; |
105 virtual void ToggleFullscreenModeForTab(content::WebContents* web_contents, | 105 virtual void ToggleFullscreenModeForTab(content::WebContents* web_contents, |
| 106 const GURL& origin, |
106 bool enter_fullscreen) override; | 107 bool enter_fullscreen) override; |
107 virtual bool IsFullscreenForTabOrPending( | 108 virtual bool IsFullscreenForTabOrPending( |
108 const content::WebContents* web_contents) const override; | 109 const content::WebContents* web_contents) const override; |
109 virtual void ShowValidationMessage(content::WebContents* web_contents, | 110 virtual void ShowValidationMessage(content::WebContents* web_contents, |
110 const gfx::Rect& anchor_in_root_view, | 111 const gfx::Rect& anchor_in_root_view, |
111 const base::string16& main_text, | 112 const base::string16& main_text, |
112 const base::string16& sub_text) override; | 113 const base::string16& sub_text) override; |
113 virtual void HideValidationMessage( | 114 virtual void HideValidationMessage( |
114 content::WebContents* web_contents) override; | 115 content::WebContents* web_contents) override; |
115 virtual void MoveValidationMessage( | 116 virtual void MoveValidationMessage( |
(...skipping 10 matching lines...) Expand all Loading... |
126 JavaObjectWeakGlobalRef weak_java_delegate_; | 127 JavaObjectWeakGlobalRef weak_java_delegate_; |
127 | 128 |
128 scoped_ptr<ValidationMessageBubbleAndroid> validation_message_bubble_; | 129 scoped_ptr<ValidationMessageBubbleAndroid> validation_message_bubble_; |
129 }; | 130 }; |
130 | 131 |
131 bool RegisterWebContentsDelegateAndroid(JNIEnv* env); | 132 bool RegisterWebContentsDelegateAndroid(JNIEnv* env); |
132 | 133 |
133 } // namespace web_contents_delegate_android | 134 } // namespace web_contents_delegate_android |
134 | 135 |
135 #endif // COMPONENTS_WEB_CONTENTS_DELEGATE_ANDROID_WEB_CONTENTS_DELEGATE_ANDROI
D_H_ | 136 #endif // COMPONENTS_WEB_CONTENTS_DELEGATE_ANDROID_WEB_CONTENTS_DELEGATE_ANDROI
D_H_ |
OLD | NEW |