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

Side by Side Diff: content/public/browser/web_contents.h

Issue 1649483002: Revert of Aura on Android: content/browser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@auraclank_upstream_select_file
Patch Set: Merging android_non_aura_browser_sources into android_browser_sources rather than private_browser_s… Created 4 years, 10 months 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
« no previous file with comments | « content/public/browser/native_web_keyboard_event.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_
6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ 6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <set> 10 #include <set>
(...skipping 674 matching lines...) Expand 10 before | Expand all | Expand 10 after
685 // as soon as they are ready. 685 // as soon as they are ready.
686 virtual void ResumeLoadingCreatedWebContents() = 0; 686 virtual void ResumeLoadingCreatedWebContents() = 0;
687 687
688 #if defined(OS_ANDROID) 688 #if defined(OS_ANDROID)
689 // Requests to resume the current media session. 689 // Requests to resume the current media session.
690 virtual void ResumeMediaSession() = 0; 690 virtual void ResumeMediaSession() = 0;
691 // Requests to suspend the current media session. 691 // Requests to suspend the current media session.
692 virtual void SuspendMediaSession() = 0; 692 virtual void SuspendMediaSession() = 0;
693 // Requests to stop the current media session. 693 // Requests to stop the current media session.
694 virtual void StopMediaSession() = 0; 694 virtual void StopMediaSession() = 0;
695 #if !defined(USE_AURA) 695
696 CONTENT_EXPORT static WebContents* FromJavaWebContents( 696 CONTENT_EXPORT static WebContents* FromJavaWebContents(
697 jobject jweb_contents_android); 697 jobject jweb_contents_android);
698 virtual base::android::ScopedJavaLocalRef<jobject> GetJavaWebContents() = 0; 698 virtual base::android::ScopedJavaLocalRef<jobject> GetJavaWebContents() = 0;
699 #endif // !USE_AURA
700 #elif defined(OS_MACOSX) 699 #elif defined(OS_MACOSX)
701 // Allowing other views disables optimizations which assume that only a single 700 // Allowing other views disables optimizations which assume that only a single
702 // WebContents is present. 701 // WebContents is present.
703 virtual void SetAllowOtherViews(bool allow) = 0; 702 virtual void SetAllowOtherViews(bool allow) = 0;
704 703
705 // Returns true if other views are allowed, false otherwise. 704 // Returns true if other views are allowed, false otherwise.
706 virtual bool GetAllowOtherViews() = 0; 705 virtual bool GetAllowOtherViews() = 0;
707 #endif // OS_ANDROID 706 #endif // OS_ANDROID
708 707
709 private: 708 private:
710 // This interface should only be implemented inside content. 709 // This interface should only be implemented inside content.
711 friend class WebContentsImpl; 710 friend class WebContentsImpl;
712 WebContents() {} 711 WebContents() {}
713 }; 712 };
714 713
715 } // namespace content 714 } // namespace content
716 715
717 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ 716 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_
OLDNEW
« no previous file with comments | « content/public/browser/native_web_keyboard_event.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698