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 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
387 const content::MediaResponseCallback& callback) override; | 387 const content::MediaResponseCallback& callback) override; |
388 bool CheckMediaAccessPermission(content::WebContents* web_contents, | 388 bool CheckMediaAccessPermission(content::WebContents* web_contents, |
389 const GURL& security_origin, | 389 const GURL& security_origin, |
390 content::MediaStreamType type) override; | 390 content::MediaStreamType type) override; |
391 content::WebContents* OpenURLFromTab( | 391 content::WebContents* OpenURLFromTab( |
392 content::WebContents* source, | 392 content::WebContents* source, |
393 const content::OpenURLParams& params) override; | 393 const content::OpenURLParams& params) override; |
394 void AddNewContents(content::WebContents* source, | 394 void AddNewContents(content::WebContents* source, |
395 content::WebContents* new_contents, | 395 content::WebContents* new_contents, |
396 WindowOpenDisposition disposition, | 396 WindowOpenDisposition disposition, |
397 const gfx::Rect& initial_pos, | 397 const gfx::Rect& initial_rect, |
398 bool user_gesture, | 398 bool user_gesture, |
399 bool* was_blocked) override; | 399 bool* was_blocked) override; |
400 bool PreHandleKeyboardEvent(content::WebContents* source, | 400 bool PreHandleKeyboardEvent(content::WebContents* source, |
401 const content::NativeWebKeyboardEvent& event, | 401 const content::NativeWebKeyboardEvent& event, |
402 bool* is_keyboard_shortcut) override; | 402 bool* is_keyboard_shortcut) override; |
403 void HandleKeyboardEvent( | 403 void HandleKeyboardEvent( |
404 content::WebContents* source, | 404 content::WebContents* source, |
405 const content::NativeWebKeyboardEvent& event) override; | 405 const content::NativeWebKeyboardEvent& event) override; |
406 void RequestToLockMouse(content::WebContents* web_contents, | 406 void RequestToLockMouse(content::WebContents* web_contents, |
407 bool user_gesture, | 407 bool user_gesture, |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
556 bool requested_alpha_enabled_; | 556 bool requested_alpha_enabled_; |
557 | 557 |
558 base::WeakPtrFactory<AppWindow> image_loader_ptr_factory_; | 558 base::WeakPtrFactory<AppWindow> image_loader_ptr_factory_; |
559 | 559 |
560 DISALLOW_COPY_AND_ASSIGN(AppWindow); | 560 DISALLOW_COPY_AND_ASSIGN(AppWindow); |
561 }; | 561 }; |
562 | 562 |
563 } // namespace extensions | 563 } // namespace extensions |
564 | 564 |
565 #endif // EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_H_ | 565 #endif // EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_H_ |
OLD | NEW |