Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(431)

Side by Side Diff: components/web_contents_delegate_android/web_contents_delegate_android.h

Issue 789533002: Fullscreen: make fullscreen requests come from RenderFrame (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698