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

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

Issue 1159113006: [Android] A prototype of the interactive media notification. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed Min's nits Created 5 years, 5 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
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_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 bool IsSubframe() const override; 355 bool IsSubframe() const override;
356 void Find(int request_id, 356 void Find(int request_id,
357 const base::string16& search_text, 357 const base::string16& search_text,
358 const blink::WebFindOptions& options) override; 358 const blink::WebFindOptions& options) override;
359 void StopFinding(StopFindAction action) override; 359 void StopFinding(StopFindAction action) override;
360 void InsertCSS(const std::string& css) override; 360 void InsertCSS(const std::string& css) override;
361 bool WasRecentlyAudible() override; 361 bool WasRecentlyAudible() override;
362 void GetManifest(const GetManifestCallback&) override; 362 void GetManifest(const GetManifestCallback&) override;
363 void ExitFullscreen() override; 363 void ExitFullscreen() override;
364 void ResumeLoadingCreatedWebContents() override; 364 void ResumeLoadingCreatedWebContents() override;
365 void OnMediaSessionStateChanged() override;
366 void ResumeMediaSession() override;
367 void SuspendMediaSession() override;
365 #if defined(OS_ANDROID) 368 #if defined(OS_ANDROID)
366 base::android::ScopedJavaLocalRef<jobject> GetJavaWebContents() override; 369 base::android::ScopedJavaLocalRef<jobject> GetJavaWebContents() override;
367 virtual WebContentsAndroid* GetWebContentsAndroid(); 370 virtual WebContentsAndroid* GetWebContentsAndroid();
368 #elif defined(OS_MACOSX) 371 #elif defined(OS_MACOSX)
369 void SetAllowOtherViews(bool allow) override; 372 void SetAllowOtherViews(bool allow) override;
370 bool GetAllowOtherViews() override; 373 bool GetAllowOtherViews() override;
371 #endif 374 #endif
372 375
373 // Implementation of PageNavigator. 376 // Implementation of PageNavigator.
374 WebContents* OpenURL(const OpenURLParams& params) override; 377 WebContents* OpenURL(const OpenURLParams& params) override;
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
496 const MediaResponseCallback& callback) override; 499 const MediaResponseCallback& callback) override;
497 bool CheckMediaAccessPermission(const GURL& security_origin, 500 bool CheckMediaAccessPermission(const GURL& security_origin,
498 MediaStreamType type) override; 501 MediaStreamType type) override;
499 SessionStorageNamespace* GetSessionStorageNamespace( 502 SessionStorageNamespace* GetSessionStorageNamespace(
500 SiteInstance* instance) override; 503 SiteInstance* instance) override;
501 SessionStorageNamespaceMap GetSessionStorageNamespaceMap() override; 504 SessionStorageNamespaceMap GetSessionStorageNamespaceMap() override;
502 FrameTree* GetFrameTree() override; 505 FrameTree* GetFrameTree() override;
503 void SetIsVirtualKeyboardRequested(bool requested) override; 506 void SetIsVirtualKeyboardRequested(bool requested) override;
504 bool IsVirtualKeyboardRequested() override; 507 bool IsVirtualKeyboardRequested() override;
505 508
509
Ted C 2015/07/06 22:18:29 remove blank line?
whywhat 2015/07/07 15:44:58 Done.
506 // NavigatorDelegate --------------------------------------------------------- 510 // NavigatorDelegate ---------------------------------------------------------
507 511
508 void DidStartProvisionalLoad(RenderFrameHostImpl* render_frame_host, 512 void DidStartProvisionalLoad(RenderFrameHostImpl* render_frame_host,
509 const GURL& validated_url, 513 const GURL& validated_url,
510 bool is_error_page, 514 bool is_error_page,
511 bool is_iframe_srcdoc) override; 515 bool is_iframe_srcdoc) override;
512 void DidFailProvisionalLoadWithError( 516 void DidFailProvisionalLoadWithError(
513 RenderFrameHostImpl* render_frame_host, 517 RenderFrameHostImpl* render_frame_host,
514 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params) 518 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params)
515 override; 519 override;
(...skipping 770 matching lines...) Expand 10 before | Expand all | Expand 10 after
1286 // Adds/removes a callback called on creation of each new WebContents. 1290 // Adds/removes a callback called on creation of each new WebContents.
1287 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1291 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1288 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1292 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1289 1293
1290 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1294 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1291 }; 1295 };
1292 1296
1293 } // namespace content 1297 } // namespace content
1294 1298
1295 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1299 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698