Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 342 const GURL& url, | 342 const GURL& url, |
| 343 const content::SSLStatus& ssl) override; | 343 const content::SSLStatus& ssl) override; |
| 344 void ShowAppMenu() override; | 344 void ShowAppMenu() override; |
| 345 bool PreHandleKeyboardEvent(const content::NativeWebKeyboardEvent& event, | 345 bool PreHandleKeyboardEvent(const content::NativeWebKeyboardEvent& event, |
| 346 bool* is_keyboard_shortcut) override; | 346 bool* is_keyboard_shortcut) override; |
| 347 void HandleKeyboardEvent( | 347 void HandleKeyboardEvent( |
| 348 const content::NativeWebKeyboardEvent& event) override; | 348 const content::NativeWebKeyboardEvent& event) override; |
| 349 void Cut() override; | 349 void Cut() override; |
| 350 void Copy() override; | 350 void Copy() override; |
| 351 void Paste() override; | 351 void Paste() override; |
| 352 | |
| 353 #if defined(OS_MACOSX) | |
| 354 void EnterFullscreenWithChrome() override; | |
|
tapted
2014/11/04 02:33:43
I don't think this is the right long-term approach
Andre
2014/11/05 02:04:23
Looks tricky, I think we will need to do it in a s
| |
| 355 void EnterFullscreenWithoutChrome() override; | |
| 356 bool IsFullscreenWithChrome() override; | |
| 357 bool IsFullscreenWithoutChrome() override; | |
| 358 #endif | |
| 359 | |
| 352 WindowOpenDisposition GetDispositionForPopupBounds( | 360 WindowOpenDisposition GetDispositionForPopupBounds( |
| 353 const gfx::Rect& bounds) override; | 361 const gfx::Rect& bounds) override; |
| 354 FindBar* CreateFindBar() override; | 362 FindBar* CreateFindBar() override; |
| 355 web_modal::WebContentsModalDialogHost* GetWebContentsModalDialogHost() | 363 web_modal::WebContentsModalDialogHost* GetWebContentsModalDialogHost() |
| 356 override; | 364 override; |
| 357 void ShowAvatarBubble(content::WebContents* web_contents, | 365 void ShowAvatarBubble(content::WebContents* web_contents, |
| 358 const gfx::Rect& rect) override; | 366 const gfx::Rect& rect) override; |
| 359 void ShowAvatarBubbleFromAvatarButton( | 367 void ShowAvatarBubbleFromAvatarButton( |
| 360 AvatarBubbleMode mode, | 368 AvatarBubbleMode mode, |
| 361 const signin::ManageAccountsParams& manage_accounts_params) override; | 369 const signin::ManageAccountsParams& manage_accounts_params) override; |
| (...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 700 scoped_ptr<ImmersiveModeController> immersive_mode_controller_; | 708 scoped_ptr<ImmersiveModeController> immersive_mode_controller_; |
| 701 | 709 |
| 702 scoped_ptr<WebContentsCloseHandler> web_contents_close_handler_; | 710 scoped_ptr<WebContentsCloseHandler> web_contents_close_handler_; |
| 703 | 711 |
| 704 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; | 712 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; |
| 705 | 713 |
| 706 DISALLOW_COPY_AND_ASSIGN(BrowserView); | 714 DISALLOW_COPY_AND_ASSIGN(BrowserView); |
| 707 }; | 715 }; |
| 708 | 716 |
| 709 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ | 717 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ |
| OLD | NEW |