OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_H_ | 5 #ifndef EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_H_ |
6 #define EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_H_ | 6 #define EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
375 const content::WebContents* source, | 375 const content::WebContents* source, |
376 content::InvalidateTypes changed_flags) OVERRIDE; | 376 content::InvalidateTypes changed_flags) OVERRIDE; |
377 virtual void ToggleFullscreenModeForTab(content::WebContents* source, | 377 virtual void ToggleFullscreenModeForTab(content::WebContents* source, |
378 bool enter_fullscreen) OVERRIDE; | 378 bool enter_fullscreen) OVERRIDE; |
379 virtual bool IsFullscreenForTabOrPending(const content::WebContents* source) | 379 virtual bool IsFullscreenForTabOrPending(const content::WebContents* source) |
380 const OVERRIDE; | 380 const OVERRIDE; |
381 virtual void RequestMediaAccessPermission( | 381 virtual void RequestMediaAccessPermission( |
382 content::WebContents* web_contents, | 382 content::WebContents* web_contents, |
383 const content::MediaStreamRequest& request, | 383 const content::MediaStreamRequest& request, |
384 const content::MediaResponseCallback& callback) OVERRIDE; | 384 const content::MediaResponseCallback& callback) OVERRIDE; |
| 385 virtual bool CheckMediaAccessPermission( |
| 386 content::WebContents* web_contents, |
| 387 const GURL& security_origin, |
| 388 content::MediaStreamType type) OVERRIDE; |
385 virtual content::WebContents* OpenURLFromTab( | 389 virtual content::WebContents* OpenURLFromTab( |
386 content::WebContents* source, | 390 content::WebContents* source, |
387 const content::OpenURLParams& params) OVERRIDE; | 391 const content::OpenURLParams& params) OVERRIDE; |
388 virtual void AddNewContents(content::WebContents* source, | 392 virtual void AddNewContents(content::WebContents* source, |
389 content::WebContents* new_contents, | 393 content::WebContents* new_contents, |
390 WindowOpenDisposition disposition, | 394 WindowOpenDisposition disposition, |
391 const gfx::Rect& initial_pos, | 395 const gfx::Rect& initial_pos, |
392 bool user_gesture, | 396 bool user_gesture, |
393 bool* was_blocked) OVERRIDE; | 397 bool* was_blocked) OVERRIDE; |
394 virtual bool PreHandleKeyboardEvent( | 398 virtual bool PreHandleKeyboardEvent( |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
549 | 553 |
550 // Whether |alpha_enabled| was set in the CreateParams. | 554 // Whether |alpha_enabled| was set in the CreateParams. |
551 bool requested_alpha_enabled_; | 555 bool requested_alpha_enabled_; |
552 | 556 |
553 DISALLOW_COPY_AND_ASSIGN(AppWindow); | 557 DISALLOW_COPY_AND_ASSIGN(AppWindow); |
554 }; | 558 }; |
555 | 559 |
556 } // namespace extensions | 560 } // namespace extensions |
557 | 561 |
558 #endif // EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_H_ | 562 #endif // EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_H_ |
OLD | NEW |