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

Side by Side Diff: chrome/browser/ui/browser.h

Issue 7036019: Enabling page visibility api in the chrome browser. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 813 matching lines...) Expand 10 before | Expand all | Expand 10 after
824 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, 824 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event,
825 bool* is_keyboard_shortcut); 825 bool* is_keyboard_shortcut);
826 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); 826 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event);
827 virtual void ShowRepostFormWarningDialog(TabContents* tab_contents); 827 virtual void ShowRepostFormWarningDialog(TabContents* tab_contents);
828 virtual void ShowCollectedCookiesDialog(TabContents* tab_contents); 828 virtual void ShowCollectedCookiesDialog(TabContents* tab_contents);
829 virtual bool ShouldAddNavigationToHistory( 829 virtual bool ShouldAddNavigationToHistory(
830 const history::HistoryAddPageArgs& add_page_args, 830 const history::HistoryAddPageArgs& add_page_args,
831 NavigationType::Type navigation_type); 831 NavigationType::Type navigation_type);
832 virtual void ContentRestrictionsChanged(TabContents* source); 832 virtual void ContentRestrictionsChanged(TabContents* source);
833 virtual void WorkerCrashed(); 833 virtual void WorkerCrashed();
834 virtual bool IsHidden(const TabContents* source) const OVERRIDE;
834 835
835 // Overridden from TabContentsWrapperDelegate: 836 // Overridden from TabContentsWrapperDelegate:
836 virtual void OnDidGetApplicationInfo(TabContentsWrapper* source, 837 virtual void OnDidGetApplicationInfo(TabContentsWrapper* source,
837 int32 page_id) OVERRIDE; 838 int32 page_id) OVERRIDE;
838 virtual void OnInstallApplication( 839 virtual void OnInstallApplication(
839 TabContentsWrapper* source, 840 TabContentsWrapper* source,
840 const WebApplicationInfo& app_info) OVERRIDE; 841 const WebApplicationInfo& app_info) OVERRIDE;
841 842
842 // Note that the caller is responsible for deleting |old_tab_contents|. 843 // Note that the caller is responsible for deleting |old_tab_contents|.
843 virtual void SwapTabContents(TabContentsWrapper* old_tab_contents, 844 virtual void SwapTabContents(TabContentsWrapper* old_tab_contents,
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after
1215 // Helper which implements the TabRestoreServiceDelegate interface. 1216 // Helper which implements the TabRestoreServiceDelegate interface.
1216 scoped_ptr<BrowserTabRestoreServiceDelegate> tab_restore_service_delegate_; 1217 scoped_ptr<BrowserTabRestoreServiceDelegate> tab_restore_service_delegate_;
1217 1218
1218 scoped_ptr<InstantController> instant_; 1219 scoped_ptr<InstantController> instant_;
1219 scoped_ptr<InstantUnloadHandler> instant_unload_handler_; 1220 scoped_ptr<InstantUnloadHandler> instant_unload_handler_;
1220 1221
1221 DISALLOW_COPY_AND_ASSIGN(Browser); 1222 DISALLOW_COPY_AND_ASSIGN(Browser);
1222 }; 1223 };
1223 1224
1224 #endif // CHROME_BROWSER_UI_BROWSER_H_ 1225 #endif // CHROME_BROWSER_UI_BROWSER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698