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

Side by Side Diff: chrome/browser/ui/views/frame/browser_view.h

Issue 1355063004: Template methods on Timer classes instead of the classes themselves. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: timer: fixcaller Created 5 years, 3 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 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 669 matching lines...) Expand 10 before | Expand all | Expand 10 after
680 HungPluginAction hung_plugin_action_; 680 HungPluginAction hung_plugin_action_;
681 681
682 // Helper class to listen for completion of first page load. 682 // Helper class to listen for completion of first page load.
683 scoped_ptr<LoadCompleteListener> load_complete_listener_; 683 scoped_ptr<LoadCompleteListener> load_complete_listener_;
684 684
685 // The custom JumpList for Windows 7. 685 // The custom JumpList for Windows 7.
686 scoped_refptr<JumpList> jumplist_; 686 scoped_refptr<JumpList> jumplist_;
687 #endif 687 #endif
688 688
689 // The timer used to update frames for the Loading Animation. 689 // The timer used to update frames for the Loading Animation.
690 base::RepeatingTimer<BrowserView> loading_animation_timer_; 690 base::RepeatingTimer loading_animation_timer_;
691 691
692 views::UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_; 692 views::UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_;
693 693
694 // Used to measure the loading spinner animation rate. 694 // Used to measure the loading spinner animation rate.
695 base::TimeTicks last_animation_time_; 695 base::TimeTicks last_animation_time_;
696 696
697 // If this flag is set then SetFocusToLocationBar() will set focus to the 697 // If this flag is set then SetFocusToLocationBar() will set focus to the
698 // location bar even if the browser window is not active. 698 // location bar even if the browser window is not active.
699 bool force_location_bar_focus_; 699 bool force_location_bar_focus_;
700 700
701 scoped_ptr<ImmersiveModeController> immersive_mode_controller_; 701 scoped_ptr<ImmersiveModeController> immersive_mode_controller_;
702 702
703 scoped_ptr<WebContentsCloseHandler> web_contents_close_handler_; 703 scoped_ptr<WebContentsCloseHandler> web_contents_close_handler_;
704 704
705 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; 705 mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_;
706 706
707 DISALLOW_COPY_AND_ASSIGN(BrowserView); 707 DISALLOW_COPY_AND_ASSIGN(BrowserView);
708 }; 708 };
709 709
710 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ 710 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/download/download_item_view_md.cc ('k') | chrome/browser/ui/views/frame/web_contents_close_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698