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_BROWSER_H_ | 5 #ifndef CHROME_BROWSER_UI_BROWSER_H_ |
6 #define CHROME_BROWSER_UI_BROWSER_H_ | 6 #define CHROME_BROWSER_UI_BROWSER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
437 virtual bool PreHandleKeyboardEvent( | 437 virtual bool PreHandleKeyboardEvent( |
438 content::WebContents* source, | 438 content::WebContents* source, |
439 const content::NativeWebKeyboardEvent& event, | 439 const content::NativeWebKeyboardEvent& event, |
440 bool* is_keyboard_shortcut) OVERRIDE; | 440 bool* is_keyboard_shortcut) OVERRIDE; |
441 virtual void HandleKeyboardEvent( | 441 virtual void HandleKeyboardEvent( |
442 content::WebContents* source, | 442 content::WebContents* source, |
443 const content::NativeWebKeyboardEvent& event) OVERRIDE; | 443 const content::NativeWebKeyboardEvent& event) OVERRIDE; |
444 virtual void OverscrollUpdate(int delta_y) OVERRIDE; | 444 virtual void OverscrollUpdate(int delta_y) OVERRIDE; |
445 virtual void ShowValidationMessage(content::WebContents* web_contents, | 445 virtual void ShowValidationMessage(content::WebContents* web_contents, |
446 const gfx::Rect& anchor_in_root_view, | 446 const gfx::Rect& anchor_in_root_view, |
447 const string16& main_text, | 447 const base::string16& main_text, |
448 const string16& sub_text) OVERRIDE; | 448 const base::string16& sub_text) OVERRIDE; |
449 virtual void HideValidationMessage( | 449 virtual void HideValidationMessage( |
450 content::WebContents* web_contents) OVERRIDE; | 450 content::WebContents* web_contents) OVERRIDE; |
451 virtual void MoveValidationMessage( | 451 virtual void MoveValidationMessage( |
452 content::WebContents* web_contents, | 452 content::WebContents* web_contents, |
453 const gfx::Rect& anchor_in_root_view) OVERRIDE; | 453 const gfx::Rect& anchor_in_root_view) OVERRIDE; |
454 | 454 |
455 bool is_type_tabbed() const { return type_ == TYPE_TABBED; } | 455 bool is_type_tabbed() const { return type_ == TYPE_TABBED; } |
456 bool is_type_popup() const { return type_ == TYPE_POPUP; } | 456 bool is_type_popup() const { return type_ == TYPE_POPUP; } |
457 | 457 |
458 bool is_app() const; | 458 bool is_app() const; |
(...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
927 base::WeakPtrFactory<Browser> weak_factory_; | 927 base::WeakPtrFactory<Browser> weak_factory_; |
928 | 928 |
929 scoped_ptr<BrowserLanguageStateObserver> language_state_observer_; | 929 scoped_ptr<BrowserLanguageStateObserver> language_state_observer_; |
930 | 930 |
931 scoped_ptr<chrome::ValidationMessageBubble> validation_message_bubble_; | 931 scoped_ptr<chrome::ValidationMessageBubble> validation_message_bubble_; |
932 | 932 |
933 DISALLOW_COPY_AND_ASSIGN(Browser); | 933 DISALLOW_COPY_AND_ASSIGN(Browser); |
934 }; | 934 }; |
935 | 935 |
936 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 936 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
OLD | NEW |